Skip to content

[release/9.2] AddAzureContainerAppEnvironment should use the environment name as a prefix#8607

Merged
eerhardt merged 5 commits intorelease/9.2from
backport/pr-8606-to-release/9.2
Apr 8, 2025
Merged

[release/9.2] AddAzureContainerAppEnvironment should use the environment name as a prefix#8607
eerhardt merged 5 commits intorelease/9.2from
backport/pr-8606-to-release/9.2

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 8, 2025

Backport of #8606 to release/9.2

/cc @eerhardt

Customer Impact

High, if you migrate from azd owned infrastructure to app host owned infrastructure, the naming convention changes and duplicate resources are deployed. To avoid that mismatch, we provide a method WithAzdResourceNaming that changes the naming convention to match what azd did to avoid deploying dupes.

Testing

Automated and manual.

Risk

Low

Regression?

Ish

eerhardt added 4 commits April 8, 2025 04:35
…prefix

We should be prefixing the resources created via AddAzureContainerAppEnvironment with the environment name. This will allow for multiple environments to be in a single distributed application in the future.

With this change, it means deploying to existing environments will duplicate resources. To solve that, add a new method WithAzdResourceNaming, which will revert the resource names back to the previous naming scheme.
@github-actions github-actions bot force-pushed the backport/pr-8606-to-release/9.2 branch from 36ab296 to 3e609db Compare April 8, 2025 04:35
@danmoseley danmoseley added the Servicing-approved Approved for servicing release label Apr 8, 2025
@danmoseley danmoseley enabled auto-merge (squash) April 8, 2025 14:00
@eerhardt eerhardt disabled auto-merge April 8, 2025 14:27
@eerhardt eerhardt merged commit 83ce993 into release/9.2 Apr 8, 2025
174 checks passed
@eerhardt eerhardt deleted the backport/pr-8606-to-release/9.2 branch April 8, 2025 14:54
@eerhardt eerhardt mentioned this pull request Apr 8, 2025
5 tasks
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants