Skip to content

Releases: gettek/terraform-azurerm-policy-as-code

2.3.0

07 Dec 09:10
Compare
Choose a tag to compare
  • Added Policy Exceptions module
  • Added optional variable for custom Policy assignment_name
  • Bug-fix definition display name property
  • Enhanced all module readme's by adding multiple examples
  • Initial GitHub workflows
  • Removed Custom CIS Benchmark Module example in favor of built-in example

2.2.0

26 Nov 12:24
1ec7fe2
Compare
Choose a tag to compare
  • Added Azure Policy Custom Guest Configuration (CGC), includes:
    • PowerShell script to build and publish Guest Config Policies & Packages
    • terraform examples that demonstrate CGC Workflow
  • Simplified and fixed set_assignment logic
  • Definition display name and description is now optional and can be populated from the .json file itself
  • Fixed the v2 library upgrade script which incorrectly named rules{} -> policyRule{}
    • updated all polices to reflect the same ^
  • Role Assignments are now optional with skip_role_assignment flag

2.1.0

22 Nov 19:24
a954185
Compare
Choose a tag to compare

Removes metadata from assignment modules

An issue exists where policy assignment metadata conflicts with provider-generated metadata resulting in an inconsistent final plan on plan/apply stages. These attributes have been removed and a provider bug will be raised.

Azure has since introduced the system_data attribute to both policy definitions and assignments which includes these meta fields: createdBy, createdOn, updatedBy, updatedOn and is therefore no longer needed.

2.0.0

22 Nov 10:26
bce9fd5
Compare
Choose a tag to compare
  • No longer restriced to TF <= 13.6
  • Simplified policy library (added update helper script)
  • Migrate to new provider resources:
    • azurerm_management_group_policy_assignment
    • azurerm_subscription_policy_assignment
    • azurerm_resource_group_policy_assignment
    • azurerm_resource_policy_assignment
  • Simplified remediation role assignments by embedding into policy assignment modules
  • Readme updates

1.2.0

06 May 10:33
f5f6d02
Compare
Choose a tag to compare

1.2.0

  • Restrict to TF <= 13.6 - see issue 11327
  • BugFix: Inconsistent final plan when using default varialbe value null instead of ""
  • Readme updates
  • Policy library additions & updates:
    • Compute
    • Monitoring
    • Security Center

1.1.0

31 Jan 15:23
9a7311d
Compare
Choose a tag to compare
  • identity_id Output simplified for DINE & Modify Assignment Managed Identities
  • Bug Fix: Initiative module now generates unique reference_id for the policy_definition_reference block in order to prevent targetting requirements for plan/apply cycle issues
  • Added Azure Security Center policies to Library
  • Added Compute (VM Diagnostics Agent LAD/WAD) policies to Library
  • Examples updated with Azure Security Center policies in use

1.0.0

01 Jan 15:26
Compare
Choose a tag to compare
Set theme jekyll-theme-midnight