Skip to content
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

2.5.0 #16

Merged
merged 24 commits into from
May 9, 2022
Merged

2.5.0 #16

merged 24 commits into from
May 9, 2022

Conversation

gettek
Copy link
Owner

@gettek gettek commented May 8, 2022

Description

Fixes #13 #15

  • def_assignment & set_assignment modules now use the split remediation resources (AzureRM >=3.0.0):
    • azurerm_management_group_policy_remediation
    • azurerm_subscription_policy_remediation
    • azurerm_resource_group_policy_remediation
    • azurerm_resource_policy_remediation
  • exemption module replaces arm template deployment in favor of new provider resources (AzureRM >=3.2.0):
    • azurerm_management_group_policy_exemption
    • azurerm_subscription_policy_exemption
    • azurerm_resource_group_policy_exemption
    • azurerm_resource_policy_exemption
  • Added support for optional Non-Compliance Message at assignment
  • Changed back variable for clarity management_group => management_group_id
  • Minor updated to GitHhub Workflows and Documentation

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

AzureRM Provider >= 3.0.0 Upgrade Notes:

Error: no schema available for module.{assignment_name}.azurerm_policy_remediation.rem[0] while reading state; this is a bug in Terraform and should be reported

Use def_assignment and set_assignment module <=2.4.0 to safely remove all existing remediation resources before upgrading to this version. To do this simply specify skip_remediation=true.

CI Workflows

Test Configuration:

  • Module Version: 2.5.0
  • Terraform Version: v1.1.9
  • AzureRM Provider Version: 3.4.0

@gettek gettek added documentation Improvements or additions to documentation enhancement New feature or request labels May 8, 2022
@github-actions
Copy link

github-actions bot commented May 9, 2022

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Pusher: @gettek, Action: pull_request, Working Directory: examples, Workflow: ci

@gettek gettek linked an issue May 9, 2022 that may be closed by this pull request
@gettek gettek merged commit 09b29cf into main May 9, 2022
@gettek gettek deleted the 2.5.0 branch May 9, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New azure_rm hashicorp latest version issue Split resources for azurerm_policy_remediation
1 participant