Loading...
Loading...
### Terraform Version ```shell v1.13.0 ``` ### Terraform Configuration Files Too complex to post. ### Debug Output ``` │ Error: Cycle: module.private-cloud.aws_cloudwatch_metric_alarm.rworker-cpu-utilization-high (expand), module.private-cloud.aws_launch_template.rwebapi (destroy deposed 02829a0e), module.private-cloud.aws_autoscaling_policy.rworker-up (expand), module.private-cloud.aws_autoscaling_policy.rworker-up, module.private-cloud.aws_cloudwatch_metric_alarm.rworker-cpu-utilization-low (expand), module.private-cloud.aws_autoscaling_group.rworker (expand), module.private-cloud.aws_autoscaling_group.rworker, module.private-cloud.aws_autoscaling_policy.rworker-down (expand), module.private-cloud.aws_autoscaling_policy.rworker-down, module.private-cloud.aws_cloudwatch_metric_alarm.rworker-cpu-utilization-low, module.private-cloud.aws_launch_template.rworker (destroy deposed 1705555a), module.private-cloud.aws_cloudwatch_metric_alarm.rwebapi-cpu-utilization-low (expand), module.private-cloud.aws_cloudwatch_metric_alarm.rwebapi-cpu-utilization-low, module.private-cloud.aws_cloudwatch_metric_alarm.rwebapi-cpu-utilization-high (expand), module.private-cloud.aws_cloudwatch_metric_alarm.rwebapi-cpu-utilization-high, module.private-cloud.aws_autoscaling_policy.rwebapi-down (expand), module.private-cloud.aws_autoscaling_policy.rwebapi-down, module.private-cloud.aws_autoscaling_group.rwebapi, module.private-cloud.aws_launch_template.rwebapi, module.private-cloud.aws_autoscaling_group.rwebapi (expand), module.private-cloud.aws_autoscaling_policy.rwebapi-up (expand), module.private-cloud.aws_autoscaling_policy.rwebapi-up, module.private-cloud.aws_autoscaling_group.rwebapi (destroy deposed ef176498), module.private-cloud.aws_subnet.rprivate_main[1] (destroy), module.private-cloud.aws_launch_template.rworker, module.private-cloud.aws_autoscaling_group.rworker (destroy deposed e8a33e8b), module.private-cloud.aws_subnet.rprivate_main[0] (destroy), module.private-cloud.aws_cloudwatch_metric_alarm.rworker-cpu-utilization-high ``` ### Expected Behavior I did some resource renaming. I believe there is no any cycle I did. But got the error above. I do not expect it. ### Actual Behavior When error happened I ran `apply` then `plan/apply` again. No error anymore without any changes to configuration files. It seems TF did false cycle detection. ### Steps to Reproduce Unknown. ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.