-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
IAM ELB dependency on IAM certificate does not exist when modules are used #48
Comments
This comment was originally opened by @jen20 as hashicorp/terraform#3891 (comment). It was migrated here as part of the provider split. The original comment is below. Hi @stevendborrelli! Can you post the relevant snippet of the configuration that generated this graph? If the certificate is referenced via a module variable the dependency should be generated correctly, and if not that's a bug. |
This comment was originally opened by @stevendborrelli as hashicorp/terraform#3891 (comment). It was migrated here as part of the provider split. The original comment is below. Cert is created like this:
It is referenced in the ecs task definition like:
The elb resource is:
|
This comment was originally opened by @catsby as hashicorp/terraform#3891 (comment). It was migrated here as part of the provider split. The original comment is below. hashicorp/terraform#3898 is a patch that will retry ELB creation if it fails due to an SSL Cert not being found. That may help here, though I don't know about the actually dependency and ordering with respect to the graph |
This comment was originally opened by @catsby as hashicorp/terraform#3891 (comment). It was migrated here as part of the provider split. The original comment is below. #3898 has been merged, but this may be a core thing. Re-labling for @phinze or @jen20 to take a dive |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This issue was originally opened by @stevendborrelli as hashicorp/terraform#3891. It was migrated here as part of the provider split. The original body of the issue is below.
When an ELB resource is using a IAM certificate created in another module, the dependency is not created. This means that terraform apply will often fail due to ordering issues.
Below is a picture of the graph:
The text was updated successfully, but these errors were encountered: