-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dynamic App Setting + App Config Support #7
Dynamic App Setting + App Config Support #7
Conversation
… consistent ie cosmos_db vs cosmos_dbs
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.
really nice work, just had the one comment/question
|
||
output app_config { | ||
value = module.app_config | ||
sensitive = true |
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.
@erikschlegel given the CAF team's guidance on this flag do we still want to move forward with it? They have taken it out of the core modules but use it in the landing zone itself
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.
Makes me really nervous getting rid of the sensitive flag given the cosmos connection string would be exposed in clear text within the state file. Removing this flag seemed like a band aid fix due to upgrading to the latest version of Terraform.
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.
agreed, just wanted to verify
This feature request comprises of the following changes:
app_config
responsible for provisioning an Application Configuration resourceapp_config
modulecosmos_dbs
vscosmos_db
. The naming discrepency was causing an issue when a terraform mutation was dependent on an exported attribute from the cosmos resource (ie writing the cosmos connection string as a KV secret)dynamic_app_settings
feature for theapp_services
andfunction_app
modules. This new parameter allows a CAF developer to provision app settings sourced from Terraform exported attributes (ie keyvault URI, app config endpoint)machine_learning
resource so we can create provision role assignments for the AML MSI identity.dynamic_secrets
module