Skip to content

azurerm_*_policy_assignment - override.kind can now be configured#30524

Merged
jackofallops merged 5 commits intomainfrom
e/policy_assignments_overrides_kind_configurable
Sep 3, 2025
Merged

azurerm_*_policy_assignment - override.kind can now be configured#30524
jackofallops merged 5 commits intomainfrom
e/policy_assignments_overrides_kind_configurable

Conversation

@jackofallops
Copy link
Member

Since preview, the kind value for policy assignments has been updated to accept an additional value, so this property have now been made configurable, where previously it was Computed only. To maintain backwards compatibility, this property now defaults to the previously hard-coded value of policyDefinitionReferenceId.

Change Log

Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.

  • azurerm_management_group_policy_assignment - override.kind can now be configured
  • azurerm_resource_group_policy_assignment - override.kind can now be configured
  • azurerm_resource_policy_assignment - override.kind can now be configured
  • azurerm_subscription_policy_assignment - override.kind can now be configured

This is a (please select all that apply):

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

Related Issue(s)

Fixes #0000

Rollback Plan

If a change needs to be reverted, we will publish an updated version of the provider.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Note

If this PR changes meaningfully during the course of review please update the title and description as required.

Copy link
Member

@catriona-m catriona-m left a comment

Choose a reason for hiding this comment

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

Thanks @jackofallops LGTM!

@jackofallops jackofallops merged commit 2d1c298 into main Sep 3, 2025
49 checks passed
@jackofallops jackofallops deleted the e/policy_assignments_overrides_kind_configurable branch September 3, 2025 12:15
@github-actions github-actions bot added this to the v4.43.0 milestone Sep 3, 2025
jackofallops added a commit that referenced this pull request Sep 3, 2025
Added support for configuring `override.kind` in multiple policy assignments.
mbfrahry pushed a commit that referenced this pull request Sep 4, 2025
Added support for configuring `override.kind` in multiple policy assignments.
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants