terminate doesn't tolerate dependency #10945
Labels
service/iam
Issues and PRs that pertain to the iam service.
waiting-response
Maintainers are waiting on response from community or contributor.
hello,
Terraform Version
terminate process doesn't tolerate dependency as far as I understand it's correctly.
Affected Resource(s)
Debug Output
according to graph "aws_iam_role_policy_attachment" depends on aws_iam_policy
Expected Behavior
Attachment policy would be deleted and then process of deletion policy will start.
Actual Behavior
Destroying process runs in parallel:
[0m�[1mmodule.s3.aws_iam_role_policy_attachment.replication[0]: Destroying...
�[0m�[1mmodule.s3.aws_iam_policy.s3_replication_policy[0]: Destroying...
therefore I got an error that "deleteConflict: Cannot delete a policy attached to entities."
The text was updated successfully, but these errors were encountered: