You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try and delete an aws_iam_server_certificate resource that's being used by the aws_elb resource, I get the below error. This happens both when I do terraform destroy's and when I modify theaws_elb oraws_iam_server_certificate and it needs to replace the resource.
Deleting the HTTPS listener that's using the SSL certificate seems to get be past the error, but obviously not a great solution.
Terraform v0.6.6
Setting up remote state...
Downloading remote modules...
Refreshing Terraform state prior to plan...
aws_iam_server_certificate.nodejs: Destroying...
Error applying plan:
1 error(s) occurred:
* aws_iam_server_certificate.nodejs: [WARN] Error deleting server certificate: DeleteConflict: Certificate: ASCAINAR4OAMIOW77O5MO is currently in use by arn:aws:elasticloadbalancing:us-east-1:241656615859:loadbalancer/prod-demo-nodejs. Please remove it first before deleting it from IAM.
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
and
Terraform v0.6.6
Setting up remote state...
Downloading remote modules...
Refreshing Terraform state prior to plan...
aws_iam_server_certificate.nodejs: Destroying...
Error applying plan:
1 error(s) occurred:
* aws_iam_server_certificate.nodejs: [WARN] Error deleting server certificate: DeleteConflict: Certificate: ASCAIHXITBLGNUC4T4H4C is currently in use by arn:aws:elasticloadbalancing:us-east-1:241656615859:loadbalancer/staging-demo-nodejs. Please remove it first before deleting it from IAM.
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
The text was updated successfully, but these errors were encountered:
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
locked and limited conversation to collaborators
Apr 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I try and delete an
aws_iam_server_certificate
resource that's being used by theaws_elb
resource, I get the below error. This happens both when I doterraform destroy
's and when I modify theaws_elb
oraws_iam_server_certificate
and it needs to replace the resource.See .tf gist here.
Deleting the HTTPS listener that's using the SSL certificate seems to get be past the error, but obviously not a great solution.
and
The text was updated successfully, but these errors were encountered: