-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
azurerm_*_policy_remediation - should use policy_definition_reference_id in favor of policy_definition_id Fix #18037
Conversation
hi, @gettek thanks for your work and it looks good to me. Just a small tip here, could you please split the updating of the |
Great job. Cant wait for this PR to be merged. |
acabf59
to
9a464ee
Compare
9a464ee
to
c86321e
Compare
@wuxu92 got time to review this again? :) It's a blocker for me. |
we have to wait for Hashicorp's review, @katbyte could you please have a look at this, thanks. |
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.
@gettek - can we please keep the old property and deprecate it letting users know to move to the new one. if you search for features.FourPointOhBeta you can see a number of examples on how to do this.
this way no ones configs are broken and it'll automatically be removed when we release 4.0
thanks!
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.
Have also removed policy_definition_id
from tests, which should be policy_definition_reference_id
. This property is only for initiative assignments but these tests only run definition assignments
This comment was marked as off-topic.
This comment was marked as off-topic.
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.
Thanks @gettek - LGTM now! 🌩️
This functionality has been released in v3.23.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Initiative Remediation tasks should use
policy_definition_reference_id
in favor ofpolicy_definition_id
Fix #17096
Fix #16454
Fix #17277
Fix gettek/terraform-azurerm-policy-as-code#28