From 1a13e2442873f0b297158bbe00a5d611e429ac8f Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 15 Dec 2023 16:25:28 +0100 Subject: [PATCH] terraform-provider: use a tab for each CSP --- docs/docs/workflows/terraform-provider.md | 30 +++++++++++++++++------ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/docs/docs/workflows/terraform-provider.md b/docs/docs/workflows/terraform-provider.md index de55db0e6..9019c436b 100644 --- a/docs/docs/workflows/terraform-provider.md +++ b/docs/docs/workflows/terraform-provider.md @@ -21,16 +21,12 @@ This example shows how to set up a Constellation cluster with the reference IAM ``` 2. Use one of the [example configurations for using the Constellation Terraform provider](https://github.com/edgelesssys/constellation/tree/main/terraform-provider-constellation/examples/full) or create a `main.tf` file and fill it with the resources you want to create. The [Constellation Terraform provider documentation](https://registry.terraform.io/providers/edgelesssys/constellation/latest) offers thorough documentation on the resources and their attributes. -3. When creating a cluster on AWS or GCP, Initialize the providers and apply the configuration. - - ```bash - terraform init - terraform apply - ``` - +3. Initialize and apply the Terraform configuration. + + When creating a cluster on Azure, you will need to manually patch the policy of the MAA provider before creating the Constellation cluster, as this feature is not yet available in Azure's Terraform provider. The Constellation CLI provides a utility for patching, but it can also be done manually. - + ```bash terraform init terraform apply -target module.azure_iam # adjust resource path if not using the example configuration @@ -58,6 +54,24 @@ 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 + ``` + + + Initialize the providers and apply the configuration. + + ```bash + terraform init + terraform apply + ``` + + ## Bringing your own infrastructure