Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource/aws_cloudwatch_event_target: Intermittent acceptance test failures with active tasks #18601

Closed
gdavison opened this issue Apr 6, 2021 · 3 comments
Labels
tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@gdavison
Copy link
Contributor

gdavison commented Apr 6, 2021

Various acceptance tests for aws_cloudwatch_event_target fail intermittently with the error

Error: Error deleting ECS cluster: ClusterContainsTasksException: The Cluster cannot be deleted while Tasks are active.

Affected Resource

  • aws_cloudwatch_event_target
@ghost ghost added service/cloudwatchevents service/cloudwatch Issues and PRs that pertain to the cloudwatch service. labels Apr 6, 2021
@gdavison gdavison added bug Addresses a defect in current functionality. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed service/cloudwatch Issues and PRs that pertain to the cloudwatch service. labels Apr 6, 2021
@ewbankkit
Copy link
Contributor

I just hit this while retesting #18491. I think it's because there is no explicit dependency between the cluster and the task and Terraform attempts to delete the cluster before or in parallel with deleting the task.

@ewbankkit ewbankkit removed the bug Addresses a defect in current functionality. label May 5, 2021
@ewbankkit
Copy link
Contributor

This is a duplicate of #15652 and #15668.

@github-actions
Copy link

github-actions bot commented Jun 5, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

2 participants