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)
- sql_require_primary_key is not working
- Second ssh key cannot be added to a droplet via terraform HOT 7
- Unexpected changes for digitalocean_app
- Unable to set port for health_check HOT 1
- Add possibility to add CNAME or multiple entries to domain so that we can instantly reference a Space Bucket HOT 4
- "blr1" region missing from SpacesRegion
- Error adding new digitalocean_record ("id is invalid because cannot be less than 1") HOT 2
- `digitalocean_cdn` resource with custom domain stopped working HOT 4
- failed to upload state: operation error S3: PutObject HOT 2
- Allow assigning kubernetes cluster to project
- Load Balancer not added to Project HOT 3
- Incorrect Timestamp for Database cluster's maintenance policy
- Include droplet gateway metadata in digitalocean_droplet resource and data returned attributes HOT 2
- Incompatible slugs for digitalocean_uptime_alert
- Does not use environment when creating spaces bucket HOT 1
- Disabling ipv6 on a droplet does not actually disable it HOT 3
- Change Redis timeout settings not working if setting to zero HOT 1
- digitalocean_app missing GHCR HOT 1
- When enabling IPv6 there are extra steps required HOT 1
- Assign a digitalocean_app to a digitalocean_project HOT 2
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.