What is the correct and easy way of changing ASC Default PARAMETERS
in Azure policy using TF?
As an example Set Monitor SQL Encryption
to AuditIfNotExists
or any other available value than Disabled
.
What is the correct and easy way of changing ASC Default PARAMETERS
in Azure policy using TF?
As an example Set Monitor SQL Encryption
to AuditIfNotExists
or any other available value than Disabled
.
'ASC Default' is initiative, or so called azurerm_policy_set_definition in TF terms. You just need to assign it using 'azurerm_policy_assignment'.
These links might help:
Example for different initiative:
What you need is to place proper policy_definition_id and pass valid parameters. And start small, with one simple param, there are bugs in TF.