Comments (3)
Thanks for the report. There seem to be a few things to untangle here:
-
image
- Could someone experiencing this provide any more information? I've been unable to reproduce this myself. -
resize_disk
- This is a non-API attribute, so we should set this to the default value locally. I've addressed this in #95 -
ssh_keys
- The path forward here is a bit less clear, and I'd love to hear how others would expect this to behave. The DigitalOcean API does not return the SSH keys initially added to the Droplet at create time as part of the Droplet resource nor can SSH keys be added to or removed from an existing Droplet via the DigitalOcean API. My initial feeling is that this should be documented as a known limitation. For an imported Droplet, we can not know if SSH keys have been added or removed manually. If the SSH keys must be managed via Terraform, a new resource will need to be created. If not, then thessh_keys
attribute should be excluded in thetf
config file. Any other opinions?
from terraform-provider-digitalocean.
I had a similar issue with image
and solved it by setting image = ""
.
I agree with your conclusion about ssh_keys
. Documentation seems like the best solution.
from terraform-provider-digitalocean.
turns out Digital Ocean doesn't return those in a API call so this isn't a provider issue
from terraform-provider-digitalocean.
Related Issues (20)
- digitalocean_cdn custom domain certificate fails "invalid certificate issued by Cloudflare origin CA" HOT 1
- Add Postgres database attributes HOT 2
- digitalocean_spaces_bucket_cors_configuration: Does not allow to order CORS rules
- `digitalocean_project` created on failure, absent from TF state HOT 2
- App Platform image credentials set as required HOT 3
- Dedicated egress IP addresses support for App platform
- digitalocean_spaces_bucket NoSuchBucket while creating bucket HOT 3
- digitalocean_kubernetes_cluster. to support database operator HOT 2
- Consider adding GPG key to OpenTofu registry for the digitalocean provider HOT 2
- Support for database fork
- digitalocean_firewall blocks all ports
- digitalocean_ssh_key race condition (roduced an unexpected new value: Root object was present, but now absent) HOT 1
- digitalocean_database_cluster password is always empty HOT 5
- functions: feature: add resource, and data source for functions and namespaces
- Add OpenSearch Documentation HOT 1
- digitalocean_app panic HOT 1
- digitalocean_app: support private docker repositories HOT 2
- digitalocean_app: Service Autoscaling
- Error creating droplet: JSON unmarshal issue with large number into Go struct field type int HOT 2
- Imported database replica attempting to resize to current configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-digitalocean.