Skip to content

Update Policies For V1.2.0 Release From Upstream #264

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

Closed
jtracey93 opened this issue Jan 28, 2022 · 1 comment · Fixed by #281
Closed

Update Policies For V1.2.0 Release From Upstream #264

jtracey93 opened this issue Jan 28, 2022 · 1 comment · Fixed by #281

Comments

@jtracey93
Copy link
Collaborator

This issue will track the updates to the policy definitions that have changed recently upstream:

@jtracey93 jtracey93 added this to the v1.2.0 release milestone Jan 28, 2022
@ghost ghost added the Needs: Triage 🔍 Needs triaging by the team label Jan 28, 2022
@jtracey93 jtracey93 added enhancement New feature or request and removed Needs: Triage 🔍 Needs triaging by the team enhancement New feature or request labels Jan 28, 2022
@krowlandson krowlandson linked a pull request Feb 22, 2022 that will close this issue
@krowlandson
Copy link
Contributor

Unfortunately, the updates applied upstream result in the following error when performing an upgrade from the latest release to

╷
│ Error: updating Policy Set Definition "Deploy-ASCDF-Config": policy.SetDefinitionsClient#CreateOrUpdateAtManagementGroup: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidPolicySetParameterUpdate" Message="The existing policy has '15' parameter(s) which is greater than the count of parameter(s) '14' in the policy being added. Policy parameters cannot be removed during policy update."
│
│   with module.test_root_id_1.azurerm_policy_set_definition.enterprise_scale["/providers/Microsoft.Management/managementGroups/root-1/providers/Microsoft.Authorization/policySetDefinitions/Deploy-ASCDF-Config"],
│   on ..\..\resources.policy_set_definitions.tf line 1, in resource "azurerm_policy_set_definition" "enterprise_scale":
│    1: resource "azurerm_policy_set_definition" "enterprise_scale" {
│
╵

Need to consider best approach to minimise customer impact.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants