-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Creating ELB with certificate fails #3275
Comments
Seems like its a dependency issue between the certificate creation/deletion and elb creation/deletion. I have a similar issue where I have to run "destroy" twice in order to remove a certificate attached to an elb. |
seems putting into certificate resource fixes it. still issue exist when destroying it |
Would be good if Terraform allowed you to specify handlers/provisioner actions when you perform a "destroy" |
I think this issue is closely tied to #3412 .. I currently get round this issue by either applying/destroying my plan twice, or specifically targeting my certificate resource in the first run, and running the whole thing afterward e.g:-
I have tried using |
This should be fixed in #3898 |
We are experiencing the same issue with terraform 0.6.9. |
There is a race condition in Terraform when it creates an ELB with a newly created certificate: ``` * aws_elb.concourse: [WARN] Error creating ELB Listener with SSL Cert, retrying: CertificateNotFound: Server Certificate not found for the key: arn:aws:iam::xxxx:server-certificate/xxxx status code: 400, request id: xxxx ``` Here we add a sleep to give time to the IAM certificate to propagate. This has already been raised: hashicorp/terraform#3275
There is a race condition in Terraform when it creates an ELB with a newly created certificate: ``` * aws_elb.concourse: [WARN] Error creating ELB Listener with SSL Cert, retrying: CertificateNotFound: Server Certificate not found for the key: arn:aws:iam::xxxx:server-certificate/xxxx status code: 400, request id: xxxx ``` Here we add a sleep to give time to the IAM certificate to propagate. This has already been raised: hashicorp/terraform#3275
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. |
I'm looking to create an AWS ELB with HTTPS listener. I've tried to manually specify the dependency. It fails when you run it once, and then succeeds the second time after the certificate is there.
Here is the failure:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: