You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report]: cdn/profile/endpoint - dependsOn missing for endpoint_origins on endpoint #4459
While deploying a cdn profile with endpoint, both the origin and endpoint are deployed at the same time and cause the endpoint_origins to failed with a not found error on the endpoint. I fixed the issus on my local repository with dependsOn: [ endpoint ] on endpoint_origin in the module cdn/profile/endpoint/main.bicep
Hey Carlo Di-Bernardo (@dibcar) thank you for opening this issue (as sorry for the late response). As the module was not migrated to AVM yet, I'll go ahead an implement it on the CARML-side. Thank you :)
Alright, the PR is up and linked to this issue. I solved it slightly differently as I noticed the implementation was not consistent with our other modules in that it should have referenced the endpoint name like endpointName: endpoint.name not only being less dependend on the template input, but also introducing an implicit dependency.
Activity
AlexanderSehr commentedon Feb 1, 2024
Hey Carlo Di-Bernardo (@dibcar) thank you for opening this issue (as sorry for the late response). As the module was not migrated to AVM yet, I'll go ahead an implement it on the CARML-side. Thank you :)
AlexanderSehr commentedon Feb 1, 2024
Alright, the PR is up and linked to this issue. I solved it slightly differently as I noticed the implementation was not consistent with our other modules in that it should have referenced the endpoint name like
endpointName: endpoint.namenot only being less dependend on the template input, but also introducing an implicit dependency.