diff --git a/Taskfile.yml b/Taskfile.yml index 989ad79e..44414c70 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -23,6 +23,10 @@ vars: env: FABRIC_PREVIEW: true + TFE_PARALLELISM: 3 + TF_CLI_ARGS_plan: "-parallelism=3" + TF_CLI_ARGS_apply: "-parallelism=3" + TF_CLI_ARGS_destroy: "-parallelism=3" tasks: # ---------------------- diff --git a/docs/guides/troubleshooting.md b/docs/guides/troubleshooting.md index 316fd1a1..610152a3 100644 --- a/docs/guides/troubleshooting.md +++ b/docs/guides/troubleshooting.md @@ -55,4 +55,5 @@ For more information about Terraform logging, see [Debugging Terraform](https:// You can observe some Terraform operations take time to complete with the messages like `Still creating...`, `Still reading...`, etc. or end up with a timeout error. This can happen due to various reasons such as network latency or [Fabric API throttling](https://learn.microsoft.com/rest/api/fabric/articles/throttling). -Try to increase the global timeout for the operations by setting the [`timeout`](../index.md#timeout) attribute in the Provider block, or you can set the timeout for the specific Resource or Data-Source using the `timeouts` attribute. +- Try to increase the global timeout for the operations by setting the [`timeout`](../index.md#timeout) attribute in the Provider block, or you can set the timeout for the specific Resource or Data-Source using the `timeouts` attribute. +- Change [Terraform parallelism](https://developer.hashicorp.com/terraform/internals/graph#walking-the-graph) to lower number than default (10x). diff --git a/docs/index.md b/docs/index.md index 8e5d9d50..48ce33d9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -104,7 +104,7 @@ You can find more information on how to do this in the following guides: - `use_msi` (Boolean) Allow Managed Service Identity (MSI) to be used for authentication. - `use_oidc` (Boolean) Allow OpenID Connect to be used for authentication. -## Know limitations +## Known limitations - **Capacity**: [Microsoft Fabric trial capacity](https://learn.microsoft.com/fabric/get-started/fabric-trial) is not supported. Only self-provisioned [Fabric Capacity](https://learn.microsoft.com/fabric/enterprise/plan-capacity) on Azure is supported. You can setup your capacity in the [Azure Portal](https://portal.azure.com/#browse/Microsoft.Fabric%2Fcapacities). - **Service Principal**: Not all Fabric resources support Service Principals yet. For Provider evaluation, we recommend using the [Azure CLI for authentication with User context](guides/auth_app_reg_user.md). diff --git a/templates/guides/troubleshooting.md.tmpl b/templates/guides/troubleshooting.md similarity index 88% rename from templates/guides/troubleshooting.md.tmpl rename to templates/guides/troubleshooting.md index 316fd1a1..610152a3 100644 --- a/templates/guides/troubleshooting.md.tmpl +++ b/templates/guides/troubleshooting.md @@ -55,4 +55,5 @@ For more information about Terraform logging, see [Debugging Terraform](https:// You can observe some Terraform operations take time to complete with the messages like `Still creating...`, `Still reading...`, etc. or end up with a timeout error. This can happen due to various reasons such as network latency or [Fabric API throttling](https://learn.microsoft.com/rest/api/fabric/articles/throttling). -Try to increase the global timeout for the operations by setting the [`timeout`](../index.md#timeout) attribute in the Provider block, or you can set the timeout for the specific Resource or Data-Source using the `timeouts` attribute. +- Try to increase the global timeout for the operations by setting the [`timeout`](../index.md#timeout) attribute in the Provider block, or you can set the timeout for the specific Resource or Data-Source using the `timeouts` attribute. +- Change [Terraform parallelism](https://developer.hashicorp.com/terraform/internals/graph#walking-the-graph) to lower number than default (10x). diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 25ccd7b5..27a41972 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -50,7 +50,7 @@ You can find more information on how to do this in the following guides: {{ .SchemaMarkdown | trimspace }} -## Know limitations +## Known limitations - **Capacity**: [Microsoft Fabric trial capacity](https://learn.microsoft.com/fabric/get-started/fabric-trial) is not supported. Only self-provisioned [Fabric Capacity](https://learn.microsoft.com/fabric/enterprise/plan-capacity) on Azure is supported. You can setup your capacity in the [Azure Portal](https://portal.azure.com/#browse/Microsoft.Fabric%2Fcapacities). - **Service Principal**: Not all Fabric resources support Service Principals yet. For Provider evaluation, we recommend using the [Azure CLI for authentication with User context](guides/auth_app_reg_user.md).