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

Crash after taining/planning/applying ecs_service #3868

Closed
davedash opened this issue Nov 11, 2015 · 4 comments · Fixed by #3914
Closed

Crash after taining/planning/applying ecs_service #3868

davedash opened this issue Nov 11, 2015 · 4 comments · Fixed by #3914

Comments

@davedash
Copy link
Contributor

Version 0.6.6

10214  terraform taint -module=stage.REDACTED-poller aws_ecs_service.REDACTED-poller-service
10215  terraform plan -out=tf.out -target=module.stage.module.REDACTED-poller
10216  terraform apply tf.out

crash.log.txt

@radeksimko
Copy link
Member

Thanks for the report, this is similar to a few bugs that we fixed in the past few days.

Here's the interesting part of the crash log:

2015/11/11 15:12:04 [DEBUG] terraform-provider-aws: panic: runtime error: index out of range
2015/11/11 15:12:04 [DEBUG] terraform-provider-aws:
2015/11/11 15:12:04 [DEBUG] terraform-provider-aws: goroutine 496 [running]:
2015/11/11 15:12:04 [DEBUG] terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resourceAwsEcsServiceDelete(0x20afac840, 0x7c65c0, 0x20b67b440, 0x0, 0x0)
2015/11/11 15:12:04 [DEBUG] terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_ecs_service.go:236 +0x1209

The ECS service was apparently already gone when terraform was trying to delete it. I will send a patch.

@radeksimko
Copy link
Member

See #3914

@davedash
Copy link
Contributor Author

Nice! Thanks

omeid pushed a commit to omeid/terraform that referenced this issue Mar 30, 2018
Retry acm certificate delete when in use exception.
omeid pushed a commit to omeid/terraform that referenced this issue Mar 30, 2018
@ghost
Copy link

ghost commented Apr 30, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants