Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move remaining ACA infrastructure generation to Aspire.Hosting.Azure.AppContainers #7970

Merged
merged 28 commits into from
Mar 18, 2025

Conversation

davidfowl
Copy link
Member

@davidfowl davidfowl commented Mar 10, 2025

Description

This change introduces a new AzureContainerAppsEnviromentResource that represents an Azure Container App environment. The goal is to move all of the generated infrastructure to the app host and out of azd. This allows users to model and tweak most things to do with deployment in C#, instead of dropping to bicep via infra synth.

Fixes #7076

It relies on Azure/azure-dev#4884

azd config set alpha.apphost.infra.migration on

This switch is point in time and we will write logic in azd to detect when resource generation is not neeed.

Still lots of work to do, but this will lay the foundation for decoupling where aspire can deploy to in azure. This is 90% there still need to add tests.

@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 10, 2025
@davidfowl davidfowl changed the title Davidfowl/resources bicep Move remaining ACA infrastructure generation to Aspire.Hosting.Azure.AppContainers Mar 10, 2025
@davidfowl davidfowl force-pushed the davidfowl/resources-bicep branch from 064e9a8 to 0d9cf80 Compare March 15, 2025 18:36
@davidfowl davidfowl force-pushed the davidfowl/resources-bicep branch from 8d1cde9 to 3e23059 Compare March 16, 2025 23:38
@davidfowl davidfowl marked this pull request as ready for review March 18, 2025 05:04
@davidfowl
Copy link
Member Author

This is ready for review again @eerhardt @mitchdenny

Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in.

@davidfowl davidfowl enabled auto-merge (squash) March 18, 2025 16:47
@davidfowl davidfowl merged commit 62d3fe0 into main Mar 18, 2025
164 checks passed
@davidfowl davidfowl deleted the davidfowl/resources-bicep branch March 18, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move remaining ACA infrastructure generation to Aspire.Hosting.Azure.AppContainers
5 participants