url
stringlengths
82
85
repository_url
stringclasses
1 value
labels_url
stringlengths
96
99
comments_url
stringlengths
91
94
events_url
stringlengths
89
92
html_url
stringlengths
70
75
id
int64
235M
2.26B
node_id
stringlengths
18
32
number
int64
1
1.15k
title
stringlengths
3
148
user
dict
labels
listlengths
0
4
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
1
milestone
null
comments
listlengths
0
25
created_at
timestamp[s]
updated_at
timestamp[s]
closed_at
timestamp[s]
author_association
stringclasses
3 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
33.9k
reactions
dict
timeline_url
stringlengths
91
94
performed_via_github_app
null
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
is_pull_request
bool
2 classes
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/24
240,645,793
MDExOlB1bGxSZXF1ZXN0MTI4OTU5Mjc2
24
cleanup: Adding the test sweepers to DO
{ "login": "stack72", "id": 227823, "node_id": "MDQ6VXNlcjIyNzgyMw==", "avatar_url": "https://avatars.githubusercontent.com/u/227823?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stack72", "html_url": "https://github.com/stack72", "followers_url": "https://api.github.com/users/stack72/followers", "following_url": "https://api.github.com/users/stack72/following{/other_user}", "gists_url": "https://api.github.com/users/stack72/gists{/gist_id}", "starred_url": "https://api.github.com/users/stack72/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stack72/subscriptions", "organizations_url": "https://api.github.com/users/stack72/orgs", "repos_url": "https://api.github.com/users/stack72/repos", "events_url": "https://api.github.com/users/stack72/events{/privacy}", "received_events_url": "https://api.github.com/users/stack72/received_events", "type": "User", "site_admin": false }
[ { "id": 620326613, "node_id": "MDU6TGFiZWw2MjAzMjY2MTM=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/enhancement-provider", "name": "enhancement-provider", "color": "d4c5f9", "default": false, "description": "" } ]
closed
false
null
[]
null
[]
2017-07-05T13:11:31
2017-07-05T14:41:59
2017-07-05T14:14:28
CONTRIBUTOR
null
``` % go test ./digitalocean -v -sweep=do-region 2017/07/05 16:07:22 [DEBUG] Running Sweepers for region (do-region): 2017/07/05 16:07:22 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com/ 2017/07/05 16:07:23 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com/ 2017/07/05 16:07:24 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com/ 2017/07/05 16:07:25 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com/ 2017/07/05 16:07:27 Sweeper Tests ran: - digitalocean_loadbalancer - digitalocean_volume - digitalocean_droplet - digitalocean_floating_ip ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 5.338s ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/24/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/24", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/24", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/24.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/24.patch", "merged_at": "2017-07-05T14:14:28" }
true
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/23
240,487,561
MDExOlB1bGxSZXF1ZXN0MTI4ODUwNzE2
23
fixing the link to the repo addresses
{ "login": "djsly", "id": 4981802, "node_id": "MDQ6VXNlcjQ5ODE4MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4981802?v=4", "gravatar_id": "", "url": "https://api.github.com/users/djsly", "html_url": "https://github.com/djsly", "followers_url": "https://api.github.com/users/djsly/followers", "following_url": "https://api.github.com/users/djsly/following{/other_user}", "gists_url": "https://api.github.com/users/djsly/gists{/gist_id}", "starred_url": "https://api.github.com/users/djsly/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/djsly/subscriptions", "organizations_url": "https://api.github.com/users/djsly/orgs", "repos_url": "https://api.github.com/users/djsly/repos", "events_url": "https://api.github.com/users/djsly/events{/privacy}", "received_events_url": "https://api.github.com/users/djsly/received_events", "type": "User", "site_admin": false }
[ { "id": 620327014, "node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation", "name": "documentation", "color": "fef2c0", "default": true, "description": null } ]
closed
false
null
[]
null
[ "LGTM! thanks for this :)" ]
2017-07-04T19:36:25
2017-07-04T19:49:46
2017-07-04T19:41:33
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/23/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/23", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/23", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/23.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/23.patch", "merged_at": "2017-07-04T19:41:33" }
true
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/22
240,487,468
MDExOlB1bGxSZXF1ZXN0MTI4ODUwNjU2
22
detaching the disks before deleting a droplet
{ "login": "djsly", "id": 4981802, "node_id": "MDQ6VXNlcjQ5ODE4MDI=", "avatar_url": "https://avatars.githubusercontent.com/u/4981802?v=4", "gravatar_id": "", "url": "https://api.github.com/users/djsly", "html_url": "https://github.com/djsly", "followers_url": "https://api.github.com/users/djsly/followers", "following_url": "https://api.github.com/users/djsly/following{/other_user}", "gists_url": "https://api.github.com/users/djsly/gists{/gist_id}", "starred_url": "https://api.github.com/users/djsly/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/djsly/subscriptions", "organizations_url": "https://api.github.com/users/djsly/orgs", "repos_url": "https://api.github.com/users/djsly/repos", "events_url": "https://api.github.com/users/djsly/events{/privacy}", "received_events_url": "https://api.github.com/users/djsly/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
[ "Before this PR\r\n````\r\nmake testacc TEST=./digitalocean TESTARGS='-run=TestAccDigitalOceanVolume*'\r\n==> Checking that code complies with gofmt requirements...\r\nTF_ACC=1 go test ./digitalocean -v -run=TestAccDigitalOceanVolume* -timeout 120m\r\n=== RUN TestAccDigitalOceanVolume_importBasic\r\n--- PASS: Tes...
2017-07-04T19:35:32
2017-07-05T14:50:13
2017-07-05T12:44:30
CONTRIBUTOR
null
fixes: https://github.com/terraform-providers/terraform-provider-digitalocean/issues/19 1) made waitForDropletAttribute private 2) renamed resize_disk to resizeDisk 3) Added a new private helper function: detachVolumeIDOnDroplet
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/22/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/22", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/22", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/22.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/22.patch", "merged_at": "2017-07-05T12:44:30" }
true
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/21
240,307,160
MDExOlB1bGxSZXF1ZXN0MTI4NzIyNTU0
21
Add Snapshot datasource.
{ "login": "andrewsomething", "id": 46943, "node_id": "MDQ6VXNlcjQ2OTQz", "avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrewsomething", "html_url": "https://github.com/andrewsomething", "followers_url": "https://api.github.com/users/andrewsomething/followers", "following_url": "https://api.github.com/users/andrewsomething/following{/other_user}", "gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}", "starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions", "organizations_url": "https://api.github.com/users/andrewsomething/orgs", "repos_url": "https://api.github.com/users/andrewsomething/repos", "events_url": "https://api.github.com/users/andrewsomething/events{/privacy}", "received_events_url": "https://api.github.com/users/andrewsomething/received_events", "type": "User", "site_admin": false }
[ { "id": 620326613, "node_id": "MDU6TGFiZWw2MjAzMjY2MTM=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/enhancement-provider", "name": "enhancement-provider", "color": "d4c5f9", "default": false, "description": "" }, { "id": 640744189, ...
closed
false
null
[]
null
[ "@andrewsomething Maybe I'm missing something but what's the difference between this and the digitalocean_image data source?", "@lfarnell It's a slightly confusing piece of the DO API.\r\n\r\nThe `/v2/images` endpoint refers to virtual machine images. These can be OS base image, 1-click app images, user generated...
2017-07-04T04:12:58
2018-09-07T19:29:10
2018-09-07T19:29:10
MEMBER
null
Finally got back around to this... This adds a datasource for DigitalOcean snapshots similar to the aws_ami datasource. It allows for referencing user created snapshots when creating a new Droplet or volume. ``` $ make testacc TEST=./digitalocean TESTARGS='-run=TestAccDigitalOceanSnapshotDataSource*' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./digitalocean -v -run=TestAccDigitalOceanSnapshotDataSource* -timeout 120m === RUN TestAccDigitalOceanSnapshotDataSource_droplet --- PASS: TestAccDigitalOceanSnapshotDataSource_droplet (240.15s) === RUN TestAccDigitalOceanSnapshotDataSource_volume --- PASS: TestAccDigitalOceanSnapshotDataSource_volume (30.32s) PASS ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 270.48 ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/21/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/21", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/21", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/21.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/21.patch", "merged_at": null }
true
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/20
239,441,183
MDExOlB1bGxSZXF1ZXN0MTI4MTIzNDg0
20
docs: add undocumented attribute to volume, update firewall docs
{ "login": "nicolai86", "id": 111324, "node_id": "MDQ6VXNlcjExMTMyNA==", "avatar_url": "https://avatars.githubusercontent.com/u/111324?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nicolai86", "html_url": "https://github.com/nicolai86", "followers_url": "https://api.github.com/users/nicolai86/followers", "following_url": "https://api.github.com/users/nicolai86/following{/other_user}", "gists_url": "https://api.github.com/users/nicolai86/gists{/gist_id}", "starred_url": "https://api.github.com/users/nicolai86/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nicolai86/subscriptions", "organizations_url": "https://api.github.com/users/nicolai86/orgs", "repos_url": "https://api.github.com/users/nicolai86/repos", "events_url": "https://api.github.com/users/nicolai86/events{/privacy}", "received_events_url": "https://api.github.com/users/nicolai86/received_events", "type": "User", "site_admin": false }
[ { "id": 620327014, "node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation", "name": "documentation", "color": "fef2c0", "default": true, "description": null } ]
closed
false
null
[]
null
[ ":tada: thank you!", "Thanks a lot, @nicolai86!" ]
2017-06-29T10:58:30
2017-06-29T15:04:39
2017-06-29T13:46:48
CONTRIBUTOR
null
this PR improves the volume and firewall documentation
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/20/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/20", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/20", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/20.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/20.patch", "merged_at": "2017-06-29T13:46:48" }
true
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/19
239,189,033
MDU6SXNzdWUyMzkxODkwMzM=
19
digitalocean_volume refuses to delete attached volume in destroy action
{ "login": "onnimonni", "id": 5691777, "node_id": "MDQ6VXNlcjU2OTE3Nzc=", "avatar_url": "https://avatars.githubusercontent.com/u/5691777?v=4", "gravatar_id": "", "url": "https://api.github.com/users/onnimonni", "html_url": "https://github.com/onnimonni", "followers_url": "https://api.github.com/users/onnimonni/followers", "following_url": "https://api.github.com/users/onnimonni/following{/other_user}", "gists_url": "https://api.github.com/users/onnimonni/gists{/gist_id}", "starred_url": "https://api.github.com/users/onnimonni/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onnimonni/subscriptions", "organizations_url": "https://api.github.com/users/onnimonni/orgs", "repos_url": "https://api.github.com/users/onnimonni/repos", "events_url": "https://api.github.com/users/onnimonni/events{/privacy}", "received_events_url": "https://api.github.com/users/onnimonni/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "This issue started occurring on Monday June 26th, most probably by a change on DO's side.\r\n\r\nSnippet from my discussion with DO's support line\r\n````\r\nThe first occurrence was seen at 5:44 PM EDT.\r\nThe previous clean up that was a success (hence not affected by the new issue) was at 4:36 PM EDT.\r\n````\r...
2017-06-28T14:45:49
2017-07-05T12:44:30
2017-07-05T12:44:30
NONE
null
### Terraform Version and OS version ``` $ terraform -v Terraform v0.9.9 $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G1217 ``` ### Affected Resource(s) Please list the resources as a list, for example: - `digitalocean_volume` - `digitalocean_droplet` ### Terraform Configuration Files ```hcl variable "digitalocean_token" { description = "This is the Digitalocean API-token which is used to setup the machines." } variable "digitalocean_region" { description = "For example: nyc1, nyc2, ams2, ams3, fra2" default = "fra1" } variable "digitalocean_dokku_size" { description = "Instance size: 512mb, 1gb, 2gb, 4gb ..." default = "2gb" } variable "digitalocean_volume_size" { description = "We will attach permanent volume for persistent data. You can provide size of that volume here" default = "100" } variable "digitalocean_dokku_domain_tld" { description = <<EOF Main TLD for this dokku installation like: example.com Subdomain of that domain are used for dokku and apps. NOTE: THIS DOMAIN NEEDS TO BE SETUPPED IN DIGITALOCEAN DOMAINS! EOF } variable "digitalocean_dokku_subdomain" { description = <<EOF Write any subdomain of the domain you provided for: var.digitalocean_dokku_domain This will be used for this dokku installation and subdomains of that domain will be used to apps running in dokku. For example writing: 'dokku-test.something' would result in dokku server => 'dokku-test.something.example.com' EOF } variable "initial_ssh_key" { description = "Public SSH Key which is installed into the server during initial setup" } # Configure the DigitalOcean Provider provider "digitalocean" { token = "${var.digitalocean_token}" } resource "digitalocean_ssh_key" "pihvi" { name = "Pihvi.io Deployment key" public_key = "${var.initial_ssh_key}" } # Add volume for persistent data resource "digitalocean_volume" "dokku_persistent_data" { region = "${var.digitalocean_region}" name = "persistent-${replace("${var.digitalocean_dokku_subdomain}.${var.digitalocean_dokku_domain_tld}",".","-")}" size = "${var.digitalocean_volume_size}" description = "Persistent data for ${var.digitalocean_dokku_subdomain}.${var.digitalocean_dokku_domain_tld}" } # Create a new Dokku Droplet resource "digitalocean_droplet" "dokku" { # Ubuntu is the prefered installation for dokku image = "ubuntu-16-04-x64" # This is also the hostname and FQDN of the machine name = "${var.digitalocean_dokku_subdomain}.${var.digitalocean_dokku_domain_tld}" region = "${var.digitalocean_region}" size = "${var.digitalocean_dokku_size}" ssh_keys = [ "${digitalocean_ssh_key.pihvi.id}" ] ipv6 = true # Attach persistent volume volume_ids = ["${digitalocean_volume.dokku_persistent_data.id}"] user_data = <<EOF #cloud-config manage-resolv-conf: true resolv_conf: nameservers: - '8.8.8.8' - '8.8.4.4' EOF } # Add floating ip for safe system updates resource "digitalocean_floating_ip" "dokku" { droplet_id = "${digitalocean_droplet.dokku.id}" region = "${digitalocean_droplet.dokku.region}" } # Enable IPv4 (with floating ip-address) resource "digitalocean_record" "dokku_ipv4" { domain = "${var.digitalocean_dokku_domain_tld}" type = "A" name = "${var.digitalocean_dokku_subdomain}" value = "${digitalocean_floating_ip.dokku.ip_address}" } # Enable IPv6 (non floating ip-address) # To enable flaoting IPv6, Please vote for: https://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/10513887-floating-ip-ipv6 resource "digitalocean_record" "dokku_ipv6" { domain = "${var.digitalocean_dokku_domain_tld}" type = "AAAA" name = "${var.digitalocean_dokku_subdomain}" value = "${digitalocean_droplet.dokku.ipv6_address}" } # Enable CNAME for all subdomains resource "digitalocean_record" "dokku_subdomains" { domain = "${var.digitalocean_dokku_domain_tld}" type = "CNAME" name = "*.${var.digitalocean_dokku_subdomain}" value = "${var.digitalocean_dokku_subdomain}.${var.digitalocean_dokku_domain_tld}." } ``` ### Debug Output ``` $ terraform destroy -var-file=dokku.tfvars . Do you really want to destroy? Terraform will delete all your managed infrastructure. There is no undo. Only 'yes' will be accepted to confirm. Enter a value: yes digitalocean_ssh_key.pihvi: Refreshing state... (ID: 10391475) digitalocean_record.dokku_subdomains: Refreshing state... (ID: 25666030) digitalocean_volume.dokku_persistent_data: Refreshing state... (ID: 121bfff2-5c0a-11e7-ab87-0242ac116705) digitalocean_droplet.dokku: Refreshing state... (ID: 53302108) digitalocean_droplet.dokku: Destroying... (ID: 53302108) digitalocean_record.dokku_subdomains: Destroying... (ID: 25666030) digitalocean_record.dokku_subdomains: Destruction complete digitalocean_droplet.dokku: Still destroying... (ID: 53302108, 10s elapsed) digitalocean_droplet.dokku: Destruction complete digitalocean_volume.dokku_persistent_data: Destroying... (ID: 121bfff2-5c0a-11e7-ab87-0242ac116705) digitalocean_ssh_key.pihvi: Destroying... (ID: 10391475) digitalocean_ssh_key.pihvi: Destruction complete Error applying plan: 1 error(s) occurred: * digitalocean_volume.dokku_persistent_data (destroy): 1 error(s) occurred: * digitalocean_volume.dokku_persistent_data: Error deleting volume: DELETE https://api.digitalocean.com/v2/volumes/121bfff2-5c0a-11e7-ab87-0242ac116705: 409 A volume that's attached to a Droplet cannot be deleted. Please detach it first before deleting. Terraform does not automatically rollback in the face of errors. Instead, your Terraform state file has been partially updated with any resources that successfully completed. Please address the error above and apply again to incrementally change your infrastructure. ``` ### Expected Behavior I wanted to delete the attached digitalocean volume after testing. ### Actual Behavior Destroy action failed to remove the attached volume.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/19/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/18
235,695,010
MDU6SXNzdWUyMzU2OTUwMTA=
18
Error digitalocean_droplet.node.1: diffs didn't match during apply.
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Hi @onorua, thanks for the issue!\r\n\r\nThis should be fixed with a new version of Terraform, `v0.9.11` and above. \r\nPlease let us know if you still see the issue after upgrading. Thanks again!" ]
2017-06-13T21:14:26
2017-08-14T20:40:18
2017-08-14T20:40:18
NONE
null
_This issue was originally opened by @onorua as hashicorp/terraform#15195. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version ``` Terraform v0.9.8 ``` ### Affected Resource(s) Please list the resources as a list, for example: - digitalocean_droplet ### Error during apply ``` Terraform Version: 0.9.8 Resource ID: digitalocean_droplet.node.1 Mismatch reason: extra attributes: size, resize_disk, private_networking, image Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"locked":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ssh_keys.0":*terraform.ResourceAttrDiff{Old:"", New:"95:c9:42:d5:a2:4a:ad:80:5b:f9:80:c5:4f:92:e2:59", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "name":*terraform.ResourceAttrDiff{Old:"", New:"molochko-sfo2-dev1-1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv4_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv4_address_private":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "price_monthly":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "status":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "region":*terraform.ResourceAttrDiff{Old:"", New:"sfo2", NewComputed:false, NewRemoved:false, NewExtra:"sfo2", RequiresNew:true, Sensitive:false, Type:0x0}, "vcpus":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "disk":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ssh_keys.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_address_private":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "price_hourly":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:true, DestroyTainted:false, Meta:map[string]interface {}(nil)} Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"ssh_keys.#":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "size":*terraform.ResourceAttrDiff{Old:"", New:"4gb", NewComputed:false, NewRemoved:false, NewExtra:"4Gb", RequiresNew:false, Sensitive:false, Type:0x0}, "resize_disk":*terraform.ResourceAttrDiff{Old:"", New:"true", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "vcpus":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "image":*terraform.ResourceAttrDiff{Old:"", New:"25448024", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "ssh_keys.0":*terraform.ResourceAttrDiff{Old:"", New:"95:c9:42:d5:a2:4a:ad:80:5b:f9:80:c5:4f:92:e2:59", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "private_networking":*terraform.ResourceAttrDiff{Old:"", New:"true", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_address_private":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "disk":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv4_address_private":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "region":*terraform.ResourceAttrDiff{Old:"", New:"sfo2", NewComputed:false, NewRemoved:false, NewExtra:"sfo2", RequiresNew:true, Sensitive:false, Type:0x0}, "name":*terraform.ResourceAttrDiff{Old:"", New:"molochko-sfo2-dev1-1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "price_hourly":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "status":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "locked":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "price_monthly":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv6_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "ipv4_address":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)} Also include as much context as you can about your config, state, and the steps you performed to trigger this error. ``` ### Resource config ``` resource "digitalocean_droplet" "node" { name = "${var.name_prefix}-${count.index}" image = "${coalesce("${var.image}","ubuntu-16-04-x64")}" region = "${element(split(",", coalesce(var.location,"nyc3")), count.index)}" size = "${coalesce("${var.size}","512mb")}" count = "${lookup(map("do", "${var.nodes}"), "${var.provider}" , "0")}" private_networking = "true" ssh_keys = [ "${module.creds.do_ssh_fingerprint}" ] # lifecycle { # create_before_destroy = true # ignore_changes = ["image","private_networking","resize_disk","size"] # } connection { user = "${coalesce("${var.user}","root")}" type = "ssh" private_key = "${module.creds.do_priv_key}" timeout = "2m" port = "${var.ssh_port}" } provisioner "remote-exec" { inline = [ "mkdir -p /tmp/hooks" ] } } ``` I believe this is due to: ``` lifecycle { create_before_destroy = true ignore_changes = ["image","private_networking","resize_disk","size"] } ``` as the error reflect `ignore_changes` part.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/18/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/17
235,694,463
MDU6SXNzdWUyMzU2OTQ0NjM=
17
Crashed while creating DigitalOcean NS records
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null }, { "id": 620327013, "node_id": "MDU6TGFiZWw2MjAzMj...
closed
false
null
[]
null
[ "Hi @snick\r\n\r\nI have just been investigating this as follows (on master)\r\n\r\nI started with this config:\r\n\r\n```\r\nprovider \"digitalocean\" {}\r\n\r\nresource \"digitalocean_domain\" \"foobar\" {\r\n name = \"foobar-test-terraform-stack72.com\"\r\n ip_address = \"192.168.0.10\"\r\n}\r\n\r\nresou...
2017-06-13T21:12:14
2017-09-14T14:43:03
2017-09-14T14:43:03
NONE
null
_This issue was originally opened by @snick as hashicorp/terraform#15133. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version 0.9.6 ### Affected Resource(s) - digitalocean_domain - digitalocean_record ### Terraform Configuration Files ```hcl resource "digitalocean_domain" "xxx" { name = "xxx" ip_address = "${digitalocean_droplet.xxx.ipv4_address}" } <-- many a, cname, mx records--> resource "digitalocean_record" "xxx_txt1" { domain = "${digitalocean_domain.xxx.name}" type = "TXT" name = "@" value = "google-site-verification=xxx" priority = 10 } ``` ### Debug Output https://gist.github.com/snick/1af3abe993a60639a302c5e1f8331a70 ### Panic Output https://gist.github.com/snick/08a531a54a1b9193b2184bb44ec369a8 ### Expected Behavior Not crashed ### Actual Behavior Crashed ### Steps to Reproduce 1. `terraform apply` 2. That's all ### Important Factoids Nope ### References Nope (maybe)
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/17/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/16
235,694,399
MDU6SXNzdWUyMzU2OTQzOTk=
16
Terraform prints dependency error instead of actual error if reference misconfigured resource
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null }, { "id": 670571413, "node_id": "MDU6TGFiZWw2NzA1Nz...
closed
false
null
[]
null
[ "With the release of Terraform 0.12 and some additional validations we've added on the DigitalOcean provider side, I think we can now close this one out. The error message here is much more useful:\r\n\r\n```\r\nError: Incorrect attribute value type\r\n\r\n on terraform-testing.tf line 18, in resource \"digitaloce...
2017-06-13T21:12:05
2019-08-29T19:01:23
2019-08-29T19:01:22
NONE
null
_This issue was originally opened by @Noah-Huppert as hashicorp/terraform#15053. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version ``` $ terraform -v Terraform v0.9.6 ``` ### Affected Resource(s) All? Found bug with: - `digitalocean_floating_ip` - `digitalocean_record` I believe this is a Terraform core issue. ### Terraform Configuration Files ```hcl resource "digitalocean_floating_ip" "auto_chess" { droplet_id = "${digitalocean_droplet.auto_chess.region}" # <-- Important: This field is intentionally wrong, should cause validation error region = "${digitalocean_droplet.auto_chess.region}" } resource "digitalocean_domain" "noahhuppert_com" { name = "noahhuppert.com" ip_address = "${digitalocean_droplet.auto_chess.ipv4_address}" # Not important to issue, defined in other file } resource "digitalocean_record" "auto_chess" { domain = "${digitalocean_domain.noahhuppert_com.name}" name = "auto_chess" type = "A" value = "${digitalocean_floating_ip.auto_chess.ip_address}" } ``` ### Debug Output [Gist](https://gist.github.com/Noah-Huppert/d88610dfc1188472a27b00dd47f6b843) ### Panic Output None ### Expected Behavior Terraform should inform the user that the value they provided for `digitalocean_floating_ip.auto_chess.droplet_id` is incorrect like so: ``` * module.auto-chess.digitalocean_floating_ip.auto_chess: droplet_id: cannot parse '' as int: strconv.ParseInt: parsing "nyc3": invalid syntax ``` ### Actual Behavior Terraform claims that `digitalocean_floating_ip.auto_chess.ip_address` is not found. This causes one to start debugging their code for a link/dependency error (Calling `terraform graph`, adding `depends_on` to everything, etc...). Instead of debugging their code for an incorrect `digitalocean_floating_ip.auto_chess.droplet_id` value. ### Steps to Reproduce 1. Create a resource that is misconfigured - In the example above this is the `digitalocean_floating_ip.auto_chess` - The `droplet_id` parameter is intentionally set to be a `digitalocean_droplet`'s region when it is supposed to be an id. 2. Create another resource that relies on a parameter of that resource - In the example above this is the `digitialocean_record.auto_chess` - It relies on `digitalocean_floating_ip.auto_chess.ip_address` 3. `terraform plan` 4. Receive a incorrect / not-really-showing-root-problem dependency error 5. Comment out the resource which is using the misconfigured resource - In the example above this would mean commenting out the `digitalocean_record` 6. Receive the correct validation error about your misconfigured resource ### Important Factoids Error messages and example code are in a module named `auto-chess`. Not included in the example code is a `digitalocean_droplet` named `auto_chess`, this is not important to the issue. ### References None
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/16/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/15
235,693,043
MDU6SXNzdWUyMzU2OTMwNDM=
15
Terraform restarts node when applying default `resize_disk` value `true`
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Closed in #49" ]
2017-06-13T21:07:06
2018-04-18T22:21:20
2018-04-18T22:21:20
NONE
null
_This issue was originally opened by @nikoren as hashicorp/terraform#14687. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> Hi, I'm trying to upgrade terraform from 0.7 to 0.9.3 , Once I switch to new version terraform identifies that there is no `resize_disk` value in my current state: ``` ~ digitalocean_droplet.stage-share-xxxx.1 resize_disk: "" => "true" ``` - according to [documentation (https://www.terraform.io/docs/providers/do/r/droplet.html#resize_disk) - this setting controls wether to __allow__ or not disk increase, I couldn't see any possible impact by applying this change. - When I try to apply the change , the node is restarted, and in digital_ocean console I can see the following history: ``` Event Initiated Execution Time Power On 1 hour ago 6 seconds Resize 2 hours ago 17 minutes 19 seconds Power Off 2 hours ago 11 seconds Create 1 month ago 20 seconds ``` - I think terraform tries to go and resize the disk to same size which involves node restart even though no changes were done in configuration. - I believe terraform should not restart node and only update state in scenario when actual `disk` wasn't changed or maybe documentation should be more clear about the fact that node gets restarted when no changes were made to `disk` configuration.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/15/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/14
235,683,831
MDU6SXNzdWUyMzU2ODM4MzE=
14
Deleting DigitalOcean droplets fails for terraform destroy
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Thank you for your report, @aknuds1!\r\n\r\nYeah, I saw this error last night with different resource, digitalocean_firewall.\r\n\r\nLet me double check and get back here.\r\n\r\nCheers!", "Here is what I got today, with the latest DO provider:\r\n\r\n```\r\nterraform destroy -force\r\ndata.terraform_remote_stat...
2017-06-13T20:32:28
2018-04-18T22:27:41
2018-04-18T22:27:13
NONE
null
_This issue was originally opened by @aknuds1 as hashicorp/terraform#14329. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version 0.9.4 ### Affected Resource(s) - digitalocean_droplet ### Terraform Configuration Files [Tectonic Installer Terraform config for DigitalOcean](https://github.com/aknuds1/tectonic-installer/tree/e4cd2ae4028c3b409d39ff45faa8346d5e084b83/platforms/digitalocean) ### Debug Output [Debug log gist](https://gist.github.com/aknuds1/7ea46bd557f5ed11c36cedd8760f74f5) ### Expected Behavior I am trying to delete my DigitalOcean droplets created with Terraform, via `terraform destroy`. ### Actual Behavior Terraform bails with an error per droplet it's trying to delete: `digitalocean_droplet.etcd_node.0: Error deleting droplet: invalid character 'S' looking for beginning of value`. ### Steps to Reproduce Please list the steps required to reproduce the issue, for example: 1. Clone the [Tectonic Installer repository](https://github.com/aknuds1/tectonic-installer/commit/e4cd2ae4028c3b409d39ff45faa8346d5e084b83) into `$GOPATH/src/github.com/coreos/tectonic-installer` 2. Install Yarn 3. Create DigitalOcean droplets: `PLATFORM=digitalocean make apply` 4. Delete DigitalOcean droplets: `PLATFORM=digitalocean make destroy`
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/14/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/13
235,683,060
MDU6SXNzdWUyMzU2ODMwNjA=
13
Downscaling with a digitalocean_loadbalancer fails with a HTTP 422 (but works anyway)
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Closing stale bug. " ]
2017-06-13T20:29:52
2020-07-07T22:41:50
2020-07-07T22:41:50
NONE
null
_This issue was originally opened by @gak as hashicorp/terraform#14105. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> After reducing `number_of_servers` I see that the droplets start being destroyed before being removed from the DO LB. There seems to be a race condition with the DO API and the droplet states. However, the LB does remove these decommissioned droplets regardless of the error. ### Terraform Version Terraform v0.9.3 ### Affected Resource(s) Please list the resources as a list, for example: - digitalocean_droplet - digitalocean_loadbalancer If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this. ### Terraform Configuration Files ```hcl resource "digitalocean_droplet" "web" { count = "${var.number_of_servers}" ... } resource "digitalocean_loadbalancer" "lb" { name = "lb" droplet_ids = ["${digitalocean_droplet.web.*.id}"] ... } ``` ### Error ``` digitalocean_droplet.web.0: Refreshing state... (ID: 47499706) digitalocean_droplet.web.1: Refreshing state... (ID: 47499705) digitalocean_droplet.web.3: Refreshing state... (ID: 47500688) digitalocean_droplet.web.2: Refreshing state... (ID: 47500687) digitalocean_volume.db: Refreshing state... (ID: e6f40e4a-2e2a-11e7-b8de-0242ac113e03) digitalocean_loadbalancer.lb: Refreshing state... (ID: 47325264-2809-4565-b35d-64afad610c16) digitalocean_droplet.web.2: Destroying... (ID: 47500687) digitalocean_droplet.web.3: Destroying... (ID: 47500688) digitalocean_droplet.web.3: Still destroying... (ID: 47500688, 10s elapsed) digitalocean_droplet.web.2: Still destroying... (ID: 47500687, 10s elapsed) digitalocean_droplet.web.3: Destruction complete digitalocean_droplet.web.2: Destruction complete digitalocean_loadbalancer.lb: Modifying... (ID: 47325264-2809-4565-b35d-64afad610c16) droplet_ids.#: "4" => "2" droplet_ids.2: "47500687" => "" droplet_ids.3: "47500688" => "" Error applying plan: 1 error(s) occurred: * digitalocean_loadbalancer.lb: 1 error(s) occurred: * digitalocean_loadbalancer.lb: Error updating Load Balancer: PUT https://api.digitalocean.com/v2/load_balancers/47325264-2809-4565-b35d-64afad610c16: 422 (request "42f55289-3f2d-43e9-8bb5-f7f5bc722e02") Load Balancer can't be updated while it processes previous actions ``` ### Expected Behavior Droplets removed from the LB. ### Actual Behavior An error, but droplets removed from the LB anyway. ### Steps to Reproduce Please list the steps required to reproduce the issue, for example: 1. `terraform apply` with a node count of 4. 1. `terraform apply` with a node count of 2.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/13/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/12
235,679,750
MDU6SXNzdWUyMzU2Nzk3NTA=
12
provider/digitalocean: Add monitoring attribute
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326613, "node_id": "MDU6TGFiZWw2MjAzMjY2MTM=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/enhancement-provider", "name": "enhancement-provider", "color": "d4c5f9", "default": false, "description": "" } ]
closed
false
null
[]
null
[ "This was implemented in #38 which was merged today and will be part of the next release 🎉 ", "@radeksimko is there a roadmap somewhere as to when the next release will happen, or any docs on how the community can contribute to help get there? It'll be great to see this update released!" ]
2017-06-13T20:17:53
2017-12-14T15:07:02
2017-09-14T15:26:48
NONE
null
_This issue was originally opened by @skovorodkin as hashicorp/terraform#13376. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version v0.9.2 ### Affected Resource(s) - digitalocean_droplet ### Terraform Configuration Files ```hcl provider "digitalocean" { token = "TOKEN" } resource "digitalocean_droplet" "droplet-1" { image = "ubuntu-16-04-x64" name = "droplet-01" region = "nyc3" size = "512mb" monitoring = true } ``` ### Expected Behavior A new droplet should be created with Monitoring enabled. ### Actual Behavior ``` 1 error(s) occurred: * digitalocean_droplet.droplet-1: : invalid or unknown key: monitoring ``` ### Steps to Reproduce 1. `terraform plan` --- DigitalOcean API allows to enable Monitoring while [creating a new droplet](https://developers.digitalocean.com/documentation/v2/#create-a-new-droplet). Godo already [has](https://github.com/hashicorp/terraform/blob/master/vendor/github.com/digitalocean/godo/droplets.go#L215) the necessary field.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/12/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/11
235,664,027
MDU6SXNzdWUyMzU2NjQwMjc=
11
conditional in array is returning a panic error
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null }, { "id": 620327013, "node_id": "MDU6TGFiZWw2MjAzMj...
closed
false
null
[]
null
[]
2017-06-13T19:25:41
2017-09-25T10:09:07
2017-09-25T10:09:07
NONE
null
_This issue was originally opened by @rolele as hashicorp/terraform#11342. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> I have this terraform script that is meant to create 3 machine: managers.[0-2] and a block storage I would like the block storage to be attached to the first manager only ```` resource "digitalocean_volume" "myvol-01" { region = "sfo2" name = "myvol-01" size = 1 description = "an example volume" } resource "digitalocean_droplet" "managers" { count = "${var.managers_size}" name = "managers.${count.index}" ssh_keys = ["${var.ssh_fingerprint}"] region = "sfo2" image = "centos-7-x64" size = "512mb" #### volume_ids = ["${digitalocean_volume.myvol-01.id}"] } ```` I do not know how to conditionally attached the volume only to the first machine. I tried ```volume_ids = "${count.index == 0 ? ["${digitalocean_volume.myvol-01.id}"] : false }" ``` OR this did not work neither: ```volume_ids = ["${count.index == 0 ? "${digitalocean_volume.myvol-01.id}" : ""}"]``` someone proposed this: ``` volume_ids = ["${count.index == 0 ? digitalocean_volume.myvol-01.id : ""}"] ``` but this is returning a panic error ``` terraform apply 9:44 digitalocean_volume.myvol-01: Refreshing state... (ID: 3857c233-e06d-11e6-9b24-000f533132d0) digitalocean_volume.myvol-01: Creating... description: "" => "an example volume" droplet_ids.#: "" => "<computed>" name: "" => "myvol-01" region: "" => "sfo2" size: "" => "1" digitalocean_volume.myvol-01: Creation complete digitalocean_droplet.managers.0: Creating... disk: "" => "<computed>" image: "" => "centos-7-x64" ipv4_address: "" => "<computed>" ipv4_address_private: "" => "<computed>" ipv6_address: "" => "<computed>" ipv6_address_private: "" => "<computed>" locked: "" => "<computed>" name: "" => "managers.0" region: "" => "sfo2" resize_disk: "" => "true" size: "" => "512mb" ssh_keys.#: "" => "1" ssh_keys.0: "" => "06:61:3d:44:c7:30:64:d4:32:be:f6:e3:4a:65:c7:6c" status: "" => "<computed>" vcpus: "" => "<computed>" volume_ids.#: "" => "1" volume_ids.0: "" => "6c4dbd2c-e0f4-11e6-a17e-000f5339e930" digitalocean_droplet.managers.1: Creating... disk: "" => "<computed>" image: "" => "centos-7-x64" ipv4_address: "" => "<computed>" ipv4_address_private: "" => "<computed>" ipv6_address: "" => "<computed>" ipv6_address_private: "" => "<computed>" locked: "" => "<computed>" name: "" => "managers.1" region: "" => "sfo2" resize_disk: "" => "true" size: "" => "512mb" ssh_keys.#: "" => "1" ssh_keys.0: "" => "06:61:3d:44:c7:30:64:d4:32:be:f6:e3:4a:65:c7:6c" status: "" => "<computed>" vcpus: "" => "<computed>" volume_ids.#: "" => "1" digitalocean_droplet.managers.2: Creating... disk: "" => "<computed>" image: "" => "centos-7-x64" ipv4_address: "" => "<computed>" ipv4_address_private: "" => "<computed>" ipv6_address: "" => "<computed>" ipv6_address_private: "" => "<computed>" locked: "" => "<computed>" name: "" => "managers.2" region: "" => "sfo2" resize_disk: "" => "true" size: "" => "512mb" ssh_keys.#: "" => "1" ssh_keys.0: "" => "06:61:3d:44:c7:30:64:d4:32:be:f6:e3:4a:65:c7:6c" status: "" => "<computed>" vcpus: "" => "<computed>" volume_ids.#: "" => "1" Error applying plan: 3 error(s) occurred: * digitalocean_droplet.managers.2: unexpected EOF * digitalocean_droplet.managers.1: unexpected EOF * digitalocean_droplet.managers.0: unexpected EOF Terraform does not automatically rollback in the face of errors. Instead, your Terraform state file has been partially updated with any resources that successfully completed. Please address the error above and apply again to incrementally change your infrastructure. panic: interface conversion: interface is nil, not string 2017/01/23 09:45:10 [DEBUG] plugin: terraform: 2017/01/23 09:45:10 [DEBUG] plugin: terraform: goroutine 129 [running]: 2017/01/23 09:45:10 [DEBUG] plugin: terraform: panic(0x2ddf660, 0x4265ba100) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7.4/libexec/src/runtime/panic.go:500 +0x1a1 2017/01/23 09:45:10 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/builtin/providers/digitalocean.resourceDigitalOceanDropletCreate(0x426454840, 0x2e45b80, 0x4263e2280, 0x4263d04b0, 0x16444) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /private/tmp/terraform-20161214-2441-3cw6bz/terraform-0.8.0/src/github.com/hashicorp/terraform/builtin/providers/digitalocean/resource_digitalocean_droplet.go:179 +0xe56 2017/01/23 09:45:10 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0x4262aa7e0, 0x42641e0a0, 0x4265ae200, 0x2e45b80, 0x4263e2280, 0x1, 0x4261da000, 0x18) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /private/tmp/terraform-20161214-2441-3cw6bz/terraform-0.8.0/src/github.com/hashicorp/terraform/helper/schema/resource.go:162 +0x30e 2017/01/23 09:45:10 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0x4262aaea0, 0x42641e050, 0x42641e0a0, 0x4265ae200, 0x0, 0x4263d4cf8, 0x18c9b) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /private/tmp/terraform-20161214-2441-3cw6bz/terraform-0.8.0/src/github.com/hashicorp/terraform/helper/schema/provider.go:212 +0x9b 2017/01/23 09:45:10 [DEBUG] plugin: terraform: github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Apply(0x4265a54c0, 0x4265ae120, 0x4264602d0, 0x0, 0x0) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /private/tmp/terraform-20161214-2441-3cw6bz/terraform-0.8.0/src/github.com/hashicorp/terraform/plugin/resource_provider.go:488 +0x57 2017/01/23 09:45:10 [DEBUG] plugin: terraform: reflect.Value.call(0x4262aa6c0, 0x425fe1158, 0x13, 0x3445850, 0x4, 0x4266cdee0, 0x3, 0x3, 0x2, 0x4263d4b30, ...) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7.4/libexec/src/reflect/value.go:434 +0x5c8 2017/01/23 09:45:10 [DEBUG] plugin: terraform: reflect.Value.Call(0x4262aa6c0, 0x425fe1158, 0x13, 0x4266cdee0, 0x3, 0x3, 0x0, 0x425fdb780, 0xb4b670) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7.4/libexec/src/reflect/value.go:302 +0xa4 2017/01/23 09:45:10 [DEBUG] plugin: terraform: net/rpc.(*service).call(0x42644efc0, 0x42644ef80, 0x4262d5f60, 0x426632880, 0x4265a5660, 0x29aa980, 0x4265ae120, 0x16, 0x29aa9c0, 0x4264602d0, ...) 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7.4/libexec/src/net/rpc/server.go:383 +0x148 2017/01/23 09:45:10 [DEBUG] plugin: terraform: created by net/rpc.(*Server).ServeCodec 2017/01/23 09:45:10 [DEBUG] plugin: terraform: /usr/local/Cellar/go/1.7.4/libexec/src/net/rpc/server.go:477 +0x421 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.2: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: * digitalocean_droplet.managers.2: unexpected EOF 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[2] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.1: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: * digitalocean_droplet.managers.1: unexpected EOF 2017/01/23 09:45:10 [DEBUG] plugin: /usr/local/Cellar/terraform/0.8.0/bin/terraform: plugin process exited 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[1] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.0: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred * digitalocean_droplet.managers.0: unexpected EOF 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[0] 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[0]" 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[2]" 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[1]" 2017/01/23 09:45:10 [INFO] Starting shadow graph walk: walkApply 2017/01/23 09:45:10 [DEBUG] Waiting for shadow graph to complete... 2017/01/23 09:45:10 [DEBUG] vertex 'root.var.digitalocean_token': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.var.workers_size': walking 2017/01/23 09:45:10 [DEBUG] vertex "provider.digitalocean", got dep: "var.digitalocean_token" 2017/01/23 09:45:10 [DEBUG] vertex 'root.var.digitalocean_ssh_key': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.provider.digitalocean': walking 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "var.workers_size" 2017/01/23 09:45:10 [DEBUG] vertex 'root.var.managers_size': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.var.ssh_fingerprint': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.provider.digitalocean': evaluating 2017/01/23 09:45:10 [TRACE] [walkApply] Entering eval tree: provider.digitalocean 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInitProvider 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[1]", got dep: "var.managers_size" 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalOpFilter 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[1]", got dep: "var.ssh_fingerprint" 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[2]", got dep: "var.managers_size" 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInterpolate 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalBuildProviderConfig 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSetProviderConfig 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalOpFilter 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalConfigProvider 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: provider.digitalocean 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_volume.myvol-01", got dep: "provider.digitalocean" 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_volume.myvol-01': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_volume.myvol-01': evaluating 2017/01/23 09:45:10 [TRACE] [walkApply] Entering eval tree: digitalocean_volume.myvol-01 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInstanceInfo 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInterpolate 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalValidateResource 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalCompareDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApply 2017/01/23 09:45:10 [DEBUG] apply: digitalocean_volume.myvol-01: executing Apply 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalUpdateStateHook 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_volume.myvol-01 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[0]", got dep: "digitalocean_volume.myvol-01" 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[0]", got dep: "var.managers_size" 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[2]", got dep: "digitalocean_volume.myvol-01" 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[1]", got dep: "digitalocean_volume.myvol-01" 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[2]", got dep: "var.ssh_fingerprint" 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[1]': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[2]': walking 2017/01/23 09:45:10 [DEBUG] vertex "digitalocean_droplet.managers[0]", got dep: "var.ssh_fingerprint" 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[0]': walking 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[1]': evaluating 2017/01/23 09:45:10 [TRACE] [walkApply] Entering eval tree: digitalocean_droplet.managers[1] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInstanceInfo 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInterpolate 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[2]': evaluating 2017/01/23 09:45:10 [TRACE] [walkApply] Entering eval tree: digitalocean_droplet.managers[2] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInstanceInfo 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInterpolate 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalValidateResource 2017/01/23 09:45:10 [DEBUG] vertex 'root.digitalocean_droplet.managers[0]': evaluating 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalDiff 2017/01/23 09:45:10 [TRACE] [walkApply] Entering eval tree: digitalocean_droplet.managers[0] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalSequence 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInstanceInfo 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: terraform.EvalNoop 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalInterpolate 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalCompareDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalValidateResource 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalCompareDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalValidateResource 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApply 2017/01/23 09:45:10 [DEBUG] apply: digitalocean_droplet.managers.1: executing Apply 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApply 2017/01/23 09:45:10 [DEBUG] apply: digitalocean_droplet.managers.2: executing Apply 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalCompareDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.1: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: * digitalocean_droplet.managers.1: unexpected EOF 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[1] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.2: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: * digitalocean_droplet.managers.2: unexpected EOF 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[2] 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalGetProvider 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalReadState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApply 2017/01/23 09:45:10 [DEBUG] apply: digitalocean_droplet.managers.0: executing Apply 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyProvisioners 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalIf 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteState 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalWriteDiff 2017/01/23 09:45:10 [DEBUG] root: eval: *terraform.EvalApplyPost 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: * digitalocean_droplet.managers.0: unexpected EOF 2017/01/23 09:45:10 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: * digitalocean_droplet.managers.0: unexpected EOF 2017/01/23 09:45:10 [TRACE] [walkApply] Exiting eval tree: digitalocean_droplet.managers[0] 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[0]" 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[2]" 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "digitalocean_droplet.managers[1]" 2017/01/23 09:45:10 [DEBUG] vertex "meta.count-boundary (count boundary fixup)", got dep: "var.digitalocean_ssh_key" 2017/01/23 09:45:10 [ERROR] Shadow graph error: 3 error(s) occurred: ````
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/11/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/10
235,640,313
MDU6SXNzdWUyMzU2NDAzMTM=
10
digitalocean_record MX generates invalid state
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "I am not seeing this issue currently however my record is slightly different. I am including the name attribute in it.\r\n\r\nTry using this instead:\r\n\r\n```\r\nresource \"digitalocean_record\" \"mx-acme-mx\" {\r\n domain = \"${digitalocean_domain.acme.name}\"\r\n name = \"@\"\r\n type = \"MX\"\...
2017-06-13T18:07:50
2018-06-27T19:30:29
2018-06-27T19:30:29
NONE
null
_This issue was originally opened by @danielsreichenbach as hashicorp/terraform#10333. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version Terraform v0.7.12 ### Affected Resource(s) - digitalocean_record ### Terraform Configuration Files ```hcl resource "digitalocean_domain" "acme" { name = "acme.com" ... } resource "digitalocean_record" "mx-acme-mx" { domain = "${digitalocean_domain.acme.name}" type = "MX" priority = 1 value = "mx.acme.com." } ``` ### Expected Behavior This should generated a domain named *acme.com* with a MX record pointing to `mx.acme.com`, and store the state correctly. ### Actual Behavior Generates domain and MX record properly but `terraform.tfstate` is broken afterwards, it will contain ``` "attributes": { "domain": "acme", "fqdn": "@.acme.com", "id": "19638502", "name": "@", "port": "0", "priority": "1", "type": "MX", "value": "mx.acme.com.acme.com.", "weight": "0" } ``` Changing the resource configuration to this ```hcl resource "digitalocean_record" "mx-acme-mx" { domain = "${digitalocean_domain.acme.name}" type = "MX" priority = 1 value = "mx." } ``` will properly generate a state of ``` "attributes": { "domain": "acme.com", "fqdn": "@.acme.com", "id": "19638637", "name": "@", "port": "0", "priority": "1", "type": "MX", "value": "mx.acme.com.", "weight": "0" }, ``` Executing `terraform plan` before *and* afterwards will however *always* result in this plan: ``` -/+ digitalocean_record.mx-acme-mx domain: "acme.com" => "acme.com" fqdn: "@.acme.com" => "<computed>" name: "@" => "" port: "0" => "<computed>" priority: "1" => "1" type: "MX" => "MX" value: "mx.acme.com.acme.com." => "mx." (forces new resource) weight: "0" => "<computed>" ``` ### Steps to Reproduce 1. `terraform apply` 1. `terraform plan`
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/10/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/9
235,639,588
MDU6SXNzdWUyMzU2Mzk1ODg=
9
(Digitalocean) SSH key with "\n" inside
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Hi, This was very likely an issue on the DigtialOcean side, and it seems to be resolved.\r\n\r\nAttempting to reproduce, the key seems to be correctly added on one line:\r\n\r\n```\r\n# cat .ssh/authorized_keys | grep '\\\\n'\r\nssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiKopHX6PXJz7wilPm72pN2EQhwt0VIdcaokedede2byiGcvVjr...
2017-06-13T18:05:24
2018-06-28T16:36:19
2018-06-28T16:36:19
NONE
null
_This issue was originally opened by @vaclavdobsicek as hashicorp/terraform#10083. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version Terraform v0.7.10 (MAC) ### Affected Resource(s) - digitalocean ### Terraform Configuration Files ```hcl ssh_keys = [ "${var.ssh_fingerprint_axmn}" ] ``` ### Expected Behavior There will be one one-lined ssh pub key in the /root/.ssh/authorized_keys ### Actual Behavior The first line is cut in the place of "\n" and the rest of the string is on the second row. On the third row is the second row repeated again. ### Steps to Reproduce 1. Upload the SSH pub key which contains "\n" into security section in the Digitalocean control panel 2. Use fingerprint of this key for creating droplet ### Example Source ``` { "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiKopHX6PXJz7wilPm72pN2EQhwt0VIdcaokedede2byiGcvVjrY5k7FObEiX201YaCKgCg3A3k3SR/HuG2tH7Drf26uKYQnq+LEsgVxlcjl0lj+1RcKqQOguEJKXfcj3OrL\nIJrX66/Qlc0MDoVIFo1FWB/adYHa4OM= axmn" } ``` Result (authorized_keys on target machine) ``` ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiKopHX6PXJz7wilPm72pN2EQhwt0VIdcaokedede2byiGcvVjrY5k7FObEiX201YaCKgCg3A3k3SR/HuG2tH7Drf26uKYQnq+LEsgVxlcjl0lj+1RcKqQOguEJKXfcj3OrL IJrX66/Qlc0MDoVIFo1FWB/adYHa4OM= axmn IJrX66/Qlc0MDoVIFo1FWB/adYHa4OM= axmn ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/9/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/8
235,637,740
MDU6SXNzdWUyMzU2Mzc3NDA=
8
Allow Assign Existing Float IP to New Droplet
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620327014, "node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation", "name": "documentation", "color": "fef2c0", "default": true, "description": null } ]
closed
false
null
[]
null
[ "I think this is a glaring omission in this provider. Setting up DNS ahead of time to point to a pregenerated floating IP address is a must for rapid deployment of servers.", "Running into the same issue. Correct me if I am wrong but, due to this, we currently have no means to retain a floating_ip upon the destru...
2017-06-13T17:58:47
2018-09-24T20:14:33
2018-09-24T20:14:33
NONE
null
_This issue was originally opened by @miry as hashicorp/terraform#9353. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> ### Terraform Version Terraform v0.7.4 ### Affected Resource(s) Please list the resources as a list, for example: - digitalocean_floating_ip - digitalocean_droplet There are no example describes how to assign existing Float Ip resource to new droplet. https://www.terraform.io/docs/providers/do/r/floating_ip.html It would great to have similar solution as for `aws_eip`: https://www.terraform.io/docs/providers/aws/r/eip_association.html Example: ``` resource "digitalocean_floating_ip_association" "ip_assoc" { instance_id = "${digitalocean_droplet.web.id}" allocation_id = "${digitalocean_floating_ip.example.id}" } ``` or provide ip in `digitalocean_droplet` resource: ``` resource "digitalocean_droplet" "web" { ... float_ips = ["${digitalocean_floating_ip.example.id}"] ... } ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8/reactions", "total_count": 9, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/8/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/7
235,637,017
MDU6SXNzdWUyMzU2MzcwMTc=
7
Tags for digital ocean droplets keep changing order
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "Same issue here.\r\n\r\n```\r\n- \"tags.0\": \"worker\",\r\n- \"tags.1\": \"cluster\",\r\n+ \"tags.0\": \"cluster\",\r\n+ \"tags.1\": \"worker\",\r\n\r\n```\r\n", "Same issue.\r\nUse [sort()](https://www.t...
2017-06-13T17:56:26
2018-08-29T22:28:49
2018-08-29T22:28:49
NONE
null
_This issue was originally opened by @simaofreitas as hashicorp/terraform#9099. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> Hi, I'm using terraform for managing a set of droplets in digital ocean. Yesterday I introduced tags (using `digitalocean_tag`) and everything is working correctly. The problem is that every time I run `terraform plan` (or `apply`) I get changes because the `tags` keep changing their order inside the `tfstate` file. Terraform version: `0.7.3` Example of tags definition: ``` resource "digitalocean_tag" "staging" { name = "staging" } resource "digitalocean_tag" "web" { name = "web" } ``` Example of droplet definition ``` resource "digitalocean_droplet" "machine01" { image = "ubuntu-14-04-x64" name = "machine01" region = "fra1" size = "16gb" private_networking = true backups = true tags = ["${digitalocean_tag.staging.id}", "${digitalocean_tag.web.id}"] ssh_keys = [ ... ] } ``` When running `terraform plan` (after I already ran `terraform apply`) I get this: ``` ~ digitalocean_droplet.machine01 tags.0: "staging" => "web" tags.1: "web" => "staging" ``` If I `apply`, the next time I run `plan` I would get the reverse output. But it always changes. Couldn't find any open issues about this. Any ideas? Thanks a lot
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/7/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/6
235,584,292
MDU6SXNzdWUyMzU1ODQyOTI=
6
can't set priority to 0 for mx in digitalocean_record
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null }, { "id": 1049484690, "node_id": "MDU6TGFiZWwxMDQ5N...
closed
false
null
[]
null
[ "_This comment was originally opened by @stack72 as https://github.com/hashicorp/terraform/issues/5069#issuecomment-202168457. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original comment is below._\r\n\r\n<hr>\r\n\r\nThis is...
2017-06-13T14:58:16
2018-09-28T20:08:58
2018-09-28T20:08:58
NONE
null
_This issue was originally opened by @dmitryint as hashicorp/terraform#5069. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> Terraform v0.6.11 ``` resource "digitalocean_record" "mx_1" { domain = "host.com" type = "MX" priority = 0 value = "mx.host.com." } ``` When I try to set the priority 0 MX record occurs error message. ``` Failed to create record: POST https://api.digitalocean.com/v2/domains/host.com/records: 422 Priority is not a number and Priority Priority must be an integer between 0 and 65535 ``` When I changing the priority to another number, e.g. 10, then everything is OK. Same problem with weight
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/6/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/5
235,583,094
MDU6SXNzdWUyMzU1ODMwOTQ=
5
digitalocean_image artifact ID doesn't match what the DO API expects
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326610, "node_id": "MDU6TGFiZWw2MjAzMjY2MTA=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug", "name": "bug", "color": "f7c6c7", "default": true, "description": null } ]
closed
false
null
[]
null
[ "_This comment was originally opened by @Jalle19 as https://github.com/hashicorp/terraform/issues/4807#issuecomment-174206388. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original comment is below._\r\n\r\n<hr>\r\n\r\nApparen...
2017-06-13T14:54:51
2018-04-18T22:04:04
2018-04-18T22:04:04
NONE
null
_This issue was originally opened by @Jalle19 as hashicorp/terraform#4807. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> If you use `image = "${atlas_artifact.foo.id}"` on a `digitalocean_droplet` resource, applying changes will fail with `POST https://api.digitalocean.com/v2/droplets: 422 You specified an invalid image for Droplet creation`. This is because `atlas_artifact.foo.id` resolves to something like `fra1:123123` when it should resolve to `123123`. Changing the Terraform template to use a hardcoded number makes the apply go through normally. This makes it cumbersome to use DigitalOcean snapshot artifacts. I've tried both 0.6.9 and 0.6.8 and the issue is the same in both.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/5/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/4
235,554,739
MDU6SXNzdWUyMzU1NTQ3Mzk=
4
DigitalOcean provider should allow specifying SSH key by name
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 620326613, "node_id": "MDU6TGFiZWw2MjAzMjY2MTM=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/enhancement-provider", "name": "enhancement-provider", "color": "d4c5f9", "default": false, "description": "" }, { "id": 640744189, ...
closed
false
null
[]
null
[ "_This comment was originally opened by @nathansamson as https://github.com/hashicorp/terraform/issues/3058#issuecomment-133736351. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original comment is below._\r\n\r\n<hr>\r\n\r\nNa...
2017-06-13T13:30:41
2018-09-28T20:09:14
2018-09-28T20:09:13
NONE
null
_This issue was originally opened by @carmstrong as hashicorp/terraform#3058. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> Currently, we must specify the SSH key by its ID or fingerprint, which is only available by querying the DO API. This is a less than ideal user experience. With the DO API, we can enumerate all keys on an account. We should allow SSH keys to be specified by name as well as by ID.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/4/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/3
235,553,832
MDU6SXNzdWUyMzU1NTM4MzI=
3
provider/digitalocean: ssh_keys doesn't update on digitalocean_droplet
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[ { "id": 1049485552, "node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api", "name": "do-api", "color": "0080ff", "default": false, "description": "Depends on changes to the DigitalOcean API" } ]
closed
false
null
[]
null
[ "_This comment was originally opened by @cabbiepete as https://github.com/hashicorp/terraform/issues/2733#issuecomment-241158800. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original comment is below._\r\n\r\n<hr>\r\n\r\nThis...
2017-06-13T13:27:56
2020-07-07T22:40:40
2020-07-07T22:40:39
NONE
null
_This issue was originally opened by @shirkevich as hashicorp/terraform#2733. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> I'm trying to add second ssh key to working droplet, terraform output is ok, but in fact, second key is not provisioned: ``` digitalocean_droplet.docker: Modifying... ssh_keys.#: "1" => "2" ssh_keys.1: "" => "978405" ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3/reactions", "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/3/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2/events
https://github.com/digitalocean/terraform-provider-digitalocean/issues/2
235,553,749
MDU6SXNzdWUyMzU1NTM3NDk=
2
priority is required when domain record type is MX or SRV
{ "login": "hashibot", "id": 26720499, "node_id": "MDQ6VXNlcjI2NzIwNDk5", "avatar_url": "https://avatars.githubusercontent.com/u/26720499?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hashibot", "html_url": "https://github.com/hashibot", "followers_url": "https://api.github.com/users/hashibot/followers", "following_url": "https://api.github.com/users/hashibot/following{/other_user}", "gists_url": "https://api.github.com/users/hashibot/gists{/gist_id}", "starred_url": "https://api.github.com/users/hashibot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hashibot/subscriptions", "organizations_url": "https://api.github.com/users/hashibot/orgs", "repos_url": "https://api.github.com/users/hashibot/repos", "events_url": "https://api.github.com/users/hashibot/events{/privacy}", "received_events_url": "https://api.github.com/users/hashibot/received_events", "type": "User", "site_admin": false }
[]
closed
false
null
[]
null
[ "We've added some additional validation here to make it clear that, like the API itself, priority is required if the domain record type is MX or SRV. We error out early to avoid the failed API request. Now on apply you would receive:\r\n\r\n```\r\nError: `priority` is required for when type is `MX`\r\n\r\n on terr...
2017-06-13T13:27:41
2019-08-29T19:11:09
2019-08-29T19:11:09
NONE
null
_This issue was originally opened by @tvaughan as hashicorp/terraform#2561. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._ <hr> Terraform's DigitialOcean domain_record documentation says that [priority is optional](https://terraform.io/docs/providers/do/r/record.html). DigitalOcean's API documentation says that [priority is required if the domain record type is MX or SRV](https://developers.digitalocean.com/documentation/v2/#create-a-new-domain-record). When priority is not provided in a terraform plan and it is required by the DigitalOcean API, this is the error: ``` * Failed to create record: Error creating record: API Error: unprocessable_entity: Priority is not a number and Priority Priority must be an integer between 0 and 65535 ``` Tested on: ``` $ terraform --version Terraform v0.5.3 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid $ uname -m x86_64 ``` To reproduce: ``` resource "digitalocean_domain" "example" { ip_address = "127.0.0.1" name = "example.com" } resource "digitalocean_droplet" "mail" { image = "ubuntu-15-04-x64" name = "mail.${digitalocean_domain.example.name}" region = "nyc1" size = "512mb" ssh_keys = ["8675309"] } resource "digitalocean_record" "mail" { domain = "${digitalocean_domain.example.name}" name = "mail" type = "A" value = "${digitalocean_droplet.mail.ipv4_address}" } resource "digitalocean_record" "mx" { domain = "${digitalocean_domain.example.name}" type = "MX" value = "${digitalocean_record.mail.name}" } ``` I'd like to submit a pull-request to resolve this. Should the DigitalOcean provider require priority, or provide a default value, like 10, when type is MX or SRV? FWIW - I assumed terraform would provide a default.
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/2/timeline
null
completed
null
null
false
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1/labels{/name}
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1/comments
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1/events
https://github.com/digitalocean/terraform-provider-digitalocean/pull/1
235,438,787
MDExOlB1bGxSZXF1ZXN0MTI1MjgwNDcx
1
resource_digitalocean_firewall.go: Add DO Cloud Firewalls (#15124)
{ "login": "keithnoguchi", "id": 53918, "node_id": "MDQ6VXNlcjUzOTE4", "avatar_url": "https://avatars.githubusercontent.com/u/53918?v=4", "gravatar_id": "", "url": "https://api.github.com/users/keithnoguchi", "html_url": "https://github.com/keithnoguchi", "followers_url": "https://api.github.com/users/keithnoguchi/followers", "following_url": "https://api.github.com/users/keithnoguchi/following{/other_user}", "gists_url": "https://api.github.com/users/keithnoguchi/gists{/gist_id}", "starred_url": "https://api.github.com/users/keithnoguchi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/keithnoguchi/subscriptions", "organizations_url": "https://api.github.com/users/keithnoguchi/orgs", "repos_url": "https://api.github.com/users/keithnoguchi/repos", "events_url": "https://api.github.com/users/keithnoguchi/events{/privacy}", "received_events_url": "https://api.github.com/users/keithnoguchi/received_events", "type": "User", "site_admin": false }
[ { "id": 620326613, "node_id": "MDU6TGFiZWw2MjAzMjY2MTM=", "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/enhancement-provider", "name": "enhancement-provider", "color": "d4c5f9", "default": false, "description": "" } ]
closed
false
null
[]
null
[ "If something that I miss, let me know, @stack72! I'm open to any suggestions for improvements!\r\n\r\nThank you for your support, Paul!\r\n\r\nCheers!", "Patiently waiting for this! 👍 ", "Hi @keinohguchi \r\n\r\nI am going to bring this down locally and make a few changes to it. In essence, we tend to use si...
2017-06-13T05:21:52
2017-06-17T15:31:53
2017-06-16T19:24:47
CONTRIBUTOR
null
https://www.digitalocean.com/products/cloud-firewalls/ https://blog.digitalocean.com/cloud-firewalls-secure-droplets-by-default/ https://github.com/digitalocean/godo/commit/4fa9e9d999007b447089056a1c581b5594f0f851 ``` air$ go test -v -run TestAccDigitalOceanFirewall === RUN TestAccDigitalOceanFirewall_importBasic === RUN TestAccDigitalOceanFirewall_importBasic/only_allow_inbound_SSH(TCP/22) === RUN TestAccDigitalOceanFirewall_importBasic/only_allow_outbound_SSH(TCP/22) === RUN TestAccDigitalOceanFirewall_importBasic/only_allow_inbound_SSH(TCP/22)_and_HTTP(TCP/80) === RUN TestAccDigitalOceanFirewall_importBasic/only_allow_outbound_SSH(TCP/22)_and_DNS(UDP/53) === RUN TestAccDigitalOceanFirewall_importBasic/allow_inbound_and_outbound_HTTPS(TCP/443),_inbound_SSH(TCP/22),_and_outbound_DNS(UDP/53) --- PASS: TestAccDigitalOceanFirewall_importBasic (19.14s) --- PASS: TestAccDigitalOceanFirewall_importBasic/only_allow_inbound_SSH(TCP/22) (3.89s) --- PASS: TestAccDigitalOceanFirewall_importBasic/only_allow_outbound_SSH(TCP/22) (4.61s) --- PASS: TestAccDigitalOceanFirewall_importBasic/only_allow_inbound_SSH(TCP/22)_and_HTTP(TCP/80) (3.48s) --- PASS: TestAccDigitalOceanFirewall_importBasic/only_allow_outbound_SSH(TCP/22)_and_DNS(UDP/53) (4.05s) --- PASS: TestAccDigitalOceanFirewall_importBasic/allow_inbound_and_outbound_HTTPS(TCP/443),_inbound_SSH(TCP/22),_and_outbound_DNS(UDP/53) (3.11s) === RUN TestAccDigitalOceanFirewall_Basic === RUN TestAccDigitalOceanFirewall_Basic/only_allow_inbound_SSH(TCP/22) === RUN TestAccDigitalOceanFirewall_Basic/only_allow_outbound_SSH(TCP/22) === RUN TestAccDigitalOceanFirewall_Basic/only_allow_inbound_SSH(TCP/22)_and_HTTP(TCP/80) === RUN TestAccDigitalOceanFirewall_Basic/only_allow_outbound_SSH(TCP/22)_and_DNS(UDP/53) === RUN TestAccDigitalOceanFirewall_Basic/allow_inbound_and_outbound_HTTPS(TCP/443),_inbound_SSH(TCP/22),_and_outbound_DNS(UDP/53) --- PASS: TestAccDigitalOceanFirewall_Basic (18.77s) --- PASS: TestAccDigitalOceanFirewall_Basic/only_allow_inbound_SSH(TCP/22) (3.56s) --- PASS: TestAccDigitalOceanFirewall_Basic/only_allow_outbound_SSH(TCP/22) (3.73s) --- PASS: TestAccDigitalOceanFirewall_Basic/only_allow_inbound_SSH(TCP/22)_and_HTTP(TCP/80) (3.21s) --- PASS: TestAccDigitalOceanFirewall_Basic/only_allow_outbound_SSH(TCP/22)_and_DNS(UDP/53) (3.84s) --- PASS: TestAccDigitalOceanFirewall_Basic/allow_inbound_and_outbound_HTTPS(TCP/443),_inbound_SSH(TCP/22),_and_outbound_DNS(UDP/53) (4.43s) PASS ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 37.920s air$ ```
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1/reactions", "total_count": 5, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 5, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1/timeline
null
null
false
{ "url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1", "html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1", "diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1.diff", "patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1.patch", "merged_at": "2017-06-16T19:24:47" }
true