-
Notifications
You must be signed in to change notification settings - Fork 276
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
Load Balancer not added to Project #1092
Comments
|
Pinging @andrewsomething here, since you also looked at the API-related #1093 - this is blocking us, since every apply causes dependent resources to be updated or re-created unneccessarily. |
Hi @MauriceArikoglu, Apologies for the delayed response. I've not been able to reproduce the issue myself. I'm able to successfully place load balancers into projects using Terraform with no unexpected issues. With a little more information, hopefully we can better understand where your issue is occurring. If run the apply with debug logging enabled ( If you list the resources in the project via the API (
The fact that the load balancer seems to be associated with the project but is not displayed in the project overview on your dashboard suggests to me that there is an issue that can not be resolved via Terraform itself. If you see the load balancer included in the POST request but not either of the response bodies, that would collaborate this. If this is the case, the engineering team responsible for projects would need to do further investigation specific to the resources in your account. The best way forward would be to open a support ticket. Thanks! |
Load balancers are not added to projects successfully.
When I apply my terraform configuration, which includes creating several resources and then creating a project and adding all resources to the project, the load balancer is not added.
I can confirm this by showing the state for the project, which does not include the load balancer. Subsequent applies cause the project to be updated all the time, without the load balancer ever making it into the resources list of the project.
If I look at the resource overview in my digitalocean dashboard I cannot see the load balancer. In contrast, if I look at the load balancer status page, I can see it is associated with the project. So it seems this could be an issue with digitalocean itself.
yields
where
module.L2.this.load_balancer.urn
is missing from the state.Btw: Like I said, subsequent applies try to re-add the load balancer all the time and show the correct urn. The subsequent applies always succeed as in "no error from terraform", but the load balancer is not added actually.
The text was updated successfully, but these errors were encountered: