Terraform CLI
Terraform detected a dependency cycle
Terraform found a circular dependency in the resource graph, so it could not determine a valid order to create or update the resources involved.
Terraform CLI
Terraform found a circular dependency in the resource graph, so it could not determine a valid order to create or update the resources involved.
Observed message
Error: Cycle:
Why it happens
How to fix it
Official reference
Troubleshoot TerraformRelated errors
Explore more