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
Weird behaviour (remove all+add all) when changing resources in digitalocean_project #585
Labels
Comments
Thanks for raising this issue. It looks it currently does remove all resource and then adds them back: terraform-provider-digitalocean/digitalocean/resource_digitalocean_project.go Lines 208 to 209 in 2c4bf56
We can definitely improve the experience here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Not sure if this is related to provider itself or DigitalOcean web page, but here what's the problem.
While adding or removing
resources
todigitalocean_project
, webpage GUI tells that everything was removed and everything was added again even I removed only 1 item from resources. This feels very wrong and I always feel I just destroyed too much.Terraform Version
Affected Resource(s)
digitalocean_project
digitalocean_project_resources
(possibly, not tested)Expected Behavior
Web page should just show notification about removing exactly 1 item. Not removing everything and adding back again.
Actual Behavior
Shows information about removing everything!
Steps to Reproduce
Terraform Configuration Files
Just create simpliest
digitalocean_project
like:Apply Terraform. Check webpage (you'll see 3 Droplets in this Project).
After checking, remove one Droplet resource (for ex
digitalocean_droplet.swarmtest_03.urn
). Apply and check again. If you slow enough, everything will look fine, but if you were watching DigitalOcean webpage in real-time you'll see that all resources were actually deleted from this project (and moved to main project) and then restored back again (without the one you removed).Also there is a lot of notifications about this:
The text was updated successfully, but these errors were encountered: