-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Error registering targets with target group: InvalidTarget: The following targets are not in a running state and cannot be registered #7561
Comments
Hi @edeas123 sorry to hear you are running into issues applying this plan. Have you tried reaching out to the community forums for assistance? We use GitHub issues for tracking bugs and enhancements rather than for questions. While we may be able to help with certain simple problems here it’s generally better to use one of the community forums where there are far more people ready to help, whereas the GitHub issues here are generally monitored only by the small set of code maintainers of each repository. |
@nywilken are you saying this does not qualify as a bug? |
@edeas123 just to confirm your configuration, do you have |
@bflad yes to both questions |
Hi @edeas123 my apologies for prematurely closing the issue. In reading the provided information I thought the issue was more of a question around timing issues with the use of spot instances since the expected behavior was "It should not have given errors applying the plan". My apologies for making that assumption. I'll update the labeling on this and reopen. |
Opened a PR: #8483 |
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 @edeas123 as hashicorp/terraform#20345. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Expected Behavior
It should not have given errors applying the plan
Actual Behavior
Additional Context
The problem seem to be that the alb_target_group_attachment is created before the spot instances are running (although they have been created), and it does not support interpolation which is needed in my case to use the depends_on.
References
The text was updated successfully, but these errors were encountered: