Skip to content

Commit

Permalink
update 2.19 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead committed Oct 25, 2024
1 parent 0651847 commit 81f4d34
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions docs/versioned_docs/version-2.19/workflows/terraform-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ This example shows how to set up a Constellation cluster with the reference IAM
Optionally, you can prefix the `terraform apply` command with `TF_LOG=INFO` to collect [Terraform logs](https://developer.hashicorp.com/terraform/internals/debugging) while applying the configuration. This may provide helpful output in debugging scenarios.
</TabItem>
<TabItem value="azure" label="Azure">
When creating a cluster on Azure, you need to manually patch the policy of the MAA provider before creating the Constellation cluster, as this feature isn't available in Azure's Terraform provider yet. The Constellation CLI provides a utility for patching, but you
can also do it manually.

:::info
On SEV-SNP, you need to manually patch the policy of the MAA provider before creating the Constellation cluster, as this feature isn't available in Azure's Terraform provider yet. The Constellation CLI provides a utility for patching, but you can also do it manually.

```bash
terraform init
Expand All @@ -45,9 +46,7 @@ This example shows how to set up a Constellation cluster with the reference IAM
terraform apply -target constellation_cluster.azure_example # adjust resource path if not using the example configuration
```

Optionally, you can prefix the `terraform apply` command with `TF_LOG=INFO` to collect [Terraform logs](https://developer.hashicorp.com/terraform/internals/debugging) while applying the configuration. This may provide helpful output in debugging scenarios.

Use the following policy if manually performing the patch.
Use the following policy if manually performing the patch.

```
version= 1.0;
Expand All @@ -67,7 +66,19 @@ This example shows how to set up a Constellation cluster with the reference IAM
};
```

:::

Initialize the providers and apply the configuration.

```bash
terraform init
terraform apply
```

Optionally, you can prefix the `terraform apply` command with `TF_LOG=INFO` to collect [Terraform logs](https://developer.hashicorp.com/terraform/internals/debugging) while applying the configuration. This may provide helpful output in debugging scenarios.

</TabItem>

<TabItem value="gcp" label="GCP">
Initialize the providers and apply the configuration.

Expand Down

0 comments on commit 81f4d34

Please sign in to comment.