Skip to content

Commit

Permalink
feat: prep for alz provider 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Oct 29, 2024
1 parent 4a42e3c commit db4d534
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
## Features

- Deploy management groups according to the supplied architecture (defaut is ALZ)
- Deploy policy assets (definitions, assignments, and initiatives) according to the supplied architecture ands associated archetyes
- Deploy management groups according to the supplied architecture (default is ALZ)
- Deploy policy assets (definitions, assignments, and initiatives) according to the supplied architecture ands associated archetypes
- Modify policy assignments:
- Enforcement mode
- Identity
Expand All @@ -23,6 +23,11 @@
- Create the required role assignments for Azure Policy, including support for the **assign permissions** metadata tag, just like the Azure Portal
- Deploy custom role definitions

## AzAPI Provider

We use the AzAPI provider to interact with the Azure APIs.
The new features allow us to be more efficient and reliable, with orders of magnitude speed improvements and retry logic for transient errors.

## Unknown Values

This module uses the ALZ Terraform provider. This uses a data source which **must** be read prior to creating the plan.
Expand All @@ -34,7 +39,7 @@ Instead, use string interpolation or provider functions to pass the values. For

### Recommended

This is the recommended way to use this module:
Either: Use known values as inputs, or use Terraform Stacks.

> [!NOTE]
> We assume that all variable inputs are literals.
Expand Down Expand Up @@ -72,8 +77,8 @@ module "example" {

### Deferred Actions

We are awaiting the results of the upstream Terraform language experiment *deferred actions*. This may provide a solution to this issue.
See the release notes [here](https://github.com/hashicorp/terraform/releases/tag/v1.10.0-alpha20240619) for more information.
We are awaiting the results of the upstream Terraform language experiment *deferred actions*. This will provide a solution to this issue.
See the release notes [here](https://github.com/hashicorp/terraform/releases/tag/v1.10.0-alpha20241023) for more information.

<!-- markdownlint-disable MD033 -->
## Requirements
Expand All @@ -82,7 +87,7 @@ The following requirements are needed by this module:

- <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) (~> 1.8)

- <a name="requirement_alz"></a> [alz](#requirement\_alz) (>= 0.15.3, < 1.0.0)
- <a name="requirement_alz"></a> [alz](#requirement\_alz) (~> 0.16)

- <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) (~> 2.0, >= 2.0.1)

Expand Down
15 changes: 10 additions & 5 deletions _header.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
## Features

- Deploy management groups according to the supplied architecture (defaut is ALZ)
- Deploy policy assets (definitions, assignments, and initiatives) according to the supplied architecture ands associated archetyes
- Deploy management groups according to the supplied architecture (default is ALZ)
- Deploy policy assets (definitions, assignments, and initiatives) according to the supplied architecture ands associated archetypes
- Modify policy assignments:
- Enforcement mode
- Identity
Expand All @@ -22,6 +22,11 @@
- Create the required role assignments for Azure Policy, including support for the **assign permissions** metadata tag, just like the Azure Portal
- Deploy custom role definitions

## AzAPI Provider

We use the AzAPI provider to interact with the Azure APIs.
The new features allow us to be more efficient and reliable, with orders of magnitude speed improvements and retry logic for transient errors.

## Unknown Values

This module uses the ALZ Terraform provider. This uses a data source which **must** be read prior to creating the plan.
Expand All @@ -33,7 +38,7 @@ Instead, use string interpolation or provider functions to pass the values. For

### Recommended

This is the recommended way to use this module:
Either: Use known values as inputs, or use Terraform Stacks.

> [!NOTE]
> We assume that all variable inputs are literals.
Expand Down Expand Up @@ -71,5 +76,5 @@ module "example" {

### Deferred Actions

We are awaiting the results of the upstream Terraform language experiment *deferred actions*. This may provide a solution to this issue.
See the release notes [here](https://github.com/hashicorp/terraform/releases/tag/v1.10.0-alpha20240619) for more information.
We are awaiting the results of the upstream Terraform language experiment *deferred actions*. This will provide a solution to this issue.
See the release notes [here](https://github.com/hashicorp/terraform/releases/tag/v1.10.0-alpha20241023) for more information.
4 changes: 2 additions & 2 deletions examples/management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data "azapi_client_config" "current" {}
module "management" {
source = "Azure/avm-ptn-alz-management/azurerm"
version = "0.3.0"
version = "0.4.0"
automation_account_name = "aa-terraform-${var.random_suffix}"
location = "swedencentral"
Expand Down Expand Up @@ -114,6 +114,6 @@ Version:

Source: Azure/avm-ptn-alz-management/azurerm

Version: 0.3.0
Version: 0.4.0

<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
alz = {
source = "azure/alz"
version = ">= 0.15.3, < 1.0.0"
version = "~> 0.16"
}
azapi = {
source = "azure/azapi"
Expand Down

0 comments on commit db4d534

Please sign in to comment.