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/224 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/224/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/224/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/224/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/224 | 437,242,198 | MDU6SXNzdWU0MzcyNDIxOTg= | 224 | Read-only Database Replica Resource | {
"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": 640744178,
"node_id": "MDU6TGFiZWw2NDA3NDQxNzg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-resource",
"name": "new-resource",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"I can take this one!",
"Just a note on this for others who might be in the same situation - seems the DO API is a bit weird when it comes to replicas, and doesn't list UUIDs for them, even though internally they have UUIDs.\r\n'Cluster' UUIDs are needed for firewall rules / trusted sources for replicas.\r\nI hav... | 2019-04-25T14:49:40 | 2022-09-08T09:08:53 | 2019-09-25T00:38:18 | MEMBER | null | With the addition of support for DigitalOcean Managed Databases, we should extend support for related resources such as read-only replicas.
Proposed format:
```hcl
resource "digitalocean_database_replica" "read-01" {
cluster_id = "${digitalocean_database.foo.id}"
name = "read-replica-01"
region = "nyc3"
size = "db-s-2vcpu-4gb"
}
```
API: https://developers.digitalocean.com/documentation/v2/#create-a-read-only-replica
Related: https://github.com/terraform-providers/terraform-provider-digitalocean/issues/189 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/224/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/224/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/223 | 437,144,659 | MDU6SXNzdWU0MzcxNDQ2NTk= | 223 | Add digitalocean_database_cluster inbound rules | {
"login": "pjanuario",
"id": 477458,
"node_id": "MDQ6VXNlcjQ3NzQ1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/477458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjanuario",
"html_url": "https://github.com/pjanuario",
"followers_url": "https://api.github.com/users/pjanuario/followers",
"following_url": "https://api.github.com/users/pjanuario/following{/other_user}",
"gists_url": "https://api.github.com/users/pjanuario/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjanuario/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjanuario/subscriptions",
"organizations_url": "https://api.github.com/users/pjanuario/orgs",
"repos_url": "https://api.github.com/users/pjanuario/repos",
"events_url": "https://api.github.com/users/pjanuario/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjanuario/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 | [
"Unfortunately, the DigitalOcean API does not currently support configuring inbound rules. Once support is added there, we'll bring it into the provider.",
"https://github.com/digitalocean/api-v2/issues/178 Added an issue requesting an update on this feature with the API. Maybe we can get some more visibility/tra... | 2019-04-25T11:18:27 | 2020-02-26T19:33:46 | 2020-02-26T19:33:46 | NONE | null | **New Resource(s)**
digitalocean_database_inbound
**Details**
DigitalOcean released a new managed database service. It would be nice to manage that resouce, some work was already done by adding the new resource digitalocean_database_cluster, would be good if we could manage the inbound source via Terraform.
This issue is related with https://github.com/terraform-providers/terraform-provider-digitalocean/issues/189 and https://github.com/terraform-providers/terraform-provider-digitalocean/issues/222
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/223/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/222 | 437,133,717 | MDU6SXNzdWU0MzcxMzM3MTc= | 222 | Add digitalocean_database and digitalocean_user support on digitalocean_database_cluster resource | {
"login": "pjanuario",
"id": 477458,
"node_id": "MDQ6VXNlcjQ3NzQ1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/477458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pjanuario",
"html_url": "https://github.com/pjanuario",
"followers_url": "https://api.github.com/users/pjanuario/followers",
"following_url": "https://api.github.com/users/pjanuario/following{/other_user}",
"gists_url": "https://api.github.com/users/pjanuario/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pjanuario/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pjanuario/subscriptions",
"organizations_url": "https://api.github.com/users/pjanuario/orgs",
"repos_url": "https://api.github.com/users/pjanuario/repos",
"events_url": "https://api.github.com/users/pjanuario/events{/privacy}",
"received_events_url": "https://api.github.com/users/pjanuario/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744178,
"node_id": "MDU6TGFiZWw2NDA3NDQxNzg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-resource",
"name": "new-resource",
"color": "d4c5f9",
"default": false,
"description": null
},
{
"id": 919581746,
"node_id": ... | closed | false | null | [] | null | [
"Is there a way to create databases and users with terraform provisionally?\r\n\r\nI'm really interested in this feature.",
"@Yamilquery There is a [PostgreSQL provider](https://www.terraform.io/docs/providers/postgresql/index.html) that will let you create databases and roles. (You'll quickly find yourself in th... | 2019-04-25T10:50:54 | 2019-10-29T19:09:08 | 2019-10-29T18:40:20 | NONE | null | **New Resource(s)**
digitalocean_database
digitalocean_user
**Details**
DigitalOcean released a new managed database service. It would be nice to manage that resouce, some work was already done by adding the new resource digitalocean_database_cluster, would be good if we could manage database creation and user configuration via Terraform.
This issue is related with https://github.com/terraform-providers/terraform-provider-digitalocean/issues/189
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/222/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/221 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/221/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/221/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/221/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/221 | 436,394,401 | MDExOlB1bGxSZXF1ZXN0MjcyODk2MzM3 | 221 | Update sidebar and fix typo. | {
"login": "aabouzaid",
"id": 6760103,
"node_id": "MDQ6VXNlcjY3NjAxMDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6760103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aabouzaid",
"html_url": "https://github.com/aabouzaid",
"followers_url": "https://api.github.com/users/aabouzaid/followers",
"following_url": "https://api.github.com/users/aabouzaid/following{/other_user}",
"gists_url": "https://api.github.com/users/aabouzaid/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aabouzaid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aabouzaid/subscriptions",
"organizations_url": "https://api.github.com/users/aabouzaid/orgs",
"repos_url": "https://api.github.com/users/aabouzaid/repos",
"events_url": "https://api.github.com/users/aabouzaid/events{/privacy}",
"received_events_url": "https://api.github.com/users/aabouzaid/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":man_facepalming: Doh! Great catches.\r\n\r\nRe: `resource_digitalocean_droplet_migrate` - That file is not actually a resource itself. It is a helper to automatically update the state file for a past change to the `digitalocean_droplet` resource's schema file.\r\n\r\nThanks for the contribution!"
] | 2019-04-23T21:16:47 | 2019-04-23T21:35:39 | 2019-04-23T21:35:38 | CONTRIBUTOR | null | Hello,
The `droplet-snapshot` pages were missing in the docs sidebar so I added them (datasource and resource).
Also there was a typo in `kubernetes_node_pool` file where it was "kuber**en**tes" also the file wasn't follow the convention where it has "digital_ocean" instead "digitalocean".
Another resource is missing is `resource_digitalocean_droplet_migrate` but there is no docs for it at all (so it's not added because no docs).
Maybe @TFaga knows about it (the only name I see in git log related to that file).
Thanks. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/221/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/221/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/221",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/221",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/221.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/221.patch",
"merged_at": "2019-04-23T21:35:38"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/220 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/220/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/220/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/220/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/220 | 435,296,046 | MDExOlB1bGxSZXF1ZXN0MjcyMDg2ODI2 | 220 | Documentation updates in preparation for release | {
"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": 620327014,
"node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation",
"name": "documentation",
"color": "fef2c0",
"default": true,
"description": null
},
{
"id": 737911926,
"node_id":... | closed | false | null | [] | null | [] | 2019-04-19T20:31:06 | 2019-04-23T14:47:10 | 2019-04-23T14:47:07 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/220/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/220/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/220",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/220",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/220.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/220.patch",
"merged_at": "2019-04-23T14:47:07"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/219 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/219/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/219/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/219/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/219 | 434,696,288 | MDExOlB1bGxSZXF1ZXN0MjcxNjMxOTI3 | 219 | Feature/introduce cdn endpoint resource | {
"login": "pegerto",
"id": 261659,
"node_id": "MDQ6VXNlcjI2MTY1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/261659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pegerto",
"html_url": "https://github.com/pegerto",
"followers_url": "https://api.github.com/users/pegerto/followers",
"following_url": "https://api.github.com/users/pegerto/following{/other_user}",
"gists_url": "https://api.github.com/users/pegerto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pegerto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pegerto/subscriptions",
"organizations_url": "https://api.github.com/users/pegerto/orgs",
"repos_url": "https://api.github.com/users/pegerto/repos",
"events_url": "https://api.github.com/users/pegerto/events{/privacy}",
"received_events_url": "https://api.github.com/users/pegerto/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
},
{
"id": 737911928,
"node_id":... | closed | false | null | [] | null | [
":+1: Merged after addressing the comment above."
] | 2019-04-18T10:19:59 | 2019-04-19T16:21:58 | 2019-04-19T16:21:23 | CONTRIBUTOR | null | * Introduces the CDN Resource the provider.
* Implements all of the resource methods, (CRUD).
* Covers the testing of CRUD with regards to the origin and ttl arguments.
* Updates the website documentation to cover the CDN resource. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/219/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/219/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/219",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/219",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/219.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/219.patch",
"merged_at": "2019-04-19T16:21:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/218 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/218/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/218/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/218/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/218 | 434,695,566 | MDExOlB1bGxSZXF1ZXN0MjcxNjMxMzQ3 | 218 | Feature/introduce projects resource | {
"login": "pegerto",
"id": 261659,
"node_id": "MDQ6VXNlcjI2MTY1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/261659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pegerto",
"html_url": "https://github.com/pegerto",
"followers_url": "https://api.github.com/users/pegerto/followers",
"following_url": "https://api.github.com/users/pegerto/following{/other_user}",
"gists_url": "https://api.github.com/users/pegerto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pegerto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pegerto/subscriptions",
"organizations_url": "https://api.github.com/users/pegerto/orgs",
"repos_url": "https://api.github.com/users/pegerto/repos",
"events_url": "https://api.github.com/users/pegerto/events{/privacy}",
"received_events_url": "https://api.github.com/users/pegerto/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
},
{
"id": 737911928,
"node_id":... | closed | false | null | [] | null | [
":+1: Great work! Merged after addressing the above."
] | 2019-04-18T10:18:12 | 2019-04-19T17:18:10 | 2019-04-19T17:17:15 | CONTRIBUTOR | null | This PR introduces the DigitalOcean Project resource and supportive documentation/tests. The first tests cover the creation and updating of the basic fields in the project. Later tests add and update/remove the other resource associations with the project.
Notes:
To remove the resources from the project, the old resources are linked to the current default project and then the new resources are linked back to the managed project. The new list may include resources from the old list if they are still linked to the project.
The tests use the droplet and spaces resources, but there are other resources. The main requirement is the availability of the URN attribute on the resource and this was before this PR. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/218/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/218/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/218",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/218",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/218.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/218.patch",
"merged_at": "2019-04-19T17:17:14"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/217 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/217/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/217/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/217/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/217 | 434,692,250 | MDExOlB1bGxSZXF1ZXN0MjcxNjI4NzAx | 217 | Avoid drift when remote slug is updated | {
"login": "pegerto",
"id": 261659,
"node_id": "MDQ6VXNlcjI2MTY1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/261659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pegerto",
"html_url": "https://github.com/pegerto",
"followers_url": "https://api.github.com/users/pegerto/followers",
"following_url": "https://api.github.com/users/pegerto/following{/other_user}",
"gists_url": "https://api.github.com/users/pegerto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pegerto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pegerto/subscriptions",
"organizations_url": "https://api.github.com/users/pegerto/orgs",
"repos_url": "https://api.github.com/users/pegerto/repos",
"events_url": "https://api.github.com/users/pegerto/events{/privacy}",
"received_events_url": "https://api.github.com/users/pegerto/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: LGTM, a much more simple approach to restoring the previous behaviour."
] | 2019-04-18T10:09:59 | 2019-04-19T15:22:18 | 2019-04-19T15:22:18 | CONTRIBUTOR | null | Fixes #152
The provider does not try to detect drift to a droplet image remotely, as this operation either can happen without rebuilding the image, in that case, the drift will be captured by the imageId.
Image remote image drift appears when the slug is promoted to a new patch image. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/217/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/217/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/217",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/217",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/217.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/217.patch",
"merged_at": "2019-04-19T15:22:18"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/216 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/216/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/216/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/216/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/216 | 434,408,232 | MDExOlB1bGxSZXF1ZXN0MjcxNDA3MzA4 | 216 | Issue/152 - Avoid Droplet to create new resource when slug changes to different image | {
"login": "pegerto",
"id": 261659,
"node_id": "MDQ6VXNlcjI2MTY1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/261659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pegerto",
"html_url": "https://github.com/pegerto",
"followers_url": "https://api.github.com/users/pegerto/followers",
"following_url": "https://api.github.com/users/pegerto/following{/other_user}",
"gists_url": "https://api.github.com/users/pegerto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pegerto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pegerto/subscriptions",
"organizations_url": "https://api.github.com/users/pegerto/orgs",
"repos_url": "https://api.github.com/users/pegerto/repos",
"events_url": "https://api.github.com/users/pegerto/events{/privacy}",
"received_events_url": "https://api.github.com/users/pegerto/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
},
{
"id": 737911927,
"node_id":... | closed | false | null | [] | null | [] | 2019-04-17T17:47:25 | 2019-04-17T20:17:53 | 2019-04-17T20:17:53 | CONTRIBUTOR | null | Fixes #152
1. This PR has been tested tampering with the data provided by the API for different applications. It suppresses changes base on comparing the image to image_id and slug. So if the slug is not present during the API response but the image is returned, then is suppressed as it matches the image id.
2. In the case that there is no information about slug and image_id in the state, and the image contains a slug the information is updated locally.
3. If the API and image are and there is no information available,
- Suppress change when the target value is slung and we have an image id. ( case of the users affected during migration)
- Do not suppress change if the API returns a slug and the service return an image id.
Test cases:
| HCL | Droplet API (Read) | State | Suppressed |
|:---------:|:------------------:|:-------------------------------------------------:|--------------------|
| ubuntu_19 | ubuntu_19 | image: ubuntu_19 | No Invoked |
| ubuntu_19 | 10000 | image: ubuntu_19 | True (issue_case) |
| 10000 | ubuntu_19 | image: 10000 | False |
| 10000 | 10000 | image: 10000 | No Invoked |
| centos_7 | 10000 | image: 10000 | 👎 This case, conflicts with the bug, we have update the state, no information on slug, if the schema change to slug, we dont know if the images have previously the slug, suppressing the change |
| ubuntu_19 | centos_7 | image ubuntu_19 (state_will_update) | False |
| 10000 | 10000 | image: 10000, image_id: 10000 | No Invoked |
| 10000 | ubuntu_19 | image: 10000, image_id: 10000 | False |
| ubuntu_19 | ubuntu_19 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | No Invoked |
| ubuntu_19 | 10000 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | True |
| ubuntu_19 | 10001 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | False |
| 10000 | ubuntu_19 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | True (same image) |
| 10000 | 10000 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | No Invoked |
| centos_7 | ubuntu_19 | image: ubuntu_19, image_id: 10000,slug: ubuntu_19 | False |
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/216/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/216/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/216",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/216",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/216.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/216.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/215 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/215/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/215/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/215/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/215 | 433,646,231 | MDExOlB1bGxSZXF1ZXN0MjcwODAxODg5 | 215 | Feature/introduce urn attribute to droplet | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: "
] | 2019-04-16T08:22:08 | 2019-04-16T14:22:12 | 2019-04-16T14:22:12 | NONE | null | This PR introduces the URN attribute for the droplet resource. This covers the datasource and the resource. Alterations also include the website to document the new attribute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/215/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/215/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/215",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/215",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/215.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/215.patch",
"merged_at": "2019-04-16T14:22:12"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/214 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/214/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/214/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/214/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/214 | 433,371,735 | MDExOlB1bGxSZXF1ZXN0MjcwNTg3NTEy | 214 | Feature/introduce urn attribute to loadbalancer | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":shipit: "
] | 2019-04-15T16:24:26 | 2019-04-15T16:41:42 | 2019-04-15T16:41:42 | NONE | null | This PR introduces the URN attribute for the load balancer resource. This covers the datasource and the resource. Alterations also include the website to document the new attribute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/214/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/214/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/214",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/214",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/214.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/214.patch",
"merged_at": "2019-04-15T16:41:41"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/213 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/213/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/213/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/213/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/213 | 433,370,433 | MDExOlB1bGxSZXF1ZXN0MjcwNTg2NTA0 | 213 | Feature/introduce urn attribute to domain | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: "
] | 2019-04-15T16:21:32 | 2019-04-15T16:33:37 | 2019-04-15T16:33:37 | NONE | null | This PR introduces the URN attribute for the domain resource. This covers the datasource and the resource. Alterations also include the website to document the new attribute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/213/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/213/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/213",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/213",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/213.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/213.patch",
"merged_at": "2019-04-15T16:33:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/212 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/212/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/212/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/212/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/212 | 433,368,671 | MDExOlB1bGxSZXF1ZXN0MjcwNTg1MDkz | 212 | Feature/introduce urn attribute to volume | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: "
] | 2019-04-15T16:17:17 | 2019-04-16T14:18:16 | 2019-04-16T14:18:16 | NONE | null | This PR introduces the URN attribute for the Volumes resource. This covers the datasource and the resource. Alterations also include the website to document the new attribute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/212/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/212/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/212",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/212",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/212.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/212.patch",
"merged_at": "2019-04-16T14:18:16"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/211 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/211/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/211/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/211/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/211 | 433,367,940 | MDExOlB1bGxSZXF1ZXN0MjcwNTg0NTM2 | 211 | Updates the floating ip resource to expose the urn. | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: "
] | 2019-04-15T16:15:30 | 2019-04-15T16:31:23 | 2019-04-15T16:31:23 | NONE | null | This PR introduces the URN attribute for the Floating ip resource. This covers the datasource and the resource. Alterations also include the website to document the new attribute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/211/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/211/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/211",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/211",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/211.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/211.patch",
"merged_at": "2019-04-15T16:31:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/210 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/210/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/210/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/210/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/210 | 433,365,650 | MDExOlB1bGxSZXF1ZXN0MjcwNTgyNzI5 | 210 | Updates the spaces resource to expose the urn. | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: - Good call on using AMS3."
] | 2019-04-15T16:10:30 | 2019-04-15T16:28:18 | 2019-04-15T16:28:18 | NONE | null | This PR Introduces the URN attribute into the spaces/bucket resource. Unlike the other resources that use the structs from the godo client, the spaces resource does not do this in the read function. As a result the URN is created in the read function.
**NOTE:** DigitialOcean API is not allowing the use of nyc3 for spaces/bucket creation and so the use of ams3 as a region has been used to allow the tests to execute. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/210/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/210/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/210",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/210",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/210.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/210.patch",
"merged_at": "2019-04-15T16:28:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/209 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/209/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/209/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/209/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/209 | 432,963,544 | MDExOlB1bGxSZXF1ZXN0MjcwMjkwMzM0 | 209 | Normalize case for region attribute across all resources | {
"login": "thojkooi",
"id": 5007509,
"node_id": "MDQ6VXNlcjUwMDc1MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5007509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thojkooi",
"html_url": "https://github.com/thojkooi",
"followers_url": "https://api.github.com/users/thojkooi/followers",
"following_url": "https://api.github.com/users/thojkooi/following{/other_user}",
"gists_url": "https://api.github.com/users/thojkooi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thojkooi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thojkooi/subscriptions",
"organizations_url": "https://api.github.com/users/thojkooi/orgs",
"repos_url": "https://api.github.com/users/thojkooi/repos",
"events_url": "https://api.github.com/users/thojkooi/events{/privacy}",
"received_events_url": "https://api.github.com/users/thojkooi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911927,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjc=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/S",
"name": "size/S",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: Thanks for the PR @thojkooi! "
] | 2019-04-14T11:37:28 | 2019-04-15T17:49:16 | 2019-04-15T16:03:10 | CONTRIBUTOR | null | Fix #208 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/209/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/209/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/209",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/209",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/209.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/209.patch",
"merged_at": "2019-04-15T16:03:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/208 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/208/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/208/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/208/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/208 | 432,749,468 | MDU6SXNzdWU0MzI3NDk0Njg= | 208 | Normalize case for region attribute across all resources | {
"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": 919581746,
"node_id": "MDU6TGFiZWw5MTk1ODE3NDY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/good%20first%20issue",
"name": "good first issue",
"color": "128A0C",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2019-04-12T21:18:11 | 2019-04-15T16:03:10 | 2019-04-15T16:03:10 | MEMBER | null | The DigitalOcean API expects region slugs to be provided in lower case. Currently we normalize the case in the Droplet, Kubernetes cluster, and database cluster resources using a `StateFunc`. We should consistently do this across all of the resources that accept a region attribute from a user.
Example `StateFunc` from the Droplet resource:
https://github.com/terraform-providers/terraform-provider-digitalocean/blob/9b3175dc9ba63d14815e6faf2dba79446958f8b5/digitalocean/resource_digitalocean_droplet.go#L58-L61 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/208/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/208/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/207 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/207/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/207/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/207/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/207 | 432,635,696 | MDU6SXNzdWU0MzI2MzU2OTY= | 207 | Implement the Project Resource | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Closed via https://github.com/terraform-providers/terraform-provider-digitalocean/pull/218"
] | 2019-04-12T15:57:11 | 2019-04-19T17:19:04 | 2019-04-19T17:19:04 | NONE | null | #### Description
This issue covers the introduction of the Project resource into the DigitalOcean terraform provider.
After PRs relating to this issue are merged, the provider will allow a developer to provision a
Project. The developer should expect to be able to adjust attributes
relating to Project and associate a subset of DigitalOcean resources with the project.
This new resources will be implemented using to godo library that is a client to the
digitalocean v2 API:
* https://developers.digitalocean.com/documentation/v2
This issue will focus on the Projects section of the documentation:
* https://developers.digitalocean.com/documentation/v2/#projects
* https://developers.digitalocean.com/documentation/v2/#project-resources
#### Proposed Terraform Structure
```
resource "digitalocean_project" "api" {
name = "my-web-api"
description = ""
purpose = ""
environment = "development"
resources = [
"${digitalocean_volume.foo.urn}"
"${digitalocean_spaces_bucket.foo.urn}"
"${digitalocean_droplet.foo.urn}"
]
}
```
#### Validation of CDN attributes
The following validations are being placed on the fields.
1. name - required; cannot be zero; length of 1 - 175 characters.
2. description - Optional; default ""; length of 0 - 255 characters.
3. purpose - Optional; default "Web Application"; length of 0 -255 characters.
4. environment - Optional; default "Development"; restricted to Development, Staging, Production
5. resources - Optional.
#### Assumptions
1. The use of a default project is to be able to assign resources to it automatically. This would create too much drift if the project is provisioned through Terraform and as a result, the "is_default" attribute will be assigned "false" and a user will not be able to set it through terraform.
2. The console allows a name change at the project level and this does not create a new resource. The terraform will not create a new project if the name changes.
3. When a project is removed from the account then the project resources, (the relationship itself) is removed and the individual resources are automatically associated with the existing default project.
#### Proposed Tasks
- [] Update the following existing resources to expose a URN attribute, (inc website).
* [MERGED] Droplet
* [MERGED] Load Balancer
* [MERGED ]Domain
* [MERGED]Volume
* [MERGED] Floating IP
* [MERGED] Spaces Bucket
- [] Update digitalocean/provider.go to expose new resource.
- [] Define schema to represent the previous proposed terraform structures.
- [] Create digitalocean/resource_digitalocean_project.go and digitalocean/resource_digitalocean_project_test.go
- [] Update website documentation to explain the use of Project resource within the provider.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/207/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/207/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/206 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/206/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/206/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/206/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/206 | 432,621,619 | MDExOlB1bGxSZXF1ZXN0MjcwMDU1OTg2 | 206 | Feature/Introduce CDN Endpoint resource | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/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
},
{
"id": 737911928,
"node_id":... | closed | false | null | [] | null | [
"@trentrosenbaum is this ready for testing and review or was it opened prematurely? ",
"Sorry, yes this was opened prematurely."
] | 2019-04-12T15:25:40 | 2019-04-12T21:47:29 | 2019-04-12T15:31:12 | NONE | null | * Introduces the CDN Resource the provider.
* Implements all of the resource methods, (CRUD).
* Covers the testing of CRUD with regards to the origin and ttl arguments.
* Updates the website documentation to cover the CDN resource. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/206/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/206/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/206",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/206",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/206.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/206.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/205 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/205/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/205/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/205/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/205 | 432,096,396 | MDExOlB1bGxSZXF1ZXN0MjY5NjMxNjI4 | 205 | Fix typo in k8s cluster resource test filename | {
"login": "flyte",
"id": 1153496,
"node_id": "MDQ6VXNlcjExNTM0OTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1153496?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flyte",
"html_url": "https://github.com/flyte",
"followers_url": "https://api.github.com/users/flyte/followers",
"following_url": "https://api.github.com/users/flyte/following{/other_user}",
"gists_url": "https://api.github.com/users/flyte/gists{/gist_id}",
"starred_url": "https://api.github.com/users/flyte/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flyte/subscriptions",
"organizations_url": "https://api.github.com/users/flyte/orgs",
"repos_url": "https://api.github.com/users/flyte/repos",
"events_url": "https://api.github.com/users/flyte/events{/privacy}",
"received_events_url": "https://api.github.com/users/flyte/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Thanks @flyte!"
] | 2019-04-11T15:46:51 | 2019-04-11T21:52:38 | 2019-04-11T21:52:38 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/205/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/205/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/205",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/205",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/205.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/205.patch",
"merged_at": "2019-04-11T21:52:38"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/204 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/204/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/204/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/204/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/204 | 431,704,743 | MDU6SXNzdWU0MzE3MDQ3NDM= | 204 | Implement CDN Endpoint Resource | {
"login": "trentrosenbaum",
"id": 371685,
"node_id": "MDQ6VXNlcjM3MTY4NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/371685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/trentrosenbaum",
"html_url": "https://github.com/trentrosenbaum",
"followers_url": "https://api.github.com/users/trentrosenbaum/followers",
"following_url": "https://api.github.com/users/trentrosenbaum/following{/other_user}",
"gists_url": "https://api.github.com/users/trentrosenbaum/gists{/gist_id}",
"starred_url": "https://api.github.com/users/trentrosenbaum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trentrosenbaum/subscriptions",
"organizations_url": "https://api.github.com/users/trentrosenbaum/orgs",
"repos_url": "https://api.github.com/users/trentrosenbaum/repos",
"events_url": "https://api.github.com/users/trentrosenbaum/events{/privacy}",
"received_events_url": "https://api.github.com/users/trentrosenbaum/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
":+1: Sounds good @trentrosenbaum. Thanks for the detailed write up.",
"Closed via https://github.com/terraform-providers/terraform-provider-digitalocean/pull/219"
] | 2019-04-10T20:36:03 | 2019-04-19T17:18:41 | 2019-04-19T17:18:41 | NONE | null | #### Description
This issue covers the introduction of the CDN endpoint resource into the digitalocean terraform provider.
After PRs relating to this issue are merged, the provider will allow a developer to provision a
CDN in front of a digitalocean space. The developer should expect to be able to adjust attributes
relating to ttl and the use of a customer domain.
This new resources will be implemented using to godo library that is a client to the
digitalocean v2 API:
* https://developers.digitalocean.com/documentation/v2
This issue will focus on the CDN Endpoints section of the documentation:
* https://developers.digitalocean.com/documentation/v2/#cdn-endpoints
#### Proposed Terraform Structure
```
resource "digitalocean_cdn" "foobar" {
origin = "${digitalocean_spaces_bucket.bucket.bucket_domain_name}"
}
```
or
```
resource "digitalocean_cdn" "foobar" {
origin = "${digitalocean_spaces_bucket.bucket.bucket_domain_name}"
ttl = 1800
}
```
or
```
resource "digitalocean_cdn" "foobar" {
origin = "${digitalocean_spaces_bucket.bucket.bucket_domain_name}"
custom_domain = "${digitalocean_record.foo.fqdn}"
certificate_id = "${digitalocean_certificate.foo.id}"
}
```
or
```
resource "digitalocean_cdn" "foobar" {
origin = "${digitalocean_spaces_bucket.bucket.bucket_domain_name}"
custom_domain = "${digitalocean_record.foo.fqdn}"
certificate_id = "${digitalocean_certificate.foo.id}"
ttl = 1800
}
```
#### Validation of CDN attributes
The only documented required field is "origin" and this will be set in the schema.
Next we have optional fields and this include "custom_domain" and the "certificate_id".
These will be validate before the resource is created and updated and fail if either is present without the other.
The CDN endpoints API mentions the TTL default is 3600 seconds, (1 hour). Validation will make sure it is at least 1 second.
This TTL validation is present on the existing records resource, (resource_digitalocean_record.go)
#### Proposed Tasks
- [] Update digitalocean/provider.go to expose new resource.
- [] Define schema to represent the previous proposed terraform structures.
- [] Create digitalocean/resource_digitalocean_cdn.go and digitalocean/resource_digitalocean_cdn_test.go
- [] Update website documentation to explain the use of CDN resource within provider.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/204/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/204/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/203 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/203/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/203/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/203/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/203 | 429,077,865 | MDU6SXNzdWU0MjkwNzc4NjU= | 203 | Multiple digitalocean_record: 500 Server was unable to give you a response. | {
"login": "MarianoRD",
"id": 10457534,
"node_id": "MDQ6VXNlcjEwNDU3NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/10457534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarianoRD",
"html_url": "https://github.com/MarianoRD",
"followers_url": "https://api.github.com/users/MarianoRD/followers",
"following_url": "https://api.github.com/users/MarianoRD/following{/other_user}",
"gists_url": "https://api.github.com/users/MarianoRD/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MarianoRD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarianoRD/subscriptions",
"organizations_url": "https://api.github.com/users/MarianoRD/orgs",
"repos_url": "https://api.github.com/users/MarianoRD/repos",
"events_url": "https://api.github.com/users/MarianoRD/events{/privacy}",
"received_events_url": "https://api.github.com/users/MarianoRD/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"I'm seeing a similar issue running `terraform plan`, it's only started happening recently. Perhaps it's a network / API issue? Maybe the provider could handle 500 errors from the API better and retry?",
"Yes @glynnforrest I think it's an issue that DigitalOcean might not be able to response to so many requests i... | 2019-04-04T04:28:18 | 2019-07-24T21:49:11 | 2019-04-30T01:05:52 | NONE | null | ### Terraform Version
```bash
Terraform v0.11.11
+ provider.digitalocean v1.1.0
+ provider.google v2.3.0
```
### Affected Resource(s)
- digitalocean_record
### Terraform Configuration Files
```hcl
// blindcut-vpn.com
resource "digitalocean_domain" "default" {
name = "example.com"
}
// Monitoring
resource "digitalocean_record" "test" {
domain = "${digitalocean_domain.default.name}"
type = "A"
name = "test"
value = "10.10.10.10"
}
```
### Expected Behavior
```hcl
Plan: x to add, x to change, x to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
```
### Actual Behavior
```hcl
Error: Error refreshing state: 1 error(s) occurred:
* digitalocean_record.test: 1 error(s) occurred:
* digitalocean_record.test: digitalocean_record.test: GET https://api.digitalocean.com/v2/domains/blindcut-vpn.com/records/xxxxxxxx: 500 Server was unable to give you a response.
```
Sometimes it's just one record, sometimes there are 2 or 3 records that throw the error 500. Each run is usually a different record and a different amount.
### Steps to Reproduce
1. Create about 25 records and 1 domain
2. `terraform apply` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/203/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/203/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/202 | 426,639,834 | MDExOlB1bGxSZXF1ZXN0MjY1NDQ5MDM5 | 202 | Certificates: Move attribute validation from CustomizeDiff to Create (Fixes: #163). | {
"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": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Nice job with this one"
] | 2019-03-28T18:14:35 | 2019-04-02T17:19:21 | 2019-04-02T17:19:18 | MEMBER | null | When CustomizeDiff is run for a new resource, it does not have access to the
current state. In the digitalocean_certificate resource, we are using a
CustomizeDiff function to validate that certain attributes are used together
depending on the certificate type. When the value for one of those attributes
is interpolated, as in the case of generating a cert using the acme provider,
the validation fails since it depends on reading the value from state. As state
is not present, the value is interpreted as empty.
From the CustomizeDiff doc string:
> // The phases Terraform runs this in, and the state available via functions
> // like Get and GetChange, are as follows:
> //
> // * New resource: One run with no state
https://godoc.org/github.com/hashicorp/terraform/helper/schema#Resource
This PR moves the validation from the CustomizeDiff function into the
Create function as well as adding acceptance tests:
```
$ make testacc TESTARGS='-run=TestAccDigitalOceanCertificate_ExpectedErrors'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanCertificate_ExpectedE$
? github.com/terraform-providers/terraform-provider-digitalocean [no test files]
=== RUN TestAccDigitalOceanCertificate_ExpectedErrors
--- PASS: TestAccDigitalOceanCertificate_ExpectedErrors (0.10s)
PASS
ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean (cached)
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/202/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/202",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/202",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/202.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/202.patch",
"merged_at": "2019-04-02T17:19:18"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/201 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/201/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/201/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/201/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/201 | 426,214,954 | MDExOlB1bGxSZXF1ZXN0MjY1MTI2Nzcy | 201 | Update Firewall docs to be 0.12-beta compatible (Fixes #200). | {
"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": 620327014,
"node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation",
"name": "documentation",
"color": "fef2c0",
"default": true,
"description": null
},
{
"id": 737911927,
"node_id":... | closed | false | null | [] | null | [] | 2019-03-27T22:41:21 | 2019-03-28T18:16:18 | 2019-03-28T18:16:14 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/201/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/201/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/201",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/201",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/201.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/201.patch",
"merged_at": "2019-03-28T18:16:14"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/200 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/200/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/200/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/200/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/200 | 425,789,441 | MDU6SXNzdWU0MjU3ODk0NDE= | 200 | Update digitalocean_firewall documentation for Terraform v0.12.0 | {
"login": "lyc0221",
"id": 40416749,
"node_id": "MDQ6VXNlcjQwNDE2NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/40416749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lyc0221",
"html_url": "https://github.com/lyc0221",
"followers_url": "https://api.github.com/users/lyc0221/followers",
"following_url": "https://api.github.com/users/lyc0221/following{/other_user}",
"gists_url": "https://api.github.com/users/lyc0221/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lyc0221/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lyc0221/subscriptions",
"organizations_url": "https://api.github.com/users/lyc0221/orgs",
"repos_url": "https://api.github.com/users/lyc0221/repos",
"events_url": "https://api.github.com/users/lyc0221/events{/privacy}",
"received_events_url": "https://api.github.com/users/lyc0221/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
},
{
"id": 1292111220,
"node_id"... | closed | false | null | [] | null | [
"With Terraform 0.12 there will be some changes to the accepted syntax. Looks like we'll need to update the documentation for the firewall resource for this.\r\n\r\nThe command `terraform 0.12upgrade` should handle this automatically producing a diff like:\r\n\r\n```diff\r\n- inbound_rule = [\r\n- {\r\n- p... | 2019-03-27T06:41:31 | 2019-03-28T18:16:15 | 2019-03-28T18:16:15 | NONE | null | terraform version:
v0.12.0-beta1
provider file:
http://terraform-0.12.0-dev-snapshots.s3-website-us-west-2.amazonaws.com/terraform-provider-digitalocean/1.2.0-dev20190216H00-dev/terraform-provider-digitalocean_1.2.0-dev20190216H00-dev_darwin_amd64.zip
configure digitalocean_firewall, and terraform plan report the following error:
```
An argument named "inbound_rule" is not expected here. Did you mean to define
a block of type "inbound_rule"?
```
.tf file
```
resource "digitalocean_firewall" "basic" {
name = format("%s-%s-icmp-ssh", var.service, var.environment)
count = var.enable_rule_basic ? 1 : 0
droplet_ids = var.droplet_ids
inbound_rule = [
{
protocol = "tcp"
port_range = "22"
source_addresses = ["0.0.0.0/0", "::/0"]
},
{
protocol = "icmp"
port_range = ""
source_addresses = ["0.0.0.0/0", "::/0"]
}]
}
```
example usage
https://www.terraform.io/docs/providers/do/r/firewall.html
How?
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/200/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/200/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/199 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/199/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/199/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/199/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/199 | 425,147,568 | MDExOlB1bGxSZXF1ZXN0MjY0MzEzNDA2 | 199 | Add support for enabling PROXY Protocol on Load Balancers. | {
"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": 620327014,
... | closed | false | null | [] | null | [] | 2019-03-25T22:41:39 | 2019-03-28T18:17:15 | 2019-03-28T18:17:10 | MEMBER | null | ```
$ make testacc TESTARGS='-run=TestAccDigitalOceanLoadbalancer_sslTermination'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanLoadbalancer_sslTermination -timeout 120m
? github.com/terraform-providers/terraform-provider-digitalocean [no test files]
=== RUN TestAccDigitalOceanLoadbalancer_sslTermination
--- PASS: TestAccDigitalOceanLoadbalancer_sslTermination (79.61s)
PASS
ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 79.623s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/199/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/199/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/199",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/199",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/199.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/199.patch",
"merged_at": "2019-03-28T18:17:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/198 | 424,425,279 | MDExOlB1bGxSZXF1ZXN0MjYzNzgyNDI5 | 198 | r/digitalocean_database_cluster: Adding new resource to manage database clusters | {
"login": "slapula",
"id": 6226971,
"node_id": "MDQ6VXNlcjYyMjY5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6226971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slapula",
"html_url": "https://github.com/slapula",
"followers_url": "https://api.github.com/users/slapula/followers",
"following_url": "https://api.github.com/users/slapula/following{/other_user}",
"gists_url": "https://api.github.com/users/slapula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/slapula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slapula/subscriptions",
"organizations_url": "https://api.github.com/users/slapula/orgs",
"repos_url": "https://api.github.com/users/slapula/repos",
"events_url": "https://api.github.com/users/slapula/events{/privacy}",
"received_events_url": "https://api.github.com/users/slapula/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
},
{
"id": 640744178,
"node_id":... | closed | false | null | [] | null | [
"Added the ability to manage maintenance windows as well:\r\n```\r\n$ make testacc TESTARGS='-run=TestAccDigitalOceanDatabaseCluster_WithMaintWindow'\r\n==> Checking that code complies with gofmt requirements...\r\nTF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanDatabaseCluster_WithMa... | 2019-03-22T22:43:52 | 2019-04-02T20:52:55 | 2019-03-27T19:32:18 | CONTRIBUTOR | null | ```
$ make testacc TESTARGS='-run=TestAccDigitalOceanDatabaseCluster_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanDatabaseCluster_ -timeout 120m
? github.com/terraform-providers/terraform-provider-digitalocean [no test files]
=== RUN TestAccDigitalOceanDatabaseCluster_Basic
--- PASS: TestAccDigitalOceanDatabaseCluster_Basic (269.01s)
=== RUN TestAccDigitalOceanDatabaseCluster_WithUpdate
--- PASS: TestAccDigitalOceanDatabaseCluster_WithUpdate (475.48s)
PASS
ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 744.505s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/198/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/198",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/198",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/198.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/198.patch",
"merged_at": "2019-03-27T19:32:18"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/197 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/197/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/197/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/197/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/197 | 423,582,828 | MDU6SXNzdWU0MjM1ODI4Mjg= | 197 | Installing latest version of DO Provider | {
"login": "proffalken",
"id": 262545,
"node_id": "MDQ6VXNlcjI2MjU0NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/262545?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/proffalken",
"html_url": "https://github.com/proffalken",
"followers_url": "https://api.github.com/users/proffalken/followers",
"following_url": "https://api.github.com/users/proffalken/following{/other_user}",
"gists_url": "https://api.github.com/users/proffalken/gists{/gist_id}",
"starred_url": "https://api.github.com/users/proffalken/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proffalken/subscriptions",
"organizations_url": "https://api.github.com/users/proffalken/orgs",
"repos_url": "https://api.github.com/users/proffalken/repos",
"events_url": "https://api.github.com/users/proffalken/events{/privacy}",
"received_events_url": "https://api.github.com/users/proffalken/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@proffalken The problem you are hitting is that the spaces resource exists in master but hasn't been released yet through releases.hashicorp.com yet. If you wanted to uses the spaces resource you would have to build from source at the moment or you can use the [0.12 snapshot build](http://terraform-0.12.0-dev-snap... | 2019-03-21T06:03:33 | 2019-04-23T19:07:07 | 2019-04-23T19:07:07 | NONE | null | Hey folks,
Not so much a bug as a request - I'm trying to implement the DO Spaces stuff that I can see has been merged, however it isn't supported in the latest version of the TF provider available from Hashicorp:
```
Error: digitalocean_spaces_bucket.packer-images: Provider doesn't support resource: digitalocean_spaces_bucket
Error: provider.digitalocean: : invalid or unknown key: spaces_access_id
Error: provider.digitalocean: : invalid or unknown key: spaces_secret_key
```
Is the update at releases.hashicorp.com an issue for Hashicorp to resolve, or can I install an updated version of the plugin from elsewhere? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/197/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/197/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/196 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/196/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/196/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/196/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/196 | 423,477,112 | MDExOlB1bGxSZXF1ZXN0MjYzMDQxNjQ1 | 196 | [MODULES] Updating digitalocean/godo to latest version | {
"login": "slapula",
"id": 6226971,
"node_id": "MDQ6VXNlcjYyMjY5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6226971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slapula",
"html_url": "https://github.com/slapula",
"followers_url": "https://api.github.com/users/slapula/followers",
"following_url": "https://api.github.com/users/slapula/following{/other_user}",
"gists_url": "https://api.github.com/users/slapula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/slapula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slapula/subscriptions",
"organizations_url": "https://api.github.com/users/slapula/orgs",
"repos_url": "https://api.github.com/users/slapula/repos",
"events_url": "https://api.github.com/users/slapula/events{/privacy}",
"received_events_url": "https://api.github.com/users/slapula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
},
{
"id": 737911925,
"node_id": ... | closed | false | null | [] | null | [
"hello @slapula, you have done the necessary steps if we were completely switched to go modules. We have in fact only made a partial switch and still vendor all our dependencies (for now!). You just need to run\r\n```\r\n$ go mod tidy\r\n$ go mod vendor\r\n```\r\nIt's good to run `go mod tidy` anytime after changin... | 2019-03-20T21:18:27 | 2019-03-21T18:54:27 | 2019-03-21T18:54:23 | CONTRIBUTOR | null | I apologize in advance but I'm completely new to managing go modules so I'm not sure if this is the correct way to update this dependency. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/196/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/196/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/196",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/196",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/196.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/196.patch",
"merged_at": "2019-03-21T18:54:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/195 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/195/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/195/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/195/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/195 | 420,530,549 | MDExOlB1bGxSZXF1ZXN0MjYwNzkwNDUz | 195 | Fix typo in node pool name | {
"login": "muffl0n",
"id": 927904,
"node_id": "MDQ6VXNlcjkyNzkwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/927904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muffl0n",
"html_url": "https://github.com/muffl0n",
"followers_url": "https://api.github.com/users/muffl0n/followers",
"following_url": "https://api.github.com/users/muffl0n/following{/other_user}",
"gists_url": "https://api.github.com/users/muffl0n/gists{/gist_id}",
"starred_url": "https://api.github.com/users/muffl0n/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/muffl0n/subscriptions",
"organizations_url": "https://api.github.com/users/muffl0n/orgs",
"repos_url": "https://api.github.com/users/muffl0n/repos",
"events_url": "https://api.github.com/users/muffl0n/events{/privacy}",
"received_events_url": "https://api.github.com/users/muffl0n/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
"Wokest Kubernetes clusters around... :joy_cat: \r\n\r\nThanks for catching that @muffl0n!",
"Had to tripple check what was wrong here. :D Thanks for the merge!"
] | 2019-03-13T14:28:09 | 2019-03-13T16:25:46 | 2019-03-13T16:13:12 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/195/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/195/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/195",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/195",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/195.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/195.patch",
"merged_at": "2019-03-13T16:13:12"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/194 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/194/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/194/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/194/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/194 | 419,594,935 | MDExOlB1bGxSZXF1ZXN0MjYwMDY2MjQy | 194 | fix typo: remove extra word | {
"login": "stavxyz",
"id": 2030182,
"node_id": "MDQ6VXNlcjIwMzAxODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2030182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stavxyz",
"html_url": "https://github.com/stavxyz",
"followers_url": "https://api.github.com/users/stavxyz/followers",
"following_url": "https://api.github.com/users/stavxyz/following{/other_user}",
"gists_url": "https://api.github.com/users/stavxyz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stavxyz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stavxyz/subscriptions",
"organizations_url": "https://api.github.com/users/stavxyz/orgs",
"repos_url": "https://api.github.com/users/stavxyz/repos",
"events_url": "https://api.github.com/users/stavxyz/events{/privacy}",
"received_events_url": "https://api.github.com/users/stavxyz/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
"Thanks @samstav!"
] | 2019-03-11T17:32:30 | 2019-03-11T17:42:18 | 2019-03-11T17:42:18 | CONTRIBUTOR | null | Removes the extra `by`. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/194/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/194/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/194",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/194",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/194.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/194.patch",
"merged_at": "2019-03-11T17:42:18"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/193 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/193/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/193/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/193/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/193 | 417,433,848 | MDExOlB1bGxSZXF1ZXN0MjU4NDMxMzI0 | 193 | Rebuild droplet on image change | {
"login": "pysysops",
"id": 1253072,
"node_id": "MDQ6VXNlcjEyNTMwNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1253072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pysysops",
"html_url": "https://github.com/pysysops",
"followers_url": "https://api.github.com/users/pysysops/followers",
"following_url": "https://api.github.com/users/pysysops/following{/other_user}",
"gists_url": "https://api.github.com/users/pysysops/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pysysops/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pysysops/subscriptions",
"organizations_url": "https://api.github.com/users/pysysops/orgs",
"repos_url": "https://api.github.com/users/pysysops/repos",
"events_url": "https://api.github.com/users/pysysops/events{/privacy}",
"received_events_url": "https://api.github.com/users/pysysops/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"DigitalOcean dashboard output and history during and after testing:\r\n\r\n\r\n\r\n
* digitalocean_droplet
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" "test" {
name = "test"
size = "${var.droplet_size}"
image = "${var.do_image}"
region = "${var.do_region}"
ipv6 = false
private_networking = true
monitoring = true
ssh_keys = "${var.ssh_keys}"
}
```
### Debug Output
https://gist.github.com/MarianoRD/15c15e2c1400f0f18b0489f9c3ab5b5c
### Expected Behavior
Terraform should know how to habilitate the Private Networking, either by requesting a new resource or by being able to power cycle the Droplet.
### Actual Behavior
The Private Networking IP is not requested and a 403 error is thrown from the API
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. Create a Droplet with `private_networking: false`
2. Change the `.tf` configuration to `private_networking: true`
3. `terraform apply`
### References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
- #67
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/191/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/191/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/190 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/190/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/190/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/190/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/190 | 413,514,859 | MDExOlB1bGxSZXF1ZXN0MjU1NDgyMTY3 | 190 | provider: Refactor logic for logging API requests/responses | {
"login": "radeksimko",
"id": 287584,
"node_id": "MDQ6VXNlcjI4NzU4NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/287584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/radeksimko",
"html_url": "https://github.com/radeksimko",
"followers_url": "https://api.github.com/users/radeksimko/followers",
"following_url": "https://api.github.com/users/radeksimko/following{/other_user}",
"gists_url": "https://api.github.com/users/radeksimko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/radeksimko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/radeksimko/subscriptions",
"organizations_url": "https://api.github.com/users/radeksimko/orgs",
"repos_url": "https://api.github.com/users/radeksimko/repos",
"events_url": "https://api.github.com/users/radeksimko/events{/privacy}",
"received_events_url": "https://api.github.com/users/radeksimko/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": 737911927,
... | closed | false | null | [] | null | [
":+1: LGTM, thanks @radeksimko "
] | 2019-02-22T18:00:59 | 2019-02-22T20:18:57 | 2019-02-22T19:52:55 | CONTRIBUTOR | null | This should be practically no-op change as even the logging format is the same. Using http Transport is however more common way of logging requests and responses which is compatible with most SDKs so I'm merely aligning this to match what we have elsewhere.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/190/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/190/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/190",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/190",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/190.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/190.patch",
"merged_at": "2019-02-22T19:52:55"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/189 | 410,588,265 | MDU6SXNzdWU0MTA1ODgyNjU= | 189 | Add support for managed database service | {
"login": "slapula",
"id": 6226971,
"node_id": "MDQ6VXNlcjYyMjY5NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6226971?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/slapula",
"html_url": "https://github.com/slapula",
"followers_url": "https://api.github.com/users/slapula/followers",
"following_url": "https://api.github.com/users/slapula/following{/other_user}",
"gists_url": "https://api.github.com/users/slapula/gists{/gist_id}",
"starred_url": "https://api.github.com/users/slapula/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/slapula/subscriptions",
"organizations_url": "https://api.github.com/users/slapula/orgs",
"repos_url": "https://api.github.com/users/slapula/repos",
"events_url": "https://api.github.com/users/slapula/events{/privacy}",
"received_events_url": "https://api.github.com/users/slapula/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744178,
"node_id": "MDU6TGFiZWw2NDA3NDQxNzg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-resource",
"name": "new-resource",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"I forgot to mention that I can certainly add this resource myself once godo is updated. I just need that to get started. ",
"Hi. Thx for this feature. Please keep up posted with new updates.\r\n\r\nThx.",
"https://github.com/digitalocean/godo/pull/215 was just merged which adds DBaaS support. I expect a relea... | 2019-02-15T03:23:28 | 2019-04-23T19:12:18 | 2019-04-23T19:12:18 | CONTRIBUTOR | null | ### New Resource(s)
- `digitalocean_database`
### Details
DigitalOcean released a new managed database service today. It would be nice to manage that resouce via Terraform. This issue is a stub pretty much until godo adds support for the needed API calls that Terraform will use. I've gone ahead about inquired about that support here https://github.com/digitalocean/godo/issues/204.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189/reactions",
"total_count": 22,
"+1": 22,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/189/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/188 | 408,434,559 | MDU6SXNzdWU0MDg0MzQ1NTk= | 188 | Add digitalocean_firewall datasource | {
"login": "aslafy-z",
"id": 8191198,
"node_id": "MDQ6VXNlcjgxOTExOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8191198?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aslafy-z",
"html_url": "https://github.com/aslafy-z",
"followers_url": "https://api.github.com/users/aslafy-z/followers",
"following_url": "https://api.github.com/users/aslafy-z/following{/other_user}",
"gists_url": "https://api.github.com/users/aslafy-z/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aslafy-z/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aslafy-z/subscriptions",
"organizations_url": "https://api.github.com/users/aslafy-z/orgs",
"repos_url": "https://api.github.com/users/aslafy-z/repos",
"events_url": "https://api.github.com/users/aslafy-z/events{/privacy}",
"received_events_url": "https://api.github.com/users/aslafy-z/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744189,
"node_id": "MDU6TGFiZWw2NDA3NDQxODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-data-source",
"name": "new-data-source",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | {
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://api.github.com/users/scotchneat/followers",
"following_url": "https://api.github.com/users/scotchneat/following{/other_user}",
"gists_url": "https://api.github.com/users/scotchneat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/scotchneat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scotchneat/subscriptions",
"organizations_url": "https://api.github.com/users/scotchneat/orgs",
"repos_url": "https://api.github.com/users/scotchneat/repos",
"events_url": "https://api.github.com/users/scotchneat/events{/privacy}",
"received_events_url": "https://api.github.com/users/scotchneat/received_events",
"type": "User",
"site_admin": false
} | [
{
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://... | null | [
"I've been able to add rules by adding another firewall bound on the same droplets:\r\n\r\n\r\n```terraform\r\nresource \"digitalocean_firewall\" \"node-exporter\" {\r\n name = \"k8s-${digitalocean_kubernetes_cluster.cluster.id}-worker-node-exporter\"\r\n\r\n droplet_ids = [\"${data.digitalocean_droplet.workers.*... | 2019-02-09T14:07:50 | 2021-03-02T18:51:45 | 2021-03-02T18:51:45 | NONE | null | ### Terraform Version
```
Terraform v0.11.11
+ provider.digitalocean v1.1.0
```
### Affected Resource(s)
- digitalocean_firewall
- digitalocean_kubernetes_cluster
### Use case
I'd like to add some rules to the firewall that is automatically created with a `digitalocean_kubernetes_cluster` resource (to fix this bug: https://www.digitalocean.com/community/questions/using-do-managed-kubernetes-cluster-with-helm-chart-stable-prometheus-results-in-some-node_exporters-being-unreachable).
I found a way using `terraform import` mentioned in the docs ( https://github.com/terraform-providers/terraform-provider-digitalocean/blob/master/website/docs/r/firewall.html.markdown#import) but it doesn't allow me to create my infrastructure with only one `terraform apply`, and, the `digitalocean_firewall.id` is not exposed in the state, which doesn't allow me to import it without having to rely on `doctl` and tags.
Is there any other way of importing the resource programmatically within my first `apply` step? Would it work if I add another firewall and associate it with my cluster droplets?
I'm unsure if a datasource for `digitalocean_firewall` would help but still, it misses.
Thanks for your insights. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/188/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/187 | 406,554,418 | MDU6SXNzdWU0MDY1NTQ0MTg= | 187 | [PROPOSAL] Switch to Go Modules | {
"login": "appilon",
"id": 36832285,
"node_id": "MDQ6VXNlcjM2ODMyMjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/36832285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/appilon",
"html_url": "https://github.com/appilon",
"followers_url": "https://api.github.com/users/appilon/followers",
"following_url": "https://api.github.com/users/appilon/following{/other_user}",
"gists_url": "https://api.github.com/users/appilon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/appilon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/appilon/subscriptions",
"organizations_url": "https://api.github.com/users/appilon/orgs",
"repos_url": "https://api.github.com/users/appilon/repos",
"events_url": "https://api.github.com/users/appilon/events{/privacy}",
"received_events_url": "https://api.github.com/users/appilon/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2019-02-04T22:47:39 | 2019-03-04T22:45:04 | 2019-03-04T22:45:04 | CONTRIBUTOR | null | As part of the preparation for Terraform v0.12, we would like to migrate all providers to use [Go Modules](https://github.com/golang/go/wiki/Modules). We plan to continue checking dependencies into vendor/ to remain compatible with existing tooling/CI for a period of time, however go modules will be used for management. Go Modules is the official solution for the go programming language, we understand some providers might not want this change yet, however we encourage providers to begin looking towards the switch as this is how we will be managing all Go projects in the future. Would maintainers please react with :+1: for support, or :-1: if you wish to have this provider omitted from the first wave of pull requests. If your provider is in support, we would ask that you avoid merging any pull requests that mutate the dependencies while the Go Modules PR is open (in fact a total codefreeze would be even more helpful), otherwise we will need to close that PR and re-run `go mod init`. Once merged, dependencies can be added or updated as follows:
```
$ GO111MODULE=on go get github.com/some/module@master
$ GO111MODULE=on go mod tidy
$ GO111MODULE=on go mod vendor
```
GO111MODULE=on might be unnecessary depending on your environment, this example will fetch a module @ master and record it in your project's go.mod and go.sum files. It's a good idea to tidy up afterward and then copy the dependencies into vendor/. To remove dependencies from your project, simply remove all usage from your codebase and run:
```
$ GO111MODULE=on go mody tidy
$ GO111MODULE=on go mod vendor
```
Thank you sincerely for all your time, contributions, and cooperation! | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/187/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/186 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/186/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/186/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/186/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/186 | 406,247,114 | MDExOlB1bGxSZXF1ZXN0MjQ5OTg3NzIx | 186 | Backtick missing | {
"login": "iann0036",
"id": 4401744,
"node_id": "MDQ6VXNlcjQ0MDE3NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4401744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iann0036",
"html_url": "https://github.com/iann0036",
"followers_url": "https://api.github.com/users/iann0036/followers",
"following_url": "https://api.github.com/users/iann0036/following{/other_user}",
"gists_url": "https://api.github.com/users/iann0036/gists{/gist_id}",
"starred_url": "https://api.github.com/users/iann0036/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iann0036/subscriptions",
"organizations_url": "https://api.github.com/users/iann0036/orgs",
"repos_url": "https://api.github.com/users/iann0036/repos",
"events_url": "https://api.github.com/users/iann0036/events{/privacy}",
"received_events_url": "https://api.github.com/users/iann0036/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
"Thanks Ian!"
] | 2019-02-04T09:40:55 | 2019-02-04T15:36:01 | 2019-02-04T15:36:01 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/186/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/186/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/186",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/186",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/186.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/186.patch",
"merged_at": "2019-02-04T15:36:01"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/185 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/185/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/185/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/185/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/185 | 405,988,826 | MDExOlB1bGxSZXF1ZXN0MjQ5ODE2NjIz | 185 | Fix typo in node pool name | {
"login": "plantfansam",
"id": 370182,
"node_id": "MDQ6VXNlcjM3MDE4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/370182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plantfansam",
"html_url": "https://github.com/plantfansam",
"followers_url": "https://api.github.com/users/plantfansam/followers",
"following_url": "https://api.github.com/users/plantfansam/following{/other_user}",
"gists_url": "https://api.github.com/users/plantfansam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/plantfansam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plantfansam/subscriptions",
"organizations_url": "https://api.github.com/users/plantfansam/orgs",
"repos_url": "https://api.github.com/users/plantfansam/repos",
"events_url": "https://api.github.com/users/plantfansam/events{/privacy}",
"received_events_url": "https://api.github.com/users/plantfansam/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
"@plantfansam thanks for the fix!"
] | 2019-02-02T14:43:06 | 2019-02-02T15:51:08 | 2019-02-02T15:50:56 | CONTRIBUTOR | null | Just a tiny fix to change `woker-pool` to `worker-pool`. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/185/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/185/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/185",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/185",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/185.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/185.patch",
"merged_at": "2019-02-02T15:50:56"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/184 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/184/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/184/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/184/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/184 | 404,614,886 | MDU6SXNzdWU0MDQ2MTQ4ODY= | 184 | Kubernetes node_pool tags constantly update | {
"login": "troywilson",
"id": 42835858,
"node_id": "MDQ6VXNlcjQyODM1ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/42835858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/troywilson",
"html_url": "https://github.com/troywilson",
"followers_url": "https://api.github.com/users/troywilson/followers",
"following_url": "https://api.github.com/users/troywilson/following{/other_user}",
"gists_url": "https://api.github.com/users/troywilson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/troywilson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/troywilson/subscriptions",
"organizations_url": "https://api.github.com/users/troywilson/orgs",
"repos_url": "https://api.github.com/users/troywilson/repos",
"events_url": "https://api.github.com/users/troywilson/events{/privacy}",
"received_events_url": "https://api.github.com/users/troywilson/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": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5N... | closed | false | null | [] | null | [
"Resource digitalocean_kubernetes_node_pool exhibits the same behaviour.",
"@troywilson I wonder if adding a lifecycle block to ignore tag changes would work for you\r\n```hcl\r\nlifecycle {\r\n ignore_changes = [\r\n # Ignore changes to tags, e.g. because a management agent\r\n # updates these based... | 2019-01-30T05:59:12 | 2019-07-03T18:02:57 | 2019-07-03T18:02:57 | NONE | null |
### Terraform Version
terraform v0.11.11
digitalocean v1.1.0
### Affected Resource(s)
digitalocean_tag
digitalocean_kubernetes_cluster
### Terraform Configuration Files
```hcl
resource "digitalocean_tag" "test" {
name = "test"
}
resource "digitalocean_kubernetes_cluster" "test" {
name = "test"
region = "nyc1"
version = "1.13.1-do.2"
tags = ["${digitalocean_tag.test.name}"]
node_pool {
name = "test-pool"
size = "s-2vcpu-2gb"
node_count = 3
tags = ["${digitalocean_tag.test.name}"]
}
}
```
### Debug Output
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ digitalocean_kubernetes_cluster.test
node_pool.0.tags.#: "0" => "1"
node_pool.0.tags.<tag_id>: "" => "test"
Plan: 0 to add, 1 to change, 0 to destroy.
### Expected Behavior
Tag is applied once.
### Actual Behavior
Tag is applied every time.
### Steps to Reproduce
1. `terraform apply`
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/184/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/184/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/183 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/183/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/183/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/183/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/183 | 404,310,585 | MDU6SXNzdWU0MDQzMTA1ODU= | 183 | Terraform keeps trying to re-create Droplet because image tags changed | {
"login": "benjamin-maynard",
"id": 36383062,
"node_id": "MDQ6VXNlcjM2MzgzMDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/36383062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-maynard",
"html_url": "https://github.com/benjamin-maynard",
"followers_url": "https://api.github.com/users/benjamin-maynard/followers",
"following_url": "https://api.github.com/users/benjamin-maynard/following{/other_user}",
"gists_url": "https://api.github.com/users/benjamin-maynard/gists{/gist_id}",
"starred_url": "https://api.github.com/users/benjamin-maynard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjamin-maynard/subscriptions",
"organizations_url": "https://api.github.com/users/benjamin-maynard/orgs",
"repos_url": "https://api.github.com/users/benjamin-maynard/repos",
"events_url": "https://api.github.com/users/benjamin-maynard/events{/privacy}",
"received_events_url": "https://api.github.com/users/benjamin-maynard/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Closing, realised duplicate of #152"
] | 2019-01-29T14:13:48 | 2019-01-29T14:35:40 | 2019-01-29T14:35:40 | NONE | null | Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
### Terraform Version
```
Terraform v0.11.11
+ provider.aws v1.57.0
+ provider.digitalocean v1.1.0
+ provider.github v1.3.0
+ provider.google v1.20.0
+ provider.helm v0.7.0
+ provider.http v1.0.1
+ provider.kubernetes v1.5.0
```
### Affected Resource(s)
```
digitalocean_droplet
```
### Terraform Configuration Files
```hcl
resource "digitalocean_droplet" "mail-server" {
count = "${length(keys(var.mail_servers))}"
name = "${element(keys(var.mail_servers), count.index)}"
image = "ubuntu-18-04-x64"
region = "${element(var.mail_servers["${element(keys(var.mail_servers), count.index)}"], 2)}"
size = "${element(var.mail_servers["${element(keys(var.mail_servers), count.index)}"], 3)}"
backups = "false"
private_networking = "false"
ipv6 = true
ssh_keys = [ "4e:00:d2:3d:66:72:6e:87:bb:a7:f1:7b:74:10:a8:7a" ]
user_data = "${file("./resources/ansible-bootstrap.sh")}"
tags = ["Terraform"]
volume_ids = ["${digitalocean_volume.mail-volume.*.id[count.index]}"]
}
```
### Expected Behaviour
My Terraform configuration files have not changed from above for this specific Droplet. I created this Droplet with the image tag of ubuntu-18-04-x64.
For the past few months, Terraform has been applying successfully. Each time there are no changes to this resource.
However recently, Terraform has begun wanting to destroy the resource based on a change in the image tag.
```
image: "41122605" => "ubuntu-18-04-x64" (forces new resource)
```
The Control Panel shows this Droplet as "Ubuntu 18.04 x64". What I believe is happened is that Digital Ocean have updated the image in the backend, and consequently there is a new base image for ubuntu-18-04-x64 making Terraform want to destroy and re-create my VM.
I'm pretty sure this issue has been raised and fixed before, a temporary workaround is to change the image in my HCL config to 41122605, but this is not an optimal solution if I want to deploy new VM's.
### Actual Behavior
Terraform wants to destroy and re-create my Droplet despite no changes in current or desired state.
### Steps to Reproduce
1. Create VM with an image tag of "ubuntu-18-04-x64"
2. Wait for DigitalOcean to release a new version of the "ubuntu-18-04-x64" image
3. Run Terraform apply, and watch Terraform try to destroy and re-create your resource.
### Important Factoids
Nope.
### References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
- I remember seeing a similar issue before, thought it was fixed, but can't find it.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/183/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/183/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/182 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/182/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/182/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/182/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/182 | 402,439,409 | MDU6SXNzdWU0MDI0Mzk0MDk= | 182 | Can't resize node pools (main or additional) | {
"login": "egeneralov",
"id": 16904999,
"node_id": "MDQ6VXNlcjE2OTA0OTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/16904999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/egeneralov",
"html_url": "https://github.com/egeneralov",
"followers_url": "https://api.github.com/users/egeneralov/followers",
"following_url": "https://api.github.com/users/egeneralov/following{/other_user}",
"gists_url": "https://api.github.com/users/egeneralov/gists{/gist_id}",
"starred_url": "https://api.github.com/users/egeneralov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/egeneralov/subscriptions",
"organizations_url": "https://api.github.com/users/egeneralov/orgs",
"repos_url": "https://api.github.com/users/egeneralov/repos",
"events_url": "https://api.github.com/users/egeneralov/events{/privacy}",
"received_events_url": "https://api.github.com/users/egeneralov/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5241933455,
"node_id": "LA_kwDOBZHfyM8AAAABOHGOjw",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/Needs%20Investigation",
"name": "Needs Investigation",
"color": "92E756",
"default": false,
"description": ""
}
] | open | false | null | [] | null | [] | 2019-01-23T21:34:01 | 2023-03-28T02:28:18 | null | NONE | null | ### Terraform Version
- Terraform v0.11.11
- digitalocean (1.1.0)
### Affected Resource(s)
- digitalocean_kubernetes_cluster.cluster
- digitalocean_kubernetes_node_pool.additional
- kubernetes_cluster_role_binding.gitlab
- kubernetes_service_account.gitlab
- kubernetes_service_account.tiller
- kubernetes_cluster_role_binding.cluster_admin
- helm_release.nginx_ingress
- local_file.kube_config
- digitalocean_kubernetes_node_pool.additional
### Terraform Configuration Files
https://gist.github.com/egeneralov/5f80636898aaa9393a3dc8a8334c3c83
### Debug Output
https://gist.github.com/egeneralov/3c95d33ffd5394f15b7ffdfeaf6cc8c4
### Expected Behavior
Resized additional pool from 2 to 3 nodes.
### Actual Behavior
Terraform fails on api communication.
```
* digitalocean_kubernetes_node_pool.additional: 1 error(s) occurred:
* digitalocean_kubernetes_node_pool.additional: Error updating node pool: Unable to update nodepool: PUT https://api.digitalocean.com/v2/kubernetes/clusters/1956e497-3bb0-4659-bc4e-14798226a502/node_pools/ae459433-9fbc-4529-b635-2ca5238739ab: 500 Server Error
```
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. `terraform apply -auto-approve -var do_token=${DO_TOKEN}`
2. Wait 5+ hours
3. Change any existing node pool (main or additional)
4. Crash granted. ~ 6 recreations for cluster for now.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/182/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/182/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/181 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/181/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/181/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/181/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/181 | 400,435,559 | MDU6SXNzdWU0MDA0MzU1NTk= | 181 | digitalocean_droplet: ipv6_address_private doesn't exist | {
"login": "pysysops",
"id": 1253072,
"node_id": "MDQ6VXNlcjEyNTMwNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1253072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pysysops",
"html_url": "https://github.com/pysysops",
"followers_url": "https://api.github.com/users/pysysops/followers",
"following_url": "https://api.github.com/users/pysysops/following{/other_user}",
"gists_url": "https://api.github.com/users/pysysops/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pysysops/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pysysops/subscriptions",
"organizations_url": "https://api.github.com/users/pysysops/orgs",
"repos_url": "https://api.github.com/users/pysysops/repos",
"events_url": "https://api.github.com/users/pysysops/events{/privacy}",
"received_events_url": "https://api.github.com/users/pysysops/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": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5N... | closed | false | null | [] | null | [
"DigitalOcean has never supported IPv6 private networking. Though it looks like this attribute has been in the code base going almost all the way to the beginning, pre-dating my involvement with the project: https://github.com/hashicorp/terraform/commit/872acb3740684bbc75899ad21e5bae0219920be0",
"I had a suspicio... | 2019-01-17T19:47:44 | 2019-06-10T21:59:41 | 2019-06-10T21:59:41 | NONE | null | Good day!
Thanks for this fantastic provider! I'm currently in the process of creating some DigitalOcean modules and have potentially found a bug with `private_networking` and `ipv6`.
### Terraform Version
Terraform v0.11.11
+ provider.digitalocean v1.1.0
### Affected Resource(s)
- digitalocean_droplet
### Terraform Configuration Files
Example:
```hcl
resource "digitalocean_droplet" "droplet" {
count = 1
image = "<< image_id >>"
name = "droplet"
region = "ams3"
size = "s-1vcpu-1gb"
ipv6 = true
private_networking = true
}
resource "digitalocean_record" "private_aaaa" {
count = 1
domain = "example.com"
type = "AAAA"
name = "${element(digitalocean_droplet.droplet.*.name, count.index)}"
value = "${element(digitalocean_droplet.droplet.*.ipv6_address_private, count.index)}"
}
```
### Debug Output
```
* digitalocean_record.private_aaaa.0: Failed to create record: POST https://api.digitalocean.com/v2/domains/private.stg.ghostfoundation.org/records: 422 Data can't be blank and IP address did not match IPv6 format (e.g. 2001:db8::ff00:42:8329).
* module.apps.module.droplets.digitalocean_record.private_aaaa[0]: 1 error(s) occurred:
```
### Expected Behavior
I'm not sure if DigitalOcean have supported IPv6 private networking and removed it, removed it from the API or never supported it?
The documentation here: [digitalocean_droplet](https://www.terraform.io/docs/providers/do/r/droplet.html#ipv6_address_private) suggests that it the provider supports private IPv6 addresses 🤔
### Actual Behavior
No private IPv6 addresses available from the API or visible in the DigitalOcean dashboard. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/181/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/181/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/180 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/180/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/180/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/180/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/180 | 399,378,082 | MDU6SXNzdWUzOTkzNzgwODI= | 180 | Kubernetes persistent volumes | {
"login": "aboeglin",
"id": 8297302,
"node_id": "MDQ6VXNlcjgyOTczMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8297302?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aboeglin",
"html_url": "https://github.com/aboeglin",
"followers_url": "https://api.github.com/users/aboeglin/followers",
"following_url": "https://api.github.com/users/aboeglin/following{/other_user}",
"gists_url": "https://api.github.com/users/aboeglin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aboeglin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aboeglin/subscriptions",
"organizations_url": "https://api.github.com/users/aboeglin/orgs",
"repos_url": "https://api.github.com/users/aboeglin/repos",
"events_url": "https://api.github.com/users/aboeglin/events{/privacy}",
"received_events_url": "https://api.github.com/users/aboeglin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | open | false | null | [] | null | [
"Unfortunately, the DigitalOcean CSI plugin does not currently support resizing. You can follow that issue at:\r\n\r\nhttps://github.com/digitalocean/csi-digitalocean/issues/106\r\n\r\nI believe that your current approach should \"just work\" once resizing support is added to the CSI plugin.",
"This would be extr... | 2019-01-15T14:47:40 | 2020-07-24T17:57:51 | null | NONE | null | Hi,
since Digital Ocean now got kubernetes clusters, I wondered if it would be possible to somehow get a digitalocean_volume resource to work with a kubernetes_persistent_volume_claim resource ? Or directly being ablee to create a volume by adding a persistent_volume_source ( https://www.terraform.io/docs/providers/kubernetes/r/persistent_volume.html ) to kubernetes_persistent_volumes.
At the moment I must use do something of the following shape to get a DO volume to be created by terraform provider :
```
# In a statefulset spec
volume_claim_template {
metadata {
name = "xyz"
}
spec {
access_modes = ["ReadWriteOnce"]
storage_class_name = "do-block-storage"
resources {
requests {
storage = "2Gi"
}
}
}
}
```
The problem is that updating the storage size doesn't work at all, but I'm able to resize to volume from DO's dashboard. Maybe having a separate resource, or finding a way to connect the DO resource to a kubernetes resource would help ? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/180/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/180/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/179 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/179/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/179/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/179/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/179 | 398,594,549 | MDU6SXNzdWUzOTg1OTQ1NDk= | 179 | Error: Failed to instantiate provider "digitalocean" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5] | {
"login": "JamesTheHacker",
"id": 19844560,
"node_id": "MDQ6VXNlcjE5ODQ0NTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/19844560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesTheHacker",
"html_url": "https://github.com/JamesTheHacker",
"followers_url": "https://api.github.com/users/JamesTheHacker/followers",
"following_url": "https://api.github.com/users/JamesTheHacker/following{/other_user}",
"gists_url": "https://api.github.com/users/JamesTheHacker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JamesTheHacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JamesTheHacker/subscriptions",
"organizations_url": "https://api.github.com/users/JamesTheHacker/orgs",
"repos_url": "https://api.github.com/users/JamesTheHacker/repos",
"events_url": "https://api.github.com/users/JamesTheHacker/events{/privacy}",
"received_events_url": "https://api.github.com/users/JamesTheHacker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"The version I was using was too new. Downgrading from pre release fixed it. Closing."
] | 2019-01-12T21:38:15 | 2019-01-12T21:41:55 | 2019-01-12T21:41:55 | NONE | null | **Stack trace:**
```
E:\Projects\impressive>terraform plan
2019/01/12 21:34:54 [WARN] Invalid log level: "1". Defaulting to level: TRACE. Valid levels are: [TRACE DEBUG INFO WARN ERROR]
2019/01/12 21:34:54 [INFO] Terraform version: 0.12.0 alpha4 2c36829d3265661d8edbd5014de8090ea7e2a076
2019/01/12 21:34:54 [INFO] Go runtime version: go1.11.1
2019/01/12 21:34:54 [INFO] CLI args: []string{"C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform.exe", "plan"}
2019/01/12 21:34:54 [DEBUG] Attempting to open CLI config file: C:\Users\KraftWurk\AppData\Roaming\terraform.rc
2019/01/12 21:34:54 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/01/12 21:34:54 [INFO] CLI command args: []string{"plan"}
2019/01/12 21:34:54 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/01/12 21:34:54 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/01/12 21:34:54 [DEBUG] New state was assigned lineage "0e1394e1-7968-e636-eec9-1d540486b459"
2019/01/12 21:34:54 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2019/01/12 21:34:54 [TRACE] Meta.Backend: instantiated backend of type <nil>
2019/01/12 21:34:54 [DEBUG] checking for provider in "."
2019/01/12 21:34:54 [DEBUG] checking for provider in "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-aws_v1.40.0-6-gb23683732-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-azurerm_v1.17.0-5-ga3b48ba3-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-google_v1.19.1-3-g59efc8b9-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-local_v1.1.0-5-ga2df742-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-null_v1.0.0-5-gf54ff98-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-oci_v3.9.0-3-ga5859820-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-random_v2.0.0-5-g612dff2-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-template_v1.0.0-5-g317c9c9-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] checking for provider in ".terraform\\plugins\\windows_amd64"
2019/01/12 21:34:54 [DEBUG] found provider "terraform-provider-digitalocean_v1.1.0_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "random", "2.0.0-5-g612dff2-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-random_v2.0.0-5-g612dff2-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "null", "1.0.0-5-gf54ff98-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-null_v1.0.0-5-gf54ff98-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "aws", "1.40.0-6-gb23683732-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-aws_v1.40.0-6-gb23683732-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "azurerm", "1.17.0-5-ga3b48ba3-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-azurerm_v1.17.0-5-ga3b48ba3-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "local", "1.1.0-5-ga2df742-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-local_v1.1.0-5-ga2df742-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "oci", "3.9.0-3-ga5859820-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-oci_v3.9.0-3-ga5859820-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "google", "1.19.1-3-g59efc8b9-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-google_v1.19.1-3-g59efc8b9-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "template", "1.0.0-5-g317c9c9-dev", "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools\\terraform-provider-template_v1.0.0-5-g317c9c9-dev_x4.exe"
2019/01/12 21:34:54 [DEBUG] found valid plugin: "digitalocean", "1.1.0", "E:\\Projects\\impressive\\.terraform\\plugins\\windows_amd64\\terraform-provider-digitalocean_v1.1.0_x4.exe"
2019/01/12 21:34:54 [DEBUG] checking for provisioner in "."
2019/01/12 21:34:54 [DEBUG] checking for provisioner in "C:\\ProgramData\\chocolatey\\lib\\terraform\\tools"
2019/01/12 21:34:54 [DEBUG] checking for provisioner in ".terraform\\plugins\\windows_amd64"
2019/01/12 21:34:54 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2019/01/12 21:34:54 [INFO] backend/local: starting Plan operation
2019/01/12 21:34:54 [TRACE] backend/local: requesting state manager for workspace "default"
2019/01/12 21:34:54 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2019/01/12 21:34:54 [TRACE] backend/local: requesting state lock for workspace "default"
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: no previously-stored snapshot exists
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: locking terraform.tfstate using LockFileEx
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info
2019/01/12 21:34:54 [TRACE] backend/local: reading remote state for workspace "default"
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: read nil snapshot
2019/01/12 21:34:54 [TRACE] backend/local: retrieving local state snapshot for workspace "default"
2019/01/12 21:34:54 [TRACE] backend/local: building context for current working directory
2019/01/12 21:34:54 [TRACE] terraform.NewContext: starting
2019/01/12 21:34:54 [TRACE] terraform.NewContext: resolving provider version selections
2019/01/12 21:34:54 [TRACE] terraform.NewContext: loading provider schemas
2019/01/12 21:34:54 [TRACE] LoadSchemas: retrieving schema for provider type "digitalocean"
2019-01-12T21:34:54.104Z [INFO] plugin: configuring client automatic mTLS
2019-01-12T21:34:54.126Z [DEBUG] plugin: starting plugin: path=E:\Projects\impressive\.terraform\plugins\windows_amd64\terraform-provider-digitalocean_v1.1.0_x4.exe args=[E:\Projects\impressive\.terraform\plugins\windows_amd64\terraform-provider-digitalocean_v1.1.0_x4.exe]
2019-01-12T21:34:54.131Z [DEBUG] plugin: plugin started: path=E:\Projects\impressive\.terraform\plugins\windows_amd64\terraform-provider-digitalocean_v1.1.0_x4.exe pid=2792
2019-01-12T21:34:54.131Z [DEBUG] plugin: waiting for RPC address: path=E:\Projects\impressive\.terraform\plugins\windows_amd64\terraform-provider-digitalocean_v1.1.0_x4.exe
2019-01-12T21:34:54.146Z [DEBUG] plugin.terraform-provider-digitalocean_v1.1.0_x4.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2019-01-12T21:34:54.146Z
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2019/01/12 21:34:54 [TRACE] statemgr.Filesystem: unlocked by closing terraform.tfstate
Error: Failed to instantiate provider "digitalocean" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/179/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/179/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/178 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/178/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/178/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/178/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/178 | 396,668,499 | MDExOlB1bGxSZXF1ZXN0MjQyNzk2MzU1 | 178 | [AUTOMATED] Upgrade to Go 1.11 | {
"login": "appilon",
"id": 36832285,
"node_id": "MDQ6VXNlcjM2ODMyMjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/36832285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/appilon",
"html_url": "https://github.com/appilon",
"followers_url": "https://api.github.com/users/appilon/followers",
"following_url": "https://api.github.com/users/appilon/following{/other_user}",
"gists_url": "https://api.github.com/users/appilon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/appilon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/appilon/subscriptions",
"organizations_url": "https://api.github.com/users/appilon/orgs",
"repos_url": "https://api.github.com/users/appilon/repos",
"events_url": "https://api.github.com/users/appilon/events{/privacy}",
"received_events_url": "https://api.github.com/users/appilon/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: Thanks @appilon "
] | 2019-01-07T22:05:18 | 2019-01-08T23:19:42 | 2019-01-08T23:18:48 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/178/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/178/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/178",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/178",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/178.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/178.patch",
"merged_at": "2019-01-08T23:18:48"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/177 | 395,171,007 | MDExOlB1bGxSZXF1ZXN0MjQxNjg3ODEy | 177 | add support for import of digitalocean_kubernetes_cluster resources | {
"login": "jzafran",
"id": 156451,
"node_id": "MDQ6VXNlcjE1NjQ1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/156451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jzafran",
"html_url": "https://github.com/jzafran",
"followers_url": "https://api.github.com/users/jzafran/followers",
"following_url": "https://api.github.com/users/jzafran/following{/other_user}",
"gists_url": "https://api.github.com/users/jzafran/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jzafran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jzafran/subscriptions",
"organizations_url": "https://api.github.com/users/jzafran/orgs",
"repos_url": "https://api.github.com/users/jzafran/repos",
"events_url": "https://api.github.com/users/jzafran/events{/privacy}",
"received_events_url": "https://api.github.com/users/jzafran/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
},
{
"id": 737911927,
"node_id":... | closed | false | null | [] | null | [
"Thanks for the PR! This looks great, but unfortunately it seems to not import the node pools for a cluster. \r\nThe first node pool isn't currently imported as we'd need to add the `terraform:default-node-pool` tag to it for `digitaloceanKubernetesClusterRead()` to pick it up:\r\n\r\nhttps://github.com/terraform-p... | 2019-01-02T07:51:55 | 2020-02-18T17:55:31 | 2020-02-18T17:55:31 | NONE | null | Adds support for importing `digitalocean_kubernetes_cluster` resources and associated acceptance test and documentation update.
acceptance test (`TestAccDigitalOceanKubernetesCluster_importBasic`) run:
> $ make testacc TESTARGS='-run=TestAccDigitalOceanKubernetesCluster_importBasic'
> ==> Checking that code complies with gofmt requirements...
> TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanKubernetesCluster_importBasic -timeout 120m
> === RUN TestAccDigitalOceanKubernetesCluster_importBasic
> --- PASS: TestAccDigitalOceanKubernetesCluster_importBasic (157.52s)
> PASS
> ok github.com/terraform-providers/terraform-provider-digitalocean/digitalocean 157.546s
> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177/reactions",
"total_count": 5,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/177/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/177",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/177",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/177.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/177.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/176 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/176/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/176/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/176/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/176 | 394,775,923 | MDU6SXNzdWUzOTQ3NzU5MjM= | 176 | Equivalent of aws_s3_bucket_object data source for spaces ? | {
"login": "aboeglin",
"id": 8297302,
"node_id": "MDQ6VXNlcjgyOTczMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8297302?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aboeglin",
"html_url": "https://github.com/aboeglin",
"followers_url": "https://api.github.com/users/aboeglin/followers",
"following_url": "https://api.github.com/users/aboeglin/following{/other_user}",
"gists_url": "https://api.github.com/users/aboeglin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aboeglin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aboeglin/subscriptions",
"organizations_url": "https://api.github.com/users/aboeglin/orgs",
"repos_url": "https://api.github.com/users/aboeglin/repos",
"events_url": "https://api.github.com/users/aboeglin/events{/privacy}",
"received_events_url": "https://api.github.com/users/aboeglin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744189,
"node_id": "MDU6TGFiZWw2NDA3NDQxODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-data-source",
"name": "new-data-source",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Once PR(#77) is merged, you will be able to create a DO space but I don’t think anyone has requested a data source. The aws_s3_bucket_object most likely wouldn’t work due to the fact that you would have to plug in aws credentials and you would be able to point it to a bucket location outside of AWS. Seems like a v... | 2018-12-29T08:50:58 | 2020-05-02T15:06:12 | 2020-05-02T15:06:12 | NONE | null | Hi everyone,
I wanted to know if there's any plan on adding a data source that does the same as aws_s3_bucket_object ? Or is there any was to directly use aws_s3_bucket_object maybe ? I know it's possible to setup a terraform backend with spaces already. Anyone had success with it ? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/176/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/176/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/175 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/175/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/175/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/175/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/175 | 391,039,301 | MDExOlB1bGxSZXF1ZXN0MjM4NjY0NzU2 | 175 | Fix typo and format in docs | {
"login": "huikaihoo",
"id": 5207555,
"node_id": "MDQ6VXNlcjUyMDc1NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5207555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huikaihoo",
"html_url": "https://github.com/huikaihoo",
"followers_url": "https://api.github.com/users/huikaihoo/followers",
"following_url": "https://api.github.com/users/huikaihoo/following{/other_user}",
"gists_url": "https://api.github.com/users/huikaihoo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/huikaihoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/huikaihoo/subscriptions",
"organizations_url": "https://api.github.com/users/huikaihoo/orgs",
"repos_url": "https://api.github.com/users/huikaihoo/repos",
"events_url": "https://api.github.com/users/huikaihoo/events{/privacy}",
"received_events_url": "https://api.github.com/users/huikaihoo/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: Good catch. Thanks for the PR!"
] | 2018-12-14T09:51:31 | 2018-12-14T15:01:44 | 2018-12-14T15:01:44 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/175/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/175/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/175",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/175",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/175.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/175.patch",
"merged_at": "2018-12-14T15:01:44"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/174 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/174/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/174/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/174/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/174 | 390,449,875 | MDExOlB1bGxSZXF1ZXN0MjM4MjE0NTkx | 174 | fix typo | {
"login": "qmx",
"id": 66734,
"node_id": "MDQ6VXNlcjY2NzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/66734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qmx",
"html_url": "https://github.com/qmx",
"followers_url": "https://api.github.com/users/qmx/followers",
"following_url": "https://api.github.com/users/qmx/following{/other_user}",
"gists_url": "https://api.github.com/users/qmx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qmx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qmx/subscriptions",
"organizations_url": "https://api.github.com/users/qmx/orgs",
"repos_url": "https://api.github.com/users/qmx/repos",
"events_url": "https://api.github.com/users/qmx/events{/privacy}",
"received_events_url": "https://api.github.com/users/qmx/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [
":+1: :man_facepalming: "
] | 2018-12-12T23:14:49 | 2018-12-12T23:16:10 | 2018-12-12T23:15:51 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/174/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/174/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/174",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/174",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/174.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/174.patch",
"merged_at": "2018-12-12T23:15:51"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/173 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/173/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/173/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/173/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/173 | 390,251,525 | MDExOlB1bGxSZXF1ZXN0MjM4MDU3NTcx | 173 | Updated documentation after feedback from Terraform team | {
"login": "nicholasjackson",
"id": 773533,
"node_id": "MDQ6VXNlcjc3MzUzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/773533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicholasjackson",
"html_url": "https://github.com/nicholasjackson",
"followers_url": "https://api.github.com/users/nicholasjackson/followers",
"following_url": "https://api.github.com/users/nicholasjackson/following{/other_user}",
"gists_url": "https://api.github.com/users/nicholasjackson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicholasjackson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicholasjackson/subscriptions",
"organizations_url": "https://api.github.com/users/nicholasjackson/orgs",
"repos_url": "https://api.github.com/users/nicholasjackson/repos",
"events_url": "https://api.github.com/users/nicholasjackson/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicholasjackson/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
},
{
"id": 737911929,
"node_id":... | closed | false | null | [] | null | [] | 2018-12-12T14:31:23 | 2018-12-12T15:13:53 | 2018-12-12T15:13:53 | CONTRIBUTOR | null | After feedback from the Terraform team I have updated the docs, currently, we have no concept for a Beta resource so the documentation for the K8s Cluster resources has been updated to remove this. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/173/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/173/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/173",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/173",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/173.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/173.patch",
"merged_at": "2018-12-12T15:13:52"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/172 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/172/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/172/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/172/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/172 | 390,227,535 | MDExOlB1bGxSZXF1ZXN0MjM4MDM4Mzc0 | 172 | Correct Kubernetes example | {
"login": "swestcott",
"id": 58629,
"node_id": "MDQ6VXNlcjU4NjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/58629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swestcott",
"html_url": "https://github.com/swestcott",
"followers_url": "https://api.github.com/users/swestcott/followers",
"following_url": "https://api.github.com/users/swestcott/following{/other_user}",
"gists_url": "https://api.github.com/users/swestcott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/swestcott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swestcott/subscriptions",
"organizations_url": "https://api.github.com/users/swestcott/orgs",
"repos_url": "https://api.github.com/users/swestcott/repos",
"events_url": "https://api.github.com/users/swestcott/events{/privacy}",
"received_events_url": "https://api.github.com/users/swestcott/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: Good catch. Thanks!"
] | 2018-12-12T13:32:45 | 2018-12-12T13:40:26 | 2018-12-12T13:40:26 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/172/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/172/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/172",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/172",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/172.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/172.patch",
"merged_at": "2018-12-12T13:40:26"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/171 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/171/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/171/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/171/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/171 | 388,334,169 | MDU6SXNzdWUzODgzMzQxNjk= | 171 | user_data not working, passes empty string "" | {
"login": "tnolet",
"id": 3802923,
"node_id": "MDQ6VXNlcjM4MDI5MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3802923?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tnolet",
"html_url": "https://github.com/tnolet",
"followers_url": "https://api.github.com/users/tnolet/followers",
"following_url": "https://api.github.com/users/tnolet/following{/other_user}",
"gists_url": "https://api.github.com/users/tnolet/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tnolet/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tnolet/subscriptions",
"organizations_url": "https://api.github.com/users/tnolet/orgs",
"repos_url": "https://api.github.com/users/tnolet/repos",
"events_url": "https://api.github.com/users/tnolet/events{/privacy}",
"received_events_url": "https://api.github.com/users/tnolet/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks for the report. Is the source for the module you are using publically available? Passing user data directly in a Droplet resource is working for me as expected. For example:\r\n\r\n```\r\nresource \"digitalocean_droplet\" \"foobar\" {\r\n name = \"foobar-001\"\r\n size = \"s-1vcpu-1gb\"\r\n i... | 2018-12-06T18:10:22 | 2018-12-07T15:03:13 | 2018-12-07T13:44:45 | NONE | null | ### Terraform Version
Terraform v0.11.8
+ provider.digitalocean v1.0.2
### Affected Resource(s)
- digitalocean_droplet
### Terraform Configuration Files
```hcl
// this is a resource in the "runners" dir
resource "digitalocean_droplet" "browser-check-runner" {
count = "${var.count}"
region = "${var.region}"
image = "docker-18-04"
name = "browser-check-runner-${count.index}"
size = "s-1vcpu-2gb"
monitoring = true
ssh_keys = ["${digitalocean_ssh_key.checkly.fingerprint}"]
lifecycle {
create_before_destroy = true
}
provisioner "remote-exec" {
inline = [
"until ps -ef | grep [l]auncher.js > /dev/null; do sleep 5; done"
]
connection {
type = "ssh"
user = "root"
private_key = "${file("~/.ssh/checkly.pem")}"
}
}
}
output "hostname" {
value = "${var.hostname}"
}
// references the runners resource
module "runners-eu-central-1-test" {
digitalocean_token = "${var.digitalocean_token}"
hostname = "browser-check-runner"
source = "runners"
region = "fra1"
count = 1
user_data = "${file("user-data-fra1-test.yml")}"
env = "test"
}
```
### Debug Output
2018-12-06T19:03:52.074+0100 [DEBUG] plugin.terraform-provider-digitalocean_v1.0.2_x4: 2018/12/06 19:03:52 [DEBUG] Droplet create configuration: &godo.DropletCreateRequest{Name:"browser-check-runner-0", Region:"fra1", Size:"s-1vcpu-2gb", Image:godo.DropletCreateImage{ID:0, Slug:"docker-18-04"}, SSHKeys:[]godo.DropletCreateSSHKey{godo.DropletCreateSSHKey{ID:0, Fingerprint:"bla bla bla"}}, Backups:false, IPv6:false, PrivateNetworking:false, Monitoring:true, UserData:"", Volumes:[]godo.DropletCreateVolume(nil), Tags:[]string{}}
private_networking: "" => "false"
region: "" => "fra1"
resize_disk: "" => "true"
size: "" => "s-1vcpu-2gb"
ssh_keys.#: "" => "1"
ssh_keys.3775177484: "" => "bla bla bla"
status: "" => "<computed>"
vcpus: "" => "<computed>"
volume_ids.#: "" => "<computed>"
### Expected Behavior
Create the DO droplet with user_data .
### Actual Behavior
Creates the DO droplet perfectly, just without the user_data. See the debug output, the UserData value is "".
### Steps to Reproduce
Terraform apply. Providing the user_data in the Digital Ocean UI does work.
### Important Factoids
I use exactly the same user_data files on AWS and that works fine.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/171/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/171/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/170 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/170/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/170/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/170/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/170 | 388,024,518 | MDU6SXNzdWUzODgwMjQ1MTg= | 170 | Fix broken link in github header | {
"login": "kwent",
"id": 879780,
"node_id": "MDQ6VXNlcjg3OTc4MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/879780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kwent",
"html_url": "https://github.com/kwent",
"followers_url": "https://api.github.com/users/kwent/followers",
"following_url": "https://api.github.com/users/kwent/following{/other_user}",
"gists_url": "https://api.github.com/users/kwent/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kwent/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kwent/subscriptions",
"organizations_url": "https://api.github.com/users/kwent/orgs",
"repos_url": "https://api.github.com/users/kwent/repos",
"events_url": "https://api.github.com/users/kwent/events{/privacy}",
"received_events_url": "https://api.github.com/users/kwent/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks for pointing this out. Something a bit strange is going on here. :thinking: This has been fixed before, but keeps regressing. I've asked the HashiCorp team who own the terraform-providers org to take a look. I suspect the repos themselves are managed via Terraform and that it is overwriting the manual fix."... | 2018-12-06T02:02:34 | 2018-12-11T00:58:22 | 2018-12-11T00:58:22 | NONE | null | <img width="564" alt="screen shot 2018-12-05 at 6 01 48 pm" src="https://user-images.githubusercontent.com/879780/49556268-e2a57d00-f8b7-11e8-9179-851e350c6909.png">
Change
- https://www.terraform.io/docs/providers/digitalocean/
to
- https://www.terraform.io/docs/providers/do/ | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/170/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/170/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/169 | 387,840,038 | MDExOlB1bGxSZXF1ZXN0MjM2MjQwMTkw | 169 | K8s | {
"login": "nicholasjackson",
"id": 773533,
"node_id": "MDQ6VXNlcjc3MzUzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/773533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicholasjackson",
"html_url": "https://github.com/nicholasjackson",
"followers_url": "https://api.github.com/users/nicholasjackson/followers",
"following_url": "https://api.github.com/users/nicholasjackson/following{/other_user}",
"gists_url": "https://api.github.com/users/nicholasjackson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicholasjackson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicholasjackson/subscriptions",
"organizations_url": "https://api.github.com/users/nicholasjackson/orgs",
"repos_url": "https://api.github.com/users/nicholasjackson/repos",
"events_url": "https://api.github.com/users/nicholasjackson/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicholasjackson/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
},
{
"id": 737911925,
"node_id": ... | closed | false | null | [] | null | [
"Having all the node pools on the `cluster` resource I think would be preferable.\r\n\r\n> Additional node pools are defined using the node_pool resource. Initially I wanted to just allow multiple node_pool blocks on the cluster however this caused problems when performing updates. The only way to ensure that the c... | 2018-12-05T16:31:12 | 2018-12-12T16:40:13 | 2018-12-11T18:03:50 | CONTRIBUTOR | null | Raising this to start some provisional chats about the new K8s resource.
This PR adds 2 new resources `kubernetes_cluster` and `kubernetes_node_pool` as well as one data source `kubernetes_cluster`.
To create a cluster it is required that you specify a `cluster` resource and define the default node pool. Additional node pools are defined using the `node_pool` resource. Initially I wanted to just allow multiple `node_pool` blocks on the cluster however this caused problems when performing updates. The only way to ensure that the correct node pool is updated was to limit the pool in the cluster to 1 and to add a hidden tag so that it can be read correctly later.
It is possible to change the size on the default node pool, this will be a documented note that changing the size will destroy the node pool and then re-create it. All other parameters can be performed by a non-destructive update. Changing the size for a node_pool resource would starts Terraform`s destroy / create cycle as normal.
Once a cluster has been created the K8s config will be available as an attribute, this is currently read from the API.
```hcl
1 resource "digitalocean_kubernetes_cluster" "foobar" {
2 name = "testing"
3 region = "lon1"
4 version = "1.12.1-do.2"
5 tags = ["foo", "bar"]
6
7 node_pool {
8 size = "s-1vcpu-2gb3"
9 node_count = 1
10 tags = ["one", "two"] // Tags from cluster are automatically added to node pools
11 }
12 }
13
14 // Add a second node pool
15 resource "digitalocean_kubernetes_node_pool" "barfoo" {
16 cluster_id = "${digitalocean_kubernetes_cluster.foobar.id}"
17
18 size = "s-1vcpu-2gb3"
19 node_count = 1
20 tags = ["three", "four"] // Tags from cluster are automatically added to node pools
21 }
```
I have not added the documentation yet as just wanted to run the schema past you before I write the docs.
Kind regards,
Nic | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 6,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/169/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/169",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/169",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/169.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/169.patch",
"merged_at": "2018-12-11T18:03:50"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/168 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/168/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/168/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/168/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/168 | 385,511,914 | MDExOlB1bGxSZXF1ZXN0MjM0NDY3MzI4 | 168 | Acceptance test sweeper improvements | {
"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": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-11-29T00:12:26 | 2019-03-22T15:05:51 | 2019-03-22T15:05:49 | MEMBER | null | This PR contains a number of fixes and improvements to the sweeper that is used to destroy dangling resources left behind by HashiCorp's CI in the case of failures:
- Ensures resources are created with the correct prefixes to be found by the sweeper
- Adds new sweepers for domains, certificates, and firewalls
- Uses larger page sizes when looking for resources
- Uses a random public key in resource_digitalocean_droplet_test instead of hardcoding one
There should be no user facing changes. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/168/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/168/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/168",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/168",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/168.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/168.patch",
"merged_at": "2019-03-22T15:05:49"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/167 | 384,113,898 | MDU6SXNzdWUzODQxMTM4OTg= | 167 | digitalocean_kubernetes | {
"login": "benjamin-maynard",
"id": 36383062,
"node_id": "MDQ6VXNlcjM2MzgzMDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/36383062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benjamin-maynard",
"html_url": "https://github.com/benjamin-maynard",
"followers_url": "https://api.github.com/users/benjamin-maynard/followers",
"following_url": "https://api.github.com/users/benjamin-maynard/following{/other_user}",
"gists_url": "https://api.github.com/users/benjamin-maynard/gists{/gist_id}",
"starred_url": "https://api.github.com/users/benjamin-maynard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjamin-maynard/subscriptions",
"organizations_url": "https://api.github.com/users/benjamin-maynard/orgs",
"repos_url": "https://api.github.com/users/benjamin-maynard/repos",
"events_url": "https://api.github.com/users/benjamin-maynard/events{/privacy}",
"received_events_url": "https://api.github.com/users/benjamin-maynard/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744178,
"node_id": "MDU6TGFiZWw2NDA3NDQxNzg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-resource",
"name": "new-resource",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"I could have a stab at this but I'd probably need a fair bit of oversight to get it over the line.",
"There is some work in-progress here. Hoping we'll see a PR very soon. :tada: ",
"Duplicate of #155 ",
":tada: This was release today in version 1.1.0. You can find the docs here:\r\n\r\nhttps://www.terraform... | 2018-11-25T20:14:18 | 2018-12-12T21:55:17 | 2018-12-12T16:38:17 | NONE | null | Hi,
Is it possible to get support for creating Digital Ocean Kubernetes Clusters? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167/reactions",
"total_count": 10,
"+1": 10,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/167/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/166 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/166/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/166/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/166/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/166 | 382,357,248 | MDU6SXNzdWUzODIzNTcyNDg= | 166 | Description must not be empty. | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"repos_url": "https://api.github.com/users/ghost/repos",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks for reporting this issue. Can you provide an more information about the module you are using?\r\n\r\nI am successfully able to create a volume without a description. For example:\r\n\r\n```\r\nresource \"digitalocean_volume\" \"foobar\" {\r\n region = \"nyc1\"\r\n name ... | 2018-11-19T19:20:10 | 2019-06-05T15:19:32 | 2019-06-05T15:19:32 | NONE | null | _This issue was originally opened by @lyc0221 as hashicorp/terraform#19400. It was migrated here as a result 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.11.10
Error: module.droplet.digitalocean_volume.data_volume: description must not be empty
Why must description not be empty???
I see in the following url that description is optional
https://www.terraform.io/docs/providers/do/r/volume.html
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/166/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/166/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/165 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/165/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/165/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/165/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/165 | 381,304,561 | MDU6SXNzdWUzODEzMDQ1NjE= | 165 | Droplet resource removes attached volumes | {
"login": "oliviabarrick",
"id": 29671524,
"node_id": "MDQ6VXNlcjI5NjcxNTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/29671524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oliviabarrick",
"html_url": "https://github.com/oliviabarrick",
"followers_url": "https://api.github.com/users/oliviabarrick/followers",
"following_url": "https://api.github.com/users/oliviabarrick/following{/other_user}",
"gists_url": "https://api.github.com/users/oliviabarrick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/oliviabarrick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oliviabarrick/subscriptions",
"organizations_url": "https://api.github.com/users/oliviabarrick/orgs",
"repos_url": "https://api.github.com/users/oliviabarrick/repos",
"events_url": "https://api.github.com/users/oliviabarrick/events{/privacy}",
"received_events_url": "https://api.github.com/users/oliviabarrick/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326629,
"node_id": "MDU6TGFiZWw2MjAzMjY2Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/question",
"name": "question",
"color": "cc317c",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"If they are being managed outside of Terraform, I think that setting `ignore_changes` for the `volume_ids` attribute is probably the best way to go.\r\n```\r\nresource \"digitalocean_droplet\" \"web\" {\r\n image = \"ubuntu-18-04-x64\"\r\n name = \"web-1\"\r\n region = \"nyc2\"\r\n size = \"s-1vcpu-1gb\"\... | 2018-11-15T19:23:19 | 2018-11-16T00:04:35 | 2018-11-16T00:04:34 | CONTRIBUTOR | null | If a droplet resource has volumes attached to it that are managed outside of Terraform (in my use-case, my droplet has volumes attached by the [csi-digitalocean](https://github.com/digitalocean/csi-digitalocean)), then terraform will remove the volumes on next apply:
```
11:18:18 == terraform-deploy => module.kubernetes.digitalocean_droplet.kubernetes_nodes[3]: Modifying... (ID: 119197558)
11:18:18 == terraform-deploy => volume_ids.#: "2" => "1"
11:18:18 == terraform-deploy => volume_ids.1419980023: "48b29148-e85c-11e8-a1d1-0a58ac14e059" => ""
11:18:18 == terraform-deploy => volume_ids.604109777: "7eb4efce-e838-11e8-a1d1-0a58ac14e059" => "7eb4efce-e838-11e8-a1d1-0a58ac14e059"
```
Is there any workaround for this issue?
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/165/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/165/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/164 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/164/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/164/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/164/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/164 | 380,446,813 | MDExOlB1bGxSZXF1ZXN0MjMwNjQyODYx | 164 | Update dead link | {
"login": "dramich",
"id": 13897607,
"node_id": "MDQ6VXNlcjEzODk3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/13897607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dramich",
"html_url": "https://github.com/dramich",
"followers_url": "https://api.github.com/users/dramich/followers",
"following_url": "https://api.github.com/users/dramich/following{/other_user}",
"gists_url": "https://api.github.com/users/dramich/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dramich/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dramich/subscriptions",
"organizations_url": "https://api.github.com/users/dramich/orgs",
"repos_url": "https://api.github.com/users/dramich/repos",
"events_url": "https://api.github.com/users/dramich/events{/privacy}",
"received_events_url": "https://api.github.com/users/dramich/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: Good catch. Thanks @dramich! "
] | 2018-11-13T22:10:55 | 2018-11-13T22:13:44 | 2018-11-13T22:13:44 | CONTRIBUTOR | null | The link for api docs on DO has been changed, update link to reflect that. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/164/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/164/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/164",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/164",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/164.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/164.patch",
"merged_at": "2018-11-13T22:13:44"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/163 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/163/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/163/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/163/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/163 | 379,441,131 | MDU6SXNzdWUzNzk0NDExMzE= | 163 | digitalocean_certificate not working with computed values | {
"login": "eb08a167",
"id": 32242765,
"node_id": "MDQ6VXNlcjMyMjQyNzY1",
"avatar_url": "https://avatars.githubusercontent.com/u/32242765?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eb08a167",
"html_url": "https://github.com/eb08a167",
"followers_url": "https://api.github.com/users/eb08a167/followers",
"following_url": "https://api.github.com/users/eb08a167/following{/other_user}",
"gists_url": "https://api.github.com/users/eb08a167/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eb08a167/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eb08a167/subscriptions",
"organizations_url": "https://api.github.com/users/eb08a167/orgs",
"repos_url": "https://api.github.com/users/eb08a167/repos",
"events_url": "https://api.github.com/users/eb08a167/events{/privacy}",
"received_events_url": "https://api.github.com/users/eb08a167/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 can confirm. Having the exact same problem here.",
"Is this not more likely to be the acme_certificate resource not providing the private key after a create and not a problem with the digital ocean provider? Have you tried an example without acme_certificate to eliminate it?",
"Same problem here:\r\n```terra... | 2018-11-10T17:19:31 | 2019-04-02T17:19:20 | 2019-04-02T17:19:20 | NONE | null | ### Terraform Version
Terraform v0.11.10
+ provider.acme v1.0.1
+ provider.digitalocean v1.0.2
+ provider.tls v1.2.0
### Affected Resource(s)
+ digitalocean_certificate
### Terraform Configuration Files
```hcl
resource "tls_private_key" "acme" {
algorithm = "RSA"
}
resource "acme_registration" "primary" {
account_key_pem = "${tls_private_key.acme.private_key_pem}"
email_address = "${var.acme_email_address}"
}
resource "acme_certificate" "primary" {
account_key_pem = "${acme_registration.primary.account_key_pem}"
common_name = "*.${digitalocean_domain.primary.name}"
dns_challenge {
provider = "digitalocean"
config {
DO_AUTH_TOKEN = "${var.do_token}"
}
}
}
resource "digitalocean_certificate" "primary" {
name = "primary-certificate"
private_key = "${acme_certificate.primary.private_key_pem}"
leaf_certificate = "${acme_certificate.primary.certificate_pem}"
certificate_chain = "${acme_certificate.primary.issuer_pem}"
}
```
### Debug Output
https://pastebin.com/gWH0iM0q
### Expected Behavior
digitalocean_certificate is created on apply
### Actual Behavior
Terraform fails with ```* digitalocean_certificate.primary: `private_key` is required for when type is `custom` or empty``` error
### Steps to Reproduce
1. `terraform apply`
### Important Factoids
It's possible to workaround the problem by performing the steps below:
1. Comment the `digitalocean_certificate` resource
2. Run `terraform apply`
3. Uncomment the `digitalocean_certificate` resource
4. Run `terraform apply`
After that the `digitalocean_certificate` resource is successfully created. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/163/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/163/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/162 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/162/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/162/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/162/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/162 | 379,097,376 | MDExOlB1bGxSZXF1ZXN0MjI5NjQzMzI0 | 162 | Fixes issue 158 relating to Firewall | {
"login": "thefossedog",
"id": 11097455,
"node_id": "MDQ6VXNlcjExMDk3NDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/11097455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thefossedog",
"html_url": "https://github.com/thefossedog",
"followers_url": "https://api.github.com/users/thefossedog/followers",
"following_url": "https://api.github.com/users/thefossedog/following{/other_user}",
"gists_url": "https://api.github.com/users/thefossedog/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thefossedog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thefossedog/subscriptions",
"organizations_url": "https://api.github.com/users/thefossedog/orgs",
"repos_url": "https://api.github.com/users/thefossedog/repos",
"events_url": "https://api.github.com/users/thefossedog/events{/privacy}",
"received_events_url": "https://api.github.com/users/thefossedog/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-11-09T10:03:52 | 2018-11-09T23:57:05 | 2018-11-09T23:57:05 | CONTRIBUTOR | null | fixes #158 158
Make protocol optional in both inbound and outbound ports.
This was changed in version 1.0.0 and the bug was reported shortly afterwards.
TBH not entirely sure why this fix works, but I am assuming it is something to do with the way that Go reads interfaces
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/162/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/162/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/162",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/162",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/162.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/162.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/161 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/161/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/161/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/161/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/161 | 377,762,174 | MDExOlB1bGxSZXF1ZXN0MjI4NjI2MzIw | 161 | ADD: Resource and Datasource for Droplet Snapshot | {
"login": "thefossedog",
"id": 11097455,
"node_id": "MDQ6VXNlcjExMDk3NDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/11097455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thefossedog",
"html_url": "https://github.com/thefossedog",
"followers_url": "https://api.github.com/users/thefossedog/followers",
"following_url": "https://api.github.com/users/thefossedog/following{/other_user}",
"gists_url": "https://api.github.com/users/thefossedog/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thefossedog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thefossedog/subscriptions",
"organizations_url": "https://api.github.com/users/thefossedog/orgs",
"repos_url": "https://api.github.com/users/thefossedog/repos",
"events_url": "https://api.github.com/users/thefossedog/events{/privacy}",
"received_events_url": "https://api.github.com/users/thefossedog/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911928,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XL",
"name": "size/XL",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Hi @andrewsomething Thanks for he great pointers in those comments. I've made the changes. Might still need a bit of work on the update functionality, but that could come later",
"hey @andrewsomething Thanks for the tips again, changes made",
"Thanks for all your work here (and your patience with my reviews)... | 2018-11-06T09:37:48 | 2018-11-13T01:40:55 | 2018-11-12T23:29:13 | CONTRIBUTOR | null | Droplet Snapshot Resource, Datasource and associated tests added | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/161/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/161/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/161",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/161",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/161.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/161.patch",
"merged_at": "2018-11-12T23:29:13"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/160 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/160/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/160/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/160/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/160 | 377,420,182 | MDU6SXNzdWUzNzc0MjAxODI= | 160 | digitalocean_image resource? | {
"login": "arianvp",
"id": 628387,
"node_id": "MDQ6VXNlcjYyODM4Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/628387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arianvp",
"html_url": "https://github.com/arianvp",
"followers_url": "https://api.github.com/users/arianvp/followers",
"following_url": "https://api.github.com/users/arianvp/following{/other_user}",
"gists_url": "https://api.github.com/users/arianvp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arianvp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arianvp/subscriptions",
"organizations_url": "https://api.github.com/users/arianvp/orgs",
"repos_url": "https://api.github.com/users/arianvp/repos",
"events_url": "https://api.github.com/users/arianvp/events{/privacy}",
"received_events_url": "https://api.github.com/users/arianvp/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": 640744178,
... | closed | false | null | [] | null | [
"This will need to land in godo first in order to enable this: https://github.com/digitalocean/godo/pull/186",
"Good news. Looks like that branch got completed and merged in godo ☝️ ",
"Just wanted to mention that support for importing custom images landed in Packer 1.3.5. Depending on your use cases, that migh... | 2018-11-05T14:19:38 | 2020-11-12T22:10:59 | 2020-11-12T22:10:59 | NONE | null |
This provider has a `digitalocean_image` data source, but since recently, it's also
supported to create custom images on digitalocean (https://developers.digitalocean.com/documentation/v2/#create-a-custom-image)
Would it be possible to expose this api as a `resource digitalocean_image`, similar to
https://www.terraform.io/docs/providers/google/r/compute_image.html
https://www.terraform.io/docs/providers/aws/r/ami.html
? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/160/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/160/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/159 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/159/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/159/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/159/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/159 | 377,084,629 | MDU6SXNzdWUzNzcwODQ2Mjk= | 159 | SSH Keys not attached to droplet on creation despite SSH keys being uploaded | {
"login": "programingnotes",
"id": 38335185,
"node_id": "MDQ6VXNlcjM4MzM1MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/38335185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/programingnotes",
"html_url": "https://github.com/programingnotes",
"followers_url": "https://api.github.com/users/programingnotes/followers",
"following_url": "https://api.github.com/users/programingnotes/following{/other_user}",
"gists_url": "https://api.github.com/users/programingnotes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/programingnotes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/programingnotes/subscriptions",
"organizations_url": "https://api.github.com/users/programingnotes/orgs",
"repos_url": "https://api.github.com/users/programingnotes/repos",
"events_url": "https://api.github.com/users/programingnotes/events{/privacy}",
"received_events_url": "https://api.github.com/users/programingnotes/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Ugh! Closing because this was a configuration mistake on my part. ",
"@programingnotes What was your config mistake? I am dealing with a similar issue and to me, everything looks fine in your initial code example you shared. What was wrong with it?"
] | 2018-11-03T19:14:37 | 2019-05-24T16:30:55 | 2018-11-04T00:46:03 | NONE | null | Hello,
Given `main.tf` with below setup:
```
resource "digitalocean_ssh_key" "root" {
name = "root"
public_key = "${chomp(file(var.root))}"
}
resource "digitalocean_droplet" "machine" {
name = "${var.name}"
region = "${var.region}"
size = "${var.size}"
image = "${var.image}"
ssh_keys = ["${digitalocean_ssh_key.root.fingerprint}"]
}
```
### Terraform Version
```
// ♥ terraform -v
Terraform v0.11.10
+ provider.digitalocean v1.0.2
```
### Affected Resource(s)
```
- digitalocean_ssh_key
- digitalocean_droplet
```
### Expected Behavior
- no password password when `ssh -i path/to/private/key root@droplet_ip` is run
- no email with root ssh password should be sent
### Actual Behavior
- password prompt is displayed when `ssh -i path/to/private/key root@droplet_ip` is run.
- email with ssh root password
### References
- digging around the internets reveals that [the DigitalOcean API does not return the SSH keys initially added to the Droplet at create time as part of the Droplet resource nor can SSH keys be added to or removed from an existing Droplet via the DigitalOcean API. My initial feeling is that this should be documented as a known limitation.] (https://github.com/terraform-providers/terraform-provider-digitalocean/issues/76#issuecomment-394529120).
- not only should this limitation be documented but also how to address this limitation also should be documented
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/159/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/159/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/158 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/158/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/158/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/158/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/158 | 373,569,704 | MDU6SXNzdWUzNzM1Njk3MDQ= | 158 | digitalocean_firewall throws "required field is not set" for "protocol" when it is set | {
"login": "jakubgs",
"id": 2212681,
"node_id": "MDQ6VXNlcjIyMTI2ODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2212681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jakubgs",
"html_url": "https://github.com/jakubgs",
"followers_url": "https://api.github.com/users/jakubgs/followers",
"following_url": "https://api.github.com/users/jakubgs/following{/other_user}",
"gists_url": "https://api.github.com/users/jakubgs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jakubgs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jakubgs/subscriptions",
"organizations_url": "https://api.github.com/users/jakubgs/orgs",
"repos_url": "https://api.github.com/users/jakubgs/repos",
"events_url": "https://api.github.com/users/jakubgs/events{/privacy}",
"received_events_url": "https://api.github.com/users/jakubgs/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"When I inspect the `null_resource` object I see that the structure clearly has the `protocol` attribute set:\r\n```\r\n> terraform show\r\n...\r\nmodule.canary.null_resource.open_ports.0:\r\n id = 7779321125867312987\r\n triggers.% = 2\r\n triggers.port_range = 22\r\n triggers.protocol = tcp\r\nmodule.canary.n... | 2018-10-24T16:29:16 | 2019-08-29T21:09:00 | 2019-08-29T21:09:00 | NONE | null | ### Terraform Version
```
> terraform --version
Terraform v0.11.9
+ provider.digitalocean v1.0.2
+ provider.null v1.0.0
```
### Affected Resource
Please list the resources as a list, for example:
- `digitalocean_firewall`
### Terraform Configuration Files
```hcl
locals {
open_ports = ["22", "655", "8000", "8301"]
}
resource "null_resource" "open_ports" {
count = "${length(local.open_ports)}"
triggers {
protocol = "tcp"
port_range = "${element(local.open_ports, count.index)}"
}
}
resource "digitalocean_firewall" "host" {
name = "some-firewall-rule"
droplet_ids = ["${digitalocean_droplet.host.*.id}"]
inbound_rule = ["${null_resource.open_ports.*.triggers}"]
}
```
### Debug Output
[tf_clean.log](https://github.com/terraform-providers/terraform-provider-digitalocean/files/2511428/tf_clean.log)
### Expected Behavior
When using version before `1.0.2` I was able to use the `null_resource` in order to dynamically generate the `inbound_rule` section from a list of ports that should be open.
### Actual Behavior
Now this approach fails with:
```
Error: module.canary.digitalocean_firewall.host: "inbound_rule.0.protocol": required field is not set
```
### Steps to Reproduce
Just try to `apply` the setup I posted.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/158/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/158/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/157 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/157/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/157/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/157/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/157 | 372,020,254 | MDExOlB1bGxSZXF1ZXN0MjI0MzM2NTcw | 157 | Revert to pre-1.0.0 handling of attribute to prevent unintentional rebuilds on upgrade. | {
"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": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Will try and dig into this today or tomorrow.",
"@eddiezane this is still an issue AFAICT",
"Superseded by https://github.com/terraform-providers/terraform-provider-digitalocean/pull/217"
] | 2018-10-19T16:02:29 | 2020-05-13T21:53:36 | 2019-04-19T16:23:04 | MEMBER | null | A potential "fix" for #152. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/157/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/157/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/157",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/157",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/157.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/157.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/156 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/156/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/156/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/156/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/156 | 371,603,951 | MDU6SXNzdWUzNzE2MDM5NTE= | 156 | Certificate and Private Key Stored in State | {
"login": "acleon",
"id": 544448,
"node_id": "MDQ6VXNlcjU0NDQ0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/544448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acleon",
"html_url": "https://github.com/acleon",
"followers_url": "https://api.github.com/users/acleon/followers",
"following_url": "https://api.github.com/users/acleon/following{/other_user}",
"gists_url": "https://api.github.com/users/acleon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/acleon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/acleon/subscriptions",
"organizations_url": "https://api.github.com/users/acleon/orgs",
"repos_url": "https://api.github.com/users/acleon/repos",
"events_url": "https://api.github.com/users/acleon/events{/privacy}",
"received_events_url": "https://api.github.com/users/acleon/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 | [
"The state is compared against the provided values ( `./certs/mycertificate.pem` in your case ) to determine if the resource needs to be recreated.",
"But if the private key changes, the certificate needs to change, and the fingerprint will change as well. There only needs to be a subset of this information store... | 2018-10-18T16:06:37 | 2019-12-16T17:24:59 | 2019-12-16T17:24:59 | NONE | null | ### Terraform Version
Terraform v0.11.8
### Affected Resource(s)
- digitalocean_certificate
### Terraform Configuration Files
```hcl
resource "digitalocean_certificate" "mycertificate" {
name = "My Certificate"
type = "custom"
private_key = "${file("./certs/mycertificate.key")}"
leaf_certificate = "${file("./certs/mycertificate.pem")}"
certificate_chain = "${file("./certs/mycertificate.chain.pem")}"
}
```
### Question
When creating a certificate resource, everything in the resource is stored in the state file, including the private key and the certificate itself. It seems strange because as far as I can tell, there's no need to ever retrieve these details again. Digital Ocean doesn't make them available via their API, so they can't be compared against the state, and Digital Ocean rejects any attempt to create a new resource with the same fingerprint or the same name. Is there a mechanism in Terraform to ignore resource properties when writing to state? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/156/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/156/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/155 | 370,959,048 | MDU6SXNzdWUzNzA5NTkwNDg= | 155 | Feature request: Extend the DigitalOcean provider to include the hosted Kubernetes | {
"login": "mmisztal1980",
"id": 1357057,
"node_id": "MDQ6VXNlcjEzNTcwNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1357057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmisztal1980",
"html_url": "https://github.com/mmisztal1980",
"followers_url": "https://api.github.com/users/mmisztal1980/followers",
"following_url": "https://api.github.com/users/mmisztal1980/following{/other_user}",
"gists_url": "https://api.github.com/users/mmisztal1980/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mmisztal1980/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mmisztal1980/subscriptions",
"organizations_url": "https://api.github.com/users/mmisztal1980/orgs",
"repos_url": "https://api.github.com/users/mmisztal1980/repos",
"events_url": "https://api.github.com/users/mmisztal1980/events{/privacy}",
"received_events_url": "https://api.github.com/users/mmisztal1980/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744178,
"node_id": "MDU6TGFiZWw2NDA3NDQxNzg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-resource",
"name": "new-resource",
"color": "d4c5f9",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This is really just a matter of waiting for k8's to become GA on DigitalOcean before its included in all the tooling.",
"To echo @lfarnell, definitely something we want to deliver! Well get this in when DO K8s hits GA and support lands in https://github.com/digitalocean/godo.",
"The service is publically avail... | 2018-10-17T08:37:45 | 2018-12-12T16:39:11 | 2018-12-12T16:39:11 | NONE | null | ### Current Terraform Version
N/A
### Use-cases
V. easy provisioning of a k8s cluster running on the DigitalOcean platform.
### Proposal
It'd be v. nice to have the DigitalOcean provider include support for the DigitalOcean-hosted Kubernetes solution.
### References
https://www.digitalocean.com/products/kubernetes/
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/155/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/154 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/154/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/154/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/154/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/154 | 370,731,605 | MDExOlB1bGxSZXF1ZXN0MjIzMzQ0MDM2 | 154 | Fix minor typo | {
"login": "eddiezane",
"id": 959573,
"node_id": "MDQ6VXNlcjk1OTU3Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/959573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eddiezane",
"html_url": "https://github.com/eddiezane",
"followers_url": "https://api.github.com/users/eddiezane/followers",
"following_url": "https://api.github.com/users/eddiezane/following{/other_user}",
"gists_url": "https://api.github.com/users/eddiezane/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eddiezane/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eddiezane/subscriptions",
"organizations_url": "https://api.github.com/users/eddiezane/orgs",
"repos_url": "https://api.github.com/users/eddiezane/repos",
"events_url": "https://api.github.com/users/eddiezane/events{/privacy}",
"received_events_url": "https://api.github.com/users/eddiezane/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911929,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XS",
"name": "size/XS",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-10-16T18:01:24 | 2018-10-16T19:26:32 | 2018-10-16T19:26:30 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/154/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/154/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/154",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/154",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/154.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/154.patch",
"merged_at": "2018-10-16T19:26:30"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/153 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/153/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/153/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/153/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/153 | 369,612,390 | MDU6SXNzdWUzNjk2MTIzOTA= | 153 | RFE: Get latest image for distribution | {
"login": "ArtiomL",
"id": 3167332,
"node_id": "MDQ6VXNlcjMxNjczMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3167332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArtiomL",
"html_url": "https://github.com/ArtiomL",
"followers_url": "https://api.github.com/users/ArtiomL/followers",
"following_url": "https://api.github.com/users/ArtiomL/following{/other_user}",
"gists_url": "https://api.github.com/users/ArtiomL/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ArtiomL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ArtiomL/subscriptions",
"organizations_url": "https://api.github.com/users/ArtiomL/orgs",
"repos_url": "https://api.github.com/users/ArtiomL/repos",
"events_url": "https://api.github.com/users/ArtiomL/events{/privacy}",
"received_events_url": "https://api.github.com/users/ArtiomL/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks for the request. I can totally see the use case for this one already (I always have trouble remembering the slugs).\r\n\r\nIt might be possible to hack something together with https://developers.digitalocean.com/documentation/v2/#list-all-distribution-images but I think this would be better implemented at t... | 2018-10-12T15:59:25 | 2018-10-17T18:46:52 | 2018-10-17T14:16:37 | NONE | null | Hi,
Please consider adding a data source that could output the latest image slug for a specific distribution.
For example:
Input: `Debian`
Output: `debian-9-x64`
Thanks. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/153/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/153/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/152 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/152/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/152/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/152/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/152 | 369,266,817 | MDU6SXNzdWUzNjkyNjY4MTc= | 152 | droplet: Inconsistent plan output from 1.0.0 to 1.0.2 | {
"login": "aymanrady",
"id": 2373059,
"node_id": "MDQ6VXNlcjIzNzMwNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2373059?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aymanrady",
"html_url": "https://github.com/aymanrady",
"followers_url": "https://api.github.com/users/aymanrady/followers",
"following_url": "https://api.github.com/users/aymanrady/following{/other_user}",
"gists_url": "https://api.github.com/users/aymanrady/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aymanrady/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aymanrady/subscriptions",
"organizations_url": "https://api.github.com/users/aymanrady/orgs",
"repos_url": "https://api.github.com/users/aymanrady/repos",
"events_url": "https://api.github.com/users/aymanrady/events{/privacy}",
"received_events_url": "https://api.github.com/users/aymanrady/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"i was using 1.0.2 for a couple of days already, and today while running a terraform plan, it proposed to recreate all machines due to image changes.\r\n\r\nIt seems to be something on the DO API :/",
"the workaround is basically to change the image to whatever ID the plan says it is changing from.\r\n\r\nvery an... | 2018-10-11T19:15:58 | 2020-10-06T06:04:16 | 2019-04-19T15:22:18 | NONE | null | ### Terraform Version
```diff
Terraform v0.11.8
+ provider.acme v1.0.1
+ provider.cloudflare v1.3.0
- + provider.digitalocean v1.0.0
+ + provider.digitalocean v1.0.2
+ provider.google v1.17.1
+ provider.local v1.1.0
+ provider.mailgun v0.1.0
+ provider.null v1.0.0
+ provider.random v2.0.0
+ provider.template v1.0.0
+ provider.tls v1.2.0
```
### Affected Resource(s)
- digitalocean_droplet
### Terraform Configuration Files
```hcl
resource "digitalocean_droplet" "server" {
name = "${var.server_name}"
image = "ubuntu-18-04-x64"
region = "${var.server_region}"
size = "${var.server_size}"
backups = "${var.server_backups_enabled}"
monitoring = "${var.server_monitoring_enabled}"
user_data = "${data.template_file.cloud_config.rendered}"
tags = ["terraform-managed"]
lifecycle {
ignore_changes = [
"user_data",
]
}
}
```
### Debug Output
Unfortunately, I can't provide a trace
### Expected Behavior
Same plan output
### Actual Behavior
- v1.0.0
```
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
<redacted>
digitalocean_droplet.server: Refreshing state... (ID: <redacted>)
<redacted>
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
```
- v1.0.2
```
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
<redacted>
digitalocean_droplet.server: Refreshing state... (ID: <redacted>)
<redacted>
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
-/+ destroy and then create replacement
Terraform will perform the following actions:
<redacted>
-/+ module.one.digitalocean_droplet.server (new resource required)
id: "<redacted>" => <computed> (forces new resource)
image: "37208325" => "ubuntu-18-04-x64" (forces new resource)
<redacted>
<redacted>
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
```
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. `terraform plan` with v1.0.0
2. `terraform plan` with v1.0.2
### Important Factoids
- `$ doctl compute droplet get <redacted> -o json | jq '.[].image'`
```json
{
"id": 37208325,
"name": "18.04 x64",
"type": "snapshot",
"distribution": "Ubuntu",
"regions": [
"nyc1",
"sfo1",
"nyc2",
"ams2",
"sgp1",
"lon1",
"nyc3",
"ams3",
"fra1",
"tor1",
"sfo2",
"blr1"
],
"min_disk_size": 20,
"created_at": "2018-08-14T20:03:35Z"
}
```
- `$ doctl compute image get ubuntu-18-04-x64 -o json`
```json
[
{
"id": 38897365,
"name": "18.04 x64",
"type": "snapshot",
"distribution": "Ubuntu",
"slug": "ubuntu-18-04-x64",
"public": true,
"regions": [
"nyc1",
"sfo1",
"nyc2",
"ams2",
"sgp1",
"lon1",
"nyc3",
"ams3",
"fra1",
"tor1",
"sfo2",
"blr1"
],
"min_disk_size": 20,
"created_at": "2018-10-05T16:44:52Z"
}
]
```
- default.tfstate
```
{
"version": 3,
"terraform_version": "0.11.8",
"serial": 90,
"lineage": "d9a9709a-052f-1397-8026-d913d84d1e8e",
"modules": [
{
"path": [ "root" ],
"outputs": {},
"resources": {"<redacted>"},
"depends_on": []
},
{
"path": [ "root", "one" ],
"outputs": {},
"resources": {
"digitalocean_droplet.server": {
"type": "digitalocean_droplet",
"depends_on": [ "data.template_file.cloud_config" ],
"primary": {
"id": "<redacted>",
"attributes": {
"id": "<redacted>",
"image": "ubuntu-18-04-x64",
<redacted>
},
"meta": {
"schema_version": "1"
},
"tainted": false
},
"deposed": [],
"provider": "provider.digitalocean"
}
},
"depends_on": []
}
]
}
```
### Notes
- Ran terraform on two machines ( ubuntu 16.04 & 18.04 )
- I checked the changes between v1.0.0 & v1.0.2 and couldn't find a reason for this behavior
- At the time of server creation, I suspect that digitalocean was returning a slug in the api response but no longer does as the image id is not associated with the latest distribution image available | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/152/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/152/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/151 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/151/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/151/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/151/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/151 | 367,973,785 | MDU6SXNzdWUzNjc5NzM3ODU= | 151 | floating_ip_assignment does not apply cleanly. | {
"login": "stillinbeta",
"id": 523632,
"node_id": "MDQ6VXNlcjUyMzYzMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/523632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stillinbeta",
"html_url": "https://github.com/stillinbeta",
"followers_url": "https://api.github.com/users/stillinbeta/followers",
"following_url": "https://api.github.com/users/stillinbeta/following{/other_user}",
"gists_url": "https://api.github.com/users/stillinbeta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stillinbeta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stillinbeta/subscriptions",
"organizations_url": "https://api.github.com/users/stillinbeta/orgs",
"repos_url": "https://api.github.com/users/stillinbeta/repos",
"events_url": "https://api.github.com/users/stillinbeta/events{/privacy}",
"received_events_url": "https://api.github.com/users/stillinbeta/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | open | false | null | [] | null | [
"You could use `digitalocean_floating_ip` to both create and assign the IP.\r\n\r\nIt works for me:\r\n\r\n```\r\nresource \"digitalocean_droplet\" \"foobar\" {\r\n name = \"baz\"\r\n size = \"s-1vcpu-1gb\"\r\n image = \"ubuntu-18-04-x64\"\r\n region = \"sgp1... | 2018-10-08T22:24:40 | 2020-09-03T16:08:34 | null | NONE | null | ### Terraform Version
```
$ terraform -v
Terraform v0.11.8
+ provider.digitalocean v1.0.0
```
### Affected Resource(s)
Please list the resources as a list, for example:
- digitalocean_floating_ip_assignment
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
variable "digital_ocean_token" {}
provider "digitalocean" {
token = "${var.digital_ocean_token}"
version = "1.0.0"
}
resource "digitalocean_floating_ip" "ip" {
region = "nyc1"
}
resource "digitalocean_droplet" "droplet" {
name = "mastodon"
image = "ubuntu-18-04-x64"
region = "nyc1"
size = "1gb"
}
resource "digitalocean_floating_ip_assignment" "ip_assignment"{
droplet_id = "${digitalocean_droplet.droplet.id}"
ip_address = "${digitalocean_floating_ip.ip.ip_address}"
}
```
### Debug Output
https://gist.github.com/stillinbeta/20d7b6c52cb59a839b47ce0997451ebb
### Panic Output
none
### Expected Behavior
The floating IP address should be assigned and exit cleanly.
### Actual Behavior
Behind the scenes the floating IP is assigned to the appropriate droplet, but it then errors out. Because of the error, the floating IP isn't marked as assigned in the terraform state, so it will try to apply the assignment again next time Terraform is executed.
```
Error: Error applying plan:
1 error(s) occurred:
* digitalocean_floating_ip_assignment.ip_assignment: 1 error(s) occurred:
* digitalocean_floating_ip_assignment.ip_assignment: Error Assigning FloatingIP (165.227.254.109) to the droplet: json: cannot unmarshal number 2783182445 into Go struct field Action.resource_id of type int
````
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. Define a digital ocean key under `digital_ocean_api_key` in e.g. terraform.tfvars
1. `terraform apply`
### Important Factoids
none
### References
none | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/151/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/151/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/150 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/150/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/150/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/150/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/150 | 367,492,645 | MDU6SXNzdWUzNjc0OTI2NDU= | 150 | Module Dependency Errors | {
"login": "ArtiomL",
"id": 3167332,
"node_id": "MDQ6VXNlcjMxNjczMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3167332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArtiomL",
"html_url": "https://github.com/ArtiomL",
"followers_url": "https://api.github.com/users/ArtiomL/followers",
"following_url": "https://api.github.com/users/ArtiomL/following{/other_user}",
"gists_url": "https://api.github.com/users/ArtiomL/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ArtiomL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ArtiomL/subscriptions",
"organizations_url": "https://api.github.com/users/ArtiomL/orgs",
"repos_url": "https://api.github.com/users/ArtiomL/repos",
"events_url": "https://api.github.com/users/ArtiomL/events{/privacy}",
"received_events_url": "https://api.github.com/users/ArtiomL/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi, thanks for the report.\r\n\r\nTaking a look at the module, it seems that the issue is that it is not presenting the Droplet IDs to the firewall resource as a list here:\r\n\r\nhttps://github.com/ArtiomL/terraform-do/blob/master/modules/firewall/main.tf#L9\r\n\r\nCompare that line to this one from [the docs](ht... | 2018-10-06T20:22:36 | 2018-10-17T18:49:23 | 2018-10-17T18:49:23 | NONE | null | Hi,
I have an issue with modules using the DigitalOcean provider.
Seems like an `output` variable of one module can't be used as an `input` variable to another module.
### Terraform Version
```
Terraform v0.11.8
+ provider.digitalocean v1.0.2
+ provider.external v1.0.0
```
### Affected Resource(s)
Please list the resources as a list, for example:
- digitalocean_firewall
- digitalocean_droplet
- digitalocean_ssh_key
This issue appears to affect multiple resources.
### Terraform Configuration Files
```hcl
# DigitalOcean Resources
provider "digitalocean" {}
# Droplet
module "droplet" {
source = "./droplet"
do_region = "${var.do_region}"
key_path = "${var.key_path}"
key_name = "${var.key_name}"
droplet_names = "${var.droplet_names}"
droplet_image = "${var.droplet_image}"
droplet_size = "${var.droplet_size}"
droplet_backups = "${var.droplet_backups}"
floating_ip = "${var.floating_ip}"
user_data = "${var.user_data}"
tags_shared = "${var.tags_shared}"
}
# Public IP
module "ifconfig" {
source = "github.com/ArtiomL/f5-terraform/modules/common/ifconfig"
}
# Firewall
module "firewall" {
source = "./firewall"
firewall_name = "${var.firewall_name}"
droplet_ids = "${module.droplet.ids}"
tags_shared = "${var.tags_shared}"
}
```
The main file is here: https://github.com/ArtiomL/terraform-do/blob/master/modules/main.tf
The modules are here: https://github.com/ArtiomL/terraform-do/tree/master/modules
### Debug Output
```
/opt/terraform/terraform-do/modules $ terraform plan
Error: module.firewall.digitalocean_firewall.main: droplet_ids: should be a list
/opt/terraform/terraform-do/modules $
```
### Expected Behavior
The `firewall` module should "understand" that some of its input variables depend on previous modules executing and producing their outputs.
### Actual Behavior
Dependency errors.
### Steps to Reproduce
1. `terraform init`
2. `terraform plan` or `terraform apply`
Thanks.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/150/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/150/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/149 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/149/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/149/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/149/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/149 | 366,916,079 | MDExOlB1bGxSZXF1ZXN0MjIwNDc1MjMw | 149 | Ensure floating_ip_assignment works with create_before_destroy (Fixes #147). | {
"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": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-10-04T18:31:45 | 2018-10-04T18:47:58 | 2018-10-04T18:47:54 | MEMBER | null | This PR resolves an issue (#147) with using the `create_before_destroy` lifecycle rule with the new `floating_ip_assignment` resource.
What is currently occurring:
1. After the new Droplet is created, the Floating IP is reassigned by creating a new "virtual" attachment resource.
2. The old deposed attachment resource is deleted causing the Floating IP to be unassigned. Since this is the same FIP that was already re-assigned, we are left in a tainted state where the new attachment resource exists but the FIP is not actually assigned to the new Droplet.
This PR changes this behavior by re-reading the deposed attachment resource before unassigning the Floating IP. If the old Droplet ID is no longer found, it marks the attachment resource as destroyed. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/149/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/149/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/149",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/149",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/149.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/149.patch",
"merged_at": "2018-10-04T18:47:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/148 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/148/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/148/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/148/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/148 | 366,865,066 | MDExOlB1bGxSZXF1ZXN0MjIwNDM1NjI1 | 148 | Suppress diff for dns names on custom certificate resources (Fixes: #146) | {
"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": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-10-04T16:10:49 | 2018-10-04T18:27:46 | 2018-10-04T18:27:44 | MEMBER | null | When creating a custom certificate, the DigitalOcean API does not accept the `domains` attribute. This is only used when creating a Let's Encrypt certificate. Though the API does return this attribute when reading an existing custom certificate as the information is inferred from the provided certificate. This leads to the situation seen in #146. This PR resolves this issue by suppressing the diff for the `domains` attribute when the `type` is `custom`.
Most of the code added here is in the test. Our previous test did not catch this issue as it used Terraform's `acctest.RandTLSCert` to generate the test data. This function does not set the DNS names for the certificate. The new code is based on it, but allows for passing DNS name. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/148/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/148/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/148",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/148",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/148.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/148.patch",
"merged_at": "2018-10-04T18:27:44"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/147 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/147/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/147/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/147/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/147 | 366,742,368 | MDU6SXNzdWUzNjY3NDIzNjg= | 147 | Floating IP assignment is lost when performing blue/green deployment | {
"login": "dave-lew99",
"id": 547612,
"node_id": "MDQ6VXNlcjU0NzYxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/547612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dave-lew99",
"html_url": "https://github.com/dave-lew99",
"followers_url": "https://api.github.com/users/dave-lew99/followers",
"following_url": "https://api.github.com/users/dave-lew99/following{/other_user}",
"gists_url": "https://api.github.com/users/dave-lew99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dave-lew99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dave-lew99/subscriptions",
"organizations_url": "https://api.github.com/users/dave-lew99/orgs",
"repos_url": "https://api.github.com/users/dave-lew99/repos",
"events_url": "https://api.github.com/users/dave-lew99/events{/privacy}",
"received_events_url": "https://api.github.com/users/dave-lew99/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 reporting this issue. I believe we have determined the cause and have a fix in place. I'll update here once we've cut a new release.",
"This fix was released as version 1.0.2. You can upgrade with:\r\n\r\n terraform init -upgrade\r\n\r\nThanks again for the report, and please let us know if you ... | 2018-10-04T11:21:52 | 2018-10-05T13:39:59 | 2018-10-04T18:47:56 | NONE | null | Hi there,
### Terraform Version
Terraform v0.11.8
### Affected Resource(s)
Please list the resources as a list, for example:
- digitalocean_droplet
- digitalocean_floating_ip_assignment
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" "test-1" {
image = "centos-7-x64"
name = "test-1"
region = "fra1"
size = "s-1vcpu-1gb"
private_networking = false
lifecycle {
create_before_destroy = true
}
}
resource "digitalocean_floating_ip" "testip" {
region = "fra1"
}
resource "digitalocean_floating_ip_assignment" "testip-assignment" {
ip_address = "${digitalocean_floating_ip.testip.id}"
droplet_id = "${digitalocean_droplet.test-1.id}"
lifecycle {
create_before_destroy = true
}
}
```
### Debug Output
### Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the `crash.log`.
### Expected Behavior
When updating a droplet with a new image, the new droplet should be provisioned then the floating IP assignment is changed over to the new droplet, before destroying the old droplet.
### Actual Behavior
The floating IP assignment briefly swaps to the newly provisioned instance before being destroyed entirely. Running `terraform apply` again fixes the association.
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. `terraform apply`
2. Change the `image` value
3. Run `terraform apply`
### References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
- Maybe GH-99
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/147/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/147/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/146 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/146/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/146/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/146/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/146 | 366,617,461 | MDU6SXNzdWUzNjY2MTc0NjE= | 146 | Cert Resource constantly updates | {
"login": "troywilson",
"id": 42835858,
"node_id": "MDQ6VXNlcjQyODM1ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/42835858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/troywilson",
"html_url": "https://github.com/troywilson",
"followers_url": "https://api.github.com/users/troywilson/followers",
"following_url": "https://api.github.com/users/troywilson/following{/other_user}",
"gists_url": "https://api.github.com/users/troywilson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/troywilson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/troywilson/subscriptions",
"organizations_url": "https://api.github.com/users/troywilson/orgs",
"repos_url": "https://api.github.com/users/troywilson/repos",
"events_url": "https://api.github.com/users/troywilson/events{/privacy}",
"received_events_url": "https://api.github.com/users/troywilson/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": 640744190,
"node_id": "MDU6TGFiZWw2NDA3ND... | closed | false | null | [] | null | [
"Thank you for reporting this issue. I believe we have determined the cause and have a fix in place. I'll update here once we've cut a new release.",
"Thanks for the quick turn around :)",
"This fix was released as version 1.0.2. You can upgrade with:\r\n\r\n terraform init -upgrade\r\n\r\nThanks again for t... | 2018-10-04T04:25:53 | 2018-10-05T13:39:24 | 2018-10-04T18:27:45 | NONE | null | Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
### Terraform Version
Run `terraform -v` to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
0.11.8
### Affected Resource(s)
Please list the resources as a list, for example:
- digitalocean_certificate
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 "tls_private_key" "primary-cert-private_key" {
algorithm = "RSA"
}
resource "tls_cert_request" "primary" {
key_algorithm = "RSA"
private_key_pem = "${tls_private_key.primary-cert-private_key.private_key_pem}"
dns_names = ["${var.primary_dns_name}", "*.${var.primary_dns_name}"]
subject {
common_name = "${var.primary_dns_name}"
}
}
resource "acme_certificate" "primary" {
account_key_pem = "${tls_private_key.reg_private_key.private_key_pem}"
certificate_request_pem = "${tls_cert_request.primary.cert_request_pem}"
depends_on = ["aws_route53_record.primary-caa-wildcard"]
min_days_remaining = 31
dns_challenge {
provider = "route53"
}
}
resource "digitalocean_certificate" "primary" {
name = "${var.primary_dns_name}"
private_key = "${tls_private_key.primary-cert-private_key.private_key_pem}"
leaf_certificate = "${acme_certificate.primary.certificate_pem}"
certificate_chain = "${acme_certificate.primary.issuer_pem}"
}
```
### Expected Behavior
The cert is installed once and only re-installed when the underlining acme cert is changed.
### Actual Behavior
The cert is deleted and re-installed into DO every time. It was working fine before the 1.0 upgrade. Sample output from apply:
-/+ digitalocean_certificate.primary (new resource required)
id: "xxxxxxxxxxxxxxxxxxxxxxxxx" => \<computed\> (forces new resource)
certificate_chain: "DATA CLIPPED"
domains.#: "2" => "0" (forces new resource)
domains.xxxxxxx: "domain1.com" => "" (forces new resource)
domains.xxxxxxx: "*.domain1.com" => "" (forces new resource)
leaf_certificate: "DATA CLIPPED"
name: "domain1.com" => "domain1.com"
not_after: "2018-12-30T22:13:49Z" => \<computed\>
private_key: \<sensitive\> => \<sensitive\> (attribute changed)
sha1_fingerprint: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" => \<computed\>
state: "verified" => \<computed\>
type: "custom" => "custom"
Plan: 1 to add, 0 to change, 1 to destroy.
### Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1. `terraform apply`
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/146/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/146/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/145 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/145/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/145/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/145/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/145 | 365,487,182 | MDExOlB1bGxSZXF1ZXN0MjE5Mzk1NzU4 | 145 | Ensure image ID set to state when importing a Droplet (Fixes: #144). | {
"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": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-10-01T14:26:07 | 2018-10-01T14:33:41 | 2018-10-01T14:33:37 | MEMBER | null | When importing a Droplet based on an image that no longer has a slug (or never had one, e.g. a snapshot), the image ID is not properly being set to state. This had not been an issue in the past as we did not validate that the image value was not an empty string.
This PR ensures the correct value is set.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/145/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/145/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/145",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/145",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/145.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/145.patch",
"merged_at": "2018-10-01T14:33:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/144 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/144/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/144/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/144/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/144 | 365,032,846 | MDU6SXNzdWUzNjUwMzI4NDY= | 144 | image must not be empty | {
"login": "z3ntu",
"id": 3768500,
"node_id": "MDQ6VXNlcjM3Njg1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3768500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/z3ntu",
"html_url": "https://github.com/z3ntu",
"followers_url": "https://api.github.com/users/z3ntu/followers",
"following_url": "https://api.github.com/users/z3ntu/following{/other_user}",
"gists_url": "https://api.github.com/users/z3ntu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/z3ntu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/z3ntu/subscriptions",
"organizations_url": "https://api.github.com/users/z3ntu/orgs",
"repos_url": "https://api.github.com/users/z3ntu/repos",
"events_url": "https://api.github.com/users/z3ntu/events{/privacy}",
"received_events_url": "https://api.github.com/users/z3ntu/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": 640744190,
"node_id": "MDU6TGFiZWw2NDA3ND... | closed | false | null | [] | null | [
"Thanks for the fix! I've built the binary from git and replaced it, ran `env TF_SKIP_PROVIDER_VERIFY=1 terraform refresh` and now the image string is some number which I can use in the config.\r\n\r\nIs there a better way to get the updated provider into my terraform folder (so I don't have to use this environment... | 2018-09-28T20:40:08 | 2018-10-02T21:47:46 | 2018-10-01T14:33:38 | NONE | null | ### Terraform Version
```
Terraform v0.11.8
+ provider.digitalocean v1.0.0
```
I have an existing droplet that I imported into terraform a while ago but now (after upgrading to 1.0.0 probably) I can't get around the `Error: digitalocean_droplet.vps: image must not be empty` error I get with basically every command. If I change the `image` value to anything other than an empty string, I get ` image: "" => "test" (forces new resource)` when I call `terraform plan` but I don't want to recreate my droplet so I would like to keep it at an empty string.
EDIT: The API returns the following block for my image:
```
"image": {
"id": 15542960,
"name": "arch-configured",
"distribution": "Debian",
"slug": null,
"public": false,
"regions": [
"ams3"
],
"created_at": "2016-01-29T14:03:45Z",
"min_disk_size": 20,
"type": "snapshot",
"size_gigabytes": 1.7
},
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/144/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/144/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/143 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/143/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/143/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/143/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/143 | 363,313,058 | MDU6SXNzdWUzNjMzMTMwNTg= | 143 | Importing droplet will try to generate resize_disk attribute | {
"login": "txomon",
"id": 228250,
"node_id": "MDQ6VXNlcjIyODI1MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/228250?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/txomon",
"html_url": "https://github.com/txomon",
"followers_url": "https://api.github.com/users/txomon/followers",
"following_url": "https://api.github.com/users/txomon/following{/other_user}",
"gists_url": "https://api.github.com/users/txomon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/txomon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/txomon/subscriptions",
"organizations_url": "https://api.github.com/users/txomon/orgs",
"repos_url": "https://api.github.com/users/txomon/repos",
"events_url": "https://api.github.com/users/txomon/events{/privacy}",
"received_events_url": "https://api.github.com/users/txomon/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 | [
"Thanks for the report. This issue occurs since the `resize_disk` attribute was not being set during import, but the provider defaults to `resize_disk = true`.\r\n\r\nRather than ignoring changes, you can set it to the value you'd like. This attribute controls whether the disk size of a Droplet will be increased or... | 2018-09-24T20:43:56 | 2018-09-28T20:05:58 | 2018-09-28T20:05:58 | NONE | null | Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
### Terraform Version
```
$ terraform -v
Terraform v0.11.8
+ provider.digitalocean v0.1.3
```
### Affected Resource(s)
- digitalocean_droplet
### Terraform Configuration Files
```hcl
resource "digitalocean_droplet" "project_droplet" {
name = "somemachine-ubuntu-512mb-lon1-01"
region = "lon1"
size = "512mb"
image = ""
```
### Expected Behavior
After importing the resource properly, there should be no changes
### Actual Behavior
However terraform wants to change it:
```
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ digitalocean_droplet.project_droplet
resize_disk: "" => "false"
Plan: 0 to add, 1 to change, 0 to destroy.
```
### Steps to Reproduce
1. `terraform import digitalocean_droplet.project_droplet 123456789`
2. `terraform plan`
### Important Factoids
May this be because the upgrades DO did for free (machines before had less of everything IIRC) and this machine was created long ago.
### Workaround
```
resource "digitalocean_droplet" "project_droplet" {
name = "somemachine-ubuntu-512mb-lon1-01"
region = "lon1"
size = "512mb"
image = ""
lifecycle = {
ignore_changes = "resize_disk"
}
}
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/143/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/143/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/142 | 361,492,219 | MDU6SXNzdWUzNjE0OTIyMTk= | 142 | New Release? | {
"login": "liztio",
"id": 33235082,
"node_id": "MDQ6VXNlcjMzMjM1MDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/33235082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liztio",
"html_url": "https://github.com/liztio",
"followers_url": "https://api.github.com/users/liztio/followers",
"following_url": "https://api.github.com/users/liztio/following{/other_user}",
"gists_url": "https://api.github.com/users/liztio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liztio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liztio/subscriptions",
"organizations_url": "https://api.github.com/users/liztio/orgs",
"repos_url": "https://api.github.com/users/liztio/repos",
"events_url": "https://api.github.com/users/liztio/events{/privacy}",
"received_events_url": "https://api.github.com/users/liztio/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"yes, please!\r\n\r\nthe tags sorting issue is **so annoying** and it's fixed on master it seems...\r\n\r\nI'll be glad to help BTW!",
"Good news folks: Barring any surprises, we'll be looking to cut a new release later this week. I know it's long overdue. We want to land #115 as well since this is another big pa... | 2018-09-18T21:31:23 | 2018-09-28T20:09:49 | 2018-09-28T20:09:49 | NONE | null | We've got a lot of issues marked "fixed-in-master." I know I've been using the master release to set up infrastructure, and it'd sure be easier to use if there was a 1.4
@andrewsomething looks like you're our maintainer, how about it? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/142/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/141 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/141/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/141/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/141/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/141 | 358,813,022 | MDExOlB1bGxSZXF1ZXN0MjE0NDU4NTg1 | 141 | Documentation clean up / improvements. | {
"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": 620327014,
"node_id": "MDU6TGFiZWw2MjAzMjcwMTQ=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/documentation",
"name": "documentation",
"color": "fef2c0",
"default": true,
"description": null
},
{
"id": 737911926,
"node_id":... | closed | false | null | [] | null | [] | 2018-09-10T22:09:05 | 2018-09-24T16:25:13 | 2018-09-24T16:25:10 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/141/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/141/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/141",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/141",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/141.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/141.patch",
"merged_at": "2018-09-24T16:25:10"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/140 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/140/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/140/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/140/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/140 | 358,113,471 | MDExOlB1bGxSZXF1ZXN0MjEzOTY0Mzg5 | 140 | Ensure tests are consistent with the current status of the resources/datasources | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-09-07T15:30:16 | 2018-09-07T19:27:56 | 2018-09-07T19:27:56 | CONTRIBUTOR | null | This PR includes minor fixes to ensure all the acceptance tests pass. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/140/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/140/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/140",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/140",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/140.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/140.patch",
"merged_at": "2018-09-07T19:27:56"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/139 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/139/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/139/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/139/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/139 | 358,040,381 | MDExOlB1bGxSZXF1ZXN0MjEzOTA3MDA3 | 139 | Add Volume Snapshot resource and datasource | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911928,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XL",
"name": "size/XL",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"@TFaga In general, this is definitely a part of the DO API that users have found confusing and something we'll want to rethink when we introduce more robust versioning and/or make a major breaking change (i.e. v3). For the Terraform provider specifically, it might make sense to be very explicit about the type of s... | 2018-09-07T12:04:52 | 2018-09-07T19:27:13 | 2018-09-07T19:27:13 | CONTRIBUTOR | null | This PR is a continuation of the PR #21 . I've made a few changes, one of which was narrowing the focus of both the snapshot datasource and the resource in order to simplify the scope and terminology of the resource in the API.
There is significant overlap between images and snapshots that are created from droplets, in the sense that they are currently one and the same. In addition, I didn't find a way to reliably create a Droplet snapshot and get its ID through the API. As well as once you can get a reference to a droplet snapshot, there is nothing you can do with it that is not already handled by the image datasource. You can only use it as an `image` rather than a `snapshot`.
For this reason it might make more sense to handle the droplet snapshots as images through the `digitalocean_image` datasource and potentially later an `image` resource if possible.
This way the `digitalocean_snapshot` resource/datasource would represent explicitly a volume snapshot, which can be comfortably managed through the API and also be used to create a new volume from it. Lumping in droplet snapshot would make the snapshot datasource more complex, since you can't use them for anything and can already get them using the `image` datasource.
That said if they are any plans in the future for converging or otherwise changing the functionality of the different types of snapshots, that might be worth considering now as well.
What are your thoughts on this?
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/139/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/139/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/139",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/139",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/139.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/139.patch",
"merged_at": "2018-09-07T19:27:13"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/138 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/138/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/138/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/138/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/138 | 357,277,291 | MDExOlB1bGxSZXF1ZXN0MjEzMzMxMzU4 | 138 | Fixed the function for generating a records FQDN to match DO API behaviour | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: "
] | 2018-09-05T15:13:57 | 2018-09-07T12:05:35 | 2018-09-05T19:04:43 | CONTRIBUTOR | null | Resolves #51 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/138/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/138/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/138",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/138",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/138.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/138.patch",
"merged_at": "2018-09-05T19:04:42"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/137 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/137/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/137/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/137/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/137 | 357,197,976 | MDExOlB1bGxSZXF1ZXN0MjEzMjY5NjI1 | 137 | Added a number of new datasources | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911925,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjU=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XXL",
"name": "size/XXL",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-09-05T12:06:30 | 2018-09-07T12:05:33 | 2018-09-06T14:17:05 | CONTRIBUTOR | null | This PR adds a number of datasources to use along side the resources available. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/137/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/137/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/137",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/137",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/137.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/137.patch",
"merged_at": "2018-09-06T14:17:05"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/136 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/136/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/136/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/136/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/136 | 357,176,805 | MDExOlB1bGxSZXF1ZXN0MjEzMjUzMTUx | 136 | Refactored support for setting the volumes filesystem type and label | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: "
] | 2018-09-05T11:03:01 | 2018-09-07T12:05:37 | 2018-09-05T20:15:54 | CONTRIBUTOR | null | The PR splits out the volume properties for the filesystem type/label that the volume is initially created with and the volumes current filesystem type/label. The reason behind the change is because the filesystem can not be changed through the API after the fact. However if the filesystem is changed by the droplet, the changes will be reflected in the API and consequentially the terraform state file on refresh.
The changes should be fully backward compatibly with a deprecation message for using the old property. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/136/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/136/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/136",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/136",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/136.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/136.patch",
"merged_at": "2018-09-05T20:15:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/135 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/135/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/135/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/135/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/135 | 357,167,531 | MDExOlB1bGxSZXF1ZXN0MjEzMjQ1OTc4 | 135 | Added additional tests for the load balancer resource | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: "
] | 2018-09-05T10:35:53 | 2018-09-07T12:05:41 | 2018-09-05T15:43:00 | CONTRIBUTOR | null | The PR adds additional tests for the load balancer resources to cover the default values for the `healthcheck` and `sticky_sessions` block. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/135/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/135/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/135",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/135",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/135.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/135.patch",
"merged_at": "2018-09-05T15:43:00"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/134 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/134/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/134/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/134/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/134 | 356,204,444 | MDU6SXNzdWUzNTYyMDQ0NDQ= | 134 | domain field "ip_address" should not be required | {
"login": "marcoebbinghaus",
"id": 7482058,
"node_id": "MDQ6VXNlcjc0ODIwNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7482058?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcoebbinghaus",
"html_url": "https://github.com/marcoebbinghaus",
"followers_url": "https://api.github.com/users/marcoebbinghaus/followers",
"following_url": "https://api.github.com/users/marcoebbinghaus/following{/other_user}",
"gists_url": "https://api.github.com/users/marcoebbinghaus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marcoebbinghaus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marcoebbinghaus/subscriptions",
"organizations_url": "https://api.github.com/users/marcoebbinghaus/orgs",
"repos_url": "https://api.github.com/users/marcoebbinghaus/repos",
"events_url": "https://api.github.com/users/marcoebbinghaus/events{/privacy}",
"received_events_url": "https://api.github.com/users/marcoebbinghaus/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"A change allowing this landed just last week in #122 and will be available in the next release. Thanks for the report!",
"oh missed that, cool..thank you!"
] | 2018-09-01T13:57:08 | 2018-09-06T15:48:15 | 2018-09-04T16:08:10 | NONE | null | The DigitalOcean v2 api says ip_address-field for domain resources is not required (https://developers.digitalocean.com/documentation/v2/#create-a-new-domain), but in terraform that field IS required (https://www.terraform.io/docs/providers/do/r/domain.html).
### Terraform Version
v0.11.8
### Affected Resource(s)
digitalocean_domain
### Terraform Configuration Files
```
resource "digitalocean_domain" "default" {
name = "www.example.com"
}
```
### Expected Behavior
ip_address is not a required field
### Actual Behavior
ip_address is a required field
### Steps to Reproduce
1. `terraform plan` with a domain resource without ip_address-field set
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/134/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/134/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/133 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/133/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/133/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/133/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/133 | 356,037,479 | MDExOlB1bGxSZXF1ZXN0MjEyNDI3NzY2 | 133 | Refactored the firewall resource for better stability of diffs and updates | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911928,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XL",
"name": "size/XL",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":shipit: ",
"🏆 Thank you!"
] | 2018-08-31T15:58:34 | 2018-09-05T08:55:24 | 2018-09-04T19:52:17 | CONTRIBUTOR | null | The resource should be completely backward compatible with existing state files.
Resolves #30 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/133/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/133/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/133",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/133",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/133.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/133.patch",
"merged_at": "2018-09-04T19:52:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/132 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/132/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/132/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/132/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/132 | 355,910,314 | MDExOlB1bGxSZXF1ZXN0MjEyMzI4MTc1 | 132 | Enable setting a dns' record weight to 0 (updated godo SDK) | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2018-08-31T09:39:06 | 2018-08-31T13:36:42 | 2018-08-31T12:53:29 | CONTRIBUTOR | null | This PR includes the new version of the godo SDK (v1.4.2), that includes support for setting the weight of a dns record to zero. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/132/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/132/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/132",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/132",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/132.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/132.patch",
"merged_at": "2018-08-31T12:53:29"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/131 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/131/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/131/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/131/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/131 | 355,909,343 | MDExOlB1bGxSZXF1ZXN0MjEyMzI3NDM1 | 131 | Fixed an issue with force recreating droplets when using an older terraform state | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911930,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MzA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/M",
"name": "size/M",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"On second look, this might be more clean by doing a state migration. I'll update the PR.",
"Updated",
":+1: "
] | 2018-08-31T09:36:23 | 2018-09-05T08:55:28 | 2018-09-04T19:09:32 | CONTRIBUTOR | null | Fixes a force recreate of a droplet If you have a state file from an older version of the terraform provider and didn't specify the `monitoring` or `backups` property in the resource. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/131/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/131/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/131",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/131",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/131.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/131.patch",
"merged_at": "2018-09-04T19:09:31"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/130 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/130/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/130/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/130/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/130 | 355,716,942 | MDExOlB1bGxSZXF1ZXN0MjEyMTgxNjEw | 130 | New `digitalocean_volume_attachment` resource for proper updates of droplet volumes | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911928,
"node_id": "MDU6TGFiZWw3Mzc5MTE5Mjg=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/XL",
"name": "size/XL",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":shipit: Great stuff!"
] | 2018-08-30T19:10:39 | 2019-10-04T14:34:28 | 2018-09-04T22:37:55 | CONTRIBUTOR | null | This PR adds an additional virtual resource named `digitalocean_volume_attachment`, which represents a volume attachment to a droplet. Replaces the current way of attaching volumes by passing in their ids to the droplet definition.
Using the attachment resource allows terraform to correctly traverse the dependency graph of our resources and enables the provider to gracefully update any attached volumes. It does so by first detaching the volumes from the droplet, deleting old ones, creating new ones and finally reattaching the new volumes to the initial droplet.
Backward compatibility is preserved. You can continue using the current way of attaching volumes to droplets without issue. Just keep in mind that the methods are mutually exclusive. You must not use both of them at the same time. The documentation is also updated accordingly. Fixes #87
Example of the attachment resource:
```hcl
resource "digitalocean_volume" "foo" {
region = "lon1"
name = "foo"
size = 5
}
resource "digitalocean_droplet" "foo" {
name = "foo"
region = "lon1"
size = "s-1vcpu-1gb"
image = "ubuntu-18-04-x64"
}
resource "digitalocean_volume_attachment" "foo" {
droplet_id = "${digitalocean_droplet.foo.id}"
volume_id = "${digitalocean_volume.foo.id}"
}
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/130/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/130/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/130",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/130",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/130.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/130.patch",
"merged_at": "2018-09-04T22:37:55"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/129 | 355,618,456 | MDExOlB1bGxSZXF1ZXN0MjEyMTA1MTkw | 129 | Added support for LetsEncrypt issued certificates | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"@TFaga It would be great to get some acceptance tests added here.",
"@andrewsomething Agreed, but the problem I encountered was that you need a real domain managed in your account otherwise the API will return an error that the domain is not managed by DO. Is there a way around that restriction?",
"@TFaga - Ah... | 2018-08-30T14:44:09 | 2018-09-05T08:55:35 | 2018-09-04T19:03:32 | CONTRIBUTOR | null | Resolves #93 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/129/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/129",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/129",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/129.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/129.patch",
"merged_at": "2018-09-04T19:03:32"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/128 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/128/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/128/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/128/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/128 | 355,588,001 | MDExOlB1bGxSZXF1ZXN0MjEyMDgxMjcw | 128 | Updated the state representation of the `user_data` droplet property to a hashed one | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":shipit: ",
"Thanks, @TFaga!"
] | 2018-08-30T13:34:12 | 2018-08-31T05:23:06 | 2018-08-30T21:05:47 | CONTRIBUTOR | null | The `user_data` property of the `digitalocean_droplet` resource was updated to use the hash of the value to save in the state and use for diffs instead of the full value, which can be quite large. This way the actual value won't be shown in the console when doing diffs. This increases visibility and clarity of the output, as well as prevents potential sensitive data from being shown.
Backward compatibility for existing state files with full `user_data` values saved is preserved.
In addition, the PR includes validations for the droplet properties and minor fixes and enhancements to the codebase of the resource.
Resolves #65 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/128/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/128/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/128",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/128",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/128.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/128.patch",
"merged_at": "2018-08-30T21:05:47"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/127 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/127/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/127/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/127/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/127 | 355,578,577 | MDExOlB1bGxSZXF1ZXN0MjEyMDczNzkw | 127 | Added validations with minor optimizations to the load balancer resource | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":ship: Good stuff. Even found a few constraints that we're missing in the DO API documentation. Will get those added there as well."
] | 2018-08-30T13:11:06 | 2018-08-30T23:27:40 | 2018-08-30T20:15:21 | CONTRIBUTOR | null | Added some critical validation to the load balancer properties. In addition, updated the documentation on how to support in-place load balancer certificate renewals and updates with the same existing resources. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/127/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/127/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/127",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/127",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/127.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/127.patch",
"merged_at": "2018-08-30T20:15:21"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/126 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/126/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/126/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/126/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/126 | 355,277,796 | MDU6SXNzdWUzNTUyNzc3OTY= | 126 | import a droplet and apply cause an unneeded droplet resize | {
"login": "caarlos0",
"id": 245435,
"node_id": "MDQ6VXNlcjI0NTQzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/245435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caarlos0",
"html_url": "https://github.com/caarlos0",
"followers_url": "https://api.github.com/users/caarlos0/followers",
"following_url": "https://api.github.com/users/caarlos0/following{/other_user}",
"gists_url": "https://api.github.com/users/caarlos0/gists{/gist_id}",
"starred_url": "https://api.github.com/users/caarlos0/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/caarlos0/subscriptions",
"organizations_url": "https://api.github.com/users/caarlos0/orgs",
"repos_url": "https://api.github.com/users/caarlos0/repos",
"events_url": "https://api.github.com/users/caarlos0/events{/privacy}",
"received_events_url": "https://api.github.com/users/caarlos0/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks for the report. This behaviour was due to the fact that no default value was being set in the state file on import for `resize_disk`. The provider defaults to `resize_disk = \"true\"` for new resources, so when it is not set in the state file it attempts to rectify that. This was fixed in #95 and will be in... | 2018-08-29T18:20:33 | 2018-09-05T20:11:01 | 2018-08-29T18:43:34 | NONE | null | ### Terraform Version
```
Terraform v0.11.8
+ provider.digitalocean v0.1.3
```
### Affected Resource(s)
- digitalocean_droplet
### Terraform Configuration Files
```hcl
variable "digitalocean_token" {}
provider "digitalocean" {
token = "${var.digitalocean_token}"
}
resource "digitalocean_droplet" "becker-test" {
image = "ubuntu-16-04-x64"
region = "sfo2"
size = "s-1vcpu-1gb"
name = "becker-test"
}
```
### Debug Output
noop
### Panic Output
noop
### Expected Behavior
In place change without any resizes.
### Actual Behavior
Droplet was resized to the same size it already was.
### Steps to Reproduce
1. `terraform import digitalocean_droplet.becker-test ID`
2. `terraform apply`
### Important Factoids
If I set `resize_disk = "false"` in the HCL, it works as expected.
### References
noop | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/126/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/126/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/125 | 355,216,563 | MDExOlB1bGxSZXF1ZXN0MjExNzk2NTQy | 125 | Added support for volume resizing | {
"login": "TFaga",
"id": 3908547,
"node_id": "MDQ6VXNlcjM5MDg1NDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3908547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TFaga",
"html_url": "https://github.com/TFaga",
"followers_url": "https://api.github.com/users/TFaga/followers",
"following_url": "https://api.github.com/users/TFaga/following{/other_user}",
"gists_url": "https://api.github.com/users/TFaga/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TFaga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TFaga/subscriptions",
"organizations_url": "https://api.github.com/users/TFaga/orgs",
"repos_url": "https://api.github.com/users/TFaga/repos",
"events_url": "https://api.github.com/users/TFaga/events{/privacy}",
"received_events_url": "https://api.github.com/users/TFaga/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 737911926,
"node_id": "MDU6TGFiZWw3Mzc5MTE5MjY=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/size/L",
"name": "size/L",
"color": "ffffff",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
":+1: "
] | 2018-08-29T15:31:18 | 2018-08-30T19:25:46 | 2018-08-30T14:53:26 | CONTRIBUTOR | null | Increasing the volumes size will now correctly expand the volume and not recreate it.
Resolves #82 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/125/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/125",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/125",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/125.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/125.patch",
"merged_at": "2018-08-30T14:53:26"
} | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.