-
Notifications
You must be signed in to change notification settings - Fork 198
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
Deployment Stacks: Expose configurable settings for actionOnUnmanage
and denySettings
#4331
Conversation
2128026
to
7d3550d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's gather more information around using azure.yaml before merging this.
I think a little more conversation would be beneficial for similar future changes.
Based on team's conversation, we don't care enough about what settings we add to azure.yaml v/s config.json; specially for Alpha features.
c31e94a
to
0385a2b
Compare
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We'll experiment with the config changes as they're presented and iterate as we get feedback.
Add new optional
deploymentStacks
section for the infra provider to pass settings for deployment stacks.Since
azd
supports pluggable infrastructure providers thedeploymentStacks
property within theinfra
section of theazure.yaml
is lazily validated during provision command.Example Usage:
The following is an example showing custom configuration options for deployment stacks.
Default Configuration
The following is the internal defaults for deployment stack options when not overridden within the
azure.yaml
file.bypassStackOutOfSyncError : false
actionOnUnmanage:
delete
for all typesdenySettings:
nil
(No deny settings by default)Overrides
Users can override
bypassStackOutOfSyncError
by setting OS env varDEPLOYMENT_STACKS_BYPASS_STACK_OUT_OF_SYNC_ERROR
to a truthy value.Resources
See official deployment stacks docs for full list of available configuration options.
More Docs