Cycle error during validation introduced in terraform version 1.8.1 #35147
Labels
bug
new
new issue not yet triaged
waiting for reproduction
unable to reproduce issue without further information
waiting-response
An issue/pull request is waiting for a response from the community
Terraform Version
Terraform Configuration Files
This calls a source module which has dependencies.
Debug Output
This is a large repo and debug/trace generates 20000 lines. Having reviewed these, nothing stands out.
Expected Behavior
I expected the terraform validation to be successful and for terraform plan to run.
Actual Behavior
Error during terraform validation:
Error: Cycle: module.app.azurerm_application_insights_api_key.read_telemetry, module.app.azurerm_role_assignment.rbac_permissions_on_app_configuration, module.app.azurerm_application_insights.appinsights, module.app.data.azurerm_monitor_diagnostic_categories.this, module.app.azurerm_monitor_diagnostic_setting.web_app_diagnostics, module.app (close), module.app.output.windows_web_app (expand), data.azurerm_application_insights.parent_app_insights, module.app.var.app_insights_exist (expand), module.app.azurerm_windows_web_app.windows_web_app, module.app.azurerm_private_endpoint.appservice_pep
Older versions of terraform do not have this issue. The latest version of terraform which doesn't have this issue and the validation works is v1.8.0.
Steps to Reproduce
na
Additional Context
Release notes for 1.8.1 https://github.com/hashicorp/terraform/releases/tag/v1.8.1
References
No response
The text was updated successfully, but these errors were encountered: