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/1043 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1043/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1043/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1043/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1043 | 1,928,493,746 | PR_kwDOBZHfyM5cBYTr | 1,043 | Parse nil region for global lb | {
"login": "asaha2",
"id": 5553898,
"node_id": "MDQ6VXNlcjU1NTM4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5553898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asaha2",
"html_url": "https://github.com/asaha2",
"followers_url": "https://api.github.com/users/asaha2/followers",
"following_url": "https://api.github.com/users/asaha2/following{/other_user}",
"gists_url": "https://api.github.com/users/asaha2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asaha2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asaha2/subscriptions",
"organizations_url": "https://api.github.com/users/asaha2/orgs",
"repos_url": "https://api.github.com/users/asaha2/repos",
"events_url": "https://api.github.com/users/asaha2/events{/privacy}",
"received_events_url": "https://api.github.com/users/asaha2/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-05T14:53:44 | 2023-10-05T14:58:54 | 2023-10-05T14:58:54 | CONTRIBUTOR | null | Global lb creates are crashing on read after creates as it tries to parse nil `region` object: global lb doesn't have an associated region. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1043/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/1043/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1043",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1043",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1043.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1043.patch",
"merged_at": "2023-10-05T14:58:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1042 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1042/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1042/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1042/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1042 | 1,926,273,655 | I_kwDOBZHfyM5y0Jp3 | 1,042 | Support MySQL database advanced configuration | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485915,
"node_id": "MDU6TGFiZWwxMDQ5NDg1OTE1",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/hacktoberfest",
"name": "hacktoberfest",
"color": "d61b91",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@danaelhe mind if i take this?"
] | 2023-10-04T13:53:02 | 2023-10-17T17:18:47 | 2023-10-17T17:18:47 | MEMBER | null | **Overview**
Similar to the Redis support added in #1037 but for MySQL. The resource should look like this:
`digitalocean_database_mysql_config`
It should include attributes listed in the API documentation [here](https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_patch_config) (Under request body schema -> config -> MySQL) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1042/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/1042/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1041 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1041/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1041/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1041/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1041 | 1,922,222,764 | PR_kwDOBZHfyM5bsGP_ | 1,041 | spaces bucket: set force_destroy false on import. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-10-02T16:13:51 | 2023-10-02T20:09:25 | 2023-10-02T20:09:24 | MEMBER | null | #1039 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1041/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/1041/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1041",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1041",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1041.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1041.patch",
"merged_at": "2023-10-02T20:09:24"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1040 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1040/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1040/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1040/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1040 | 1,921,492,785 | I_kwDOBZHfyM5yh6cx | 1,040 | Error: Provider produced inconsistent final plan | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/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
}
] | open | false | null | [] | null | [
"Thanks for the write up! Could you share what version of the terraform provider you're using? To best reproduce the issue, could you share the config file you're trying to apply? ",
"Hi @danaelhe \n\nWe are using the provider digitalocean/digitalocean at version 2.30\n\nI will provide a comment with the configur... | 2023-10-02T08:44:08 | 2023-10-07T08:31:28 | null | NONE | null | Provider produced inconsistent final plan when running terraform apply without refreshing with existing tfstate
### Affected Resource(s)
- digitalocean_kubernetes_cluster
### Expected Behavior
terraform apply to apply all changes required
### Actual Behavior
```
Error: Provider produced inconsistent final plan
When expanding the plan for module.kubernetes.digitalocean_kubernetes_cluster.cluster to
include new values learned so far during apply, provider
"registry.terraform.io/digitalocean/digitalocean" produced an invalid new value for
.node_pool[0].tags: was cty.SetValEmpty(cty.String), but now null.
This is a bug in the provider, which should be reported in the provider's own issue tracker.
```
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply`
2. update config
3. `terraform apply -refresh=false`
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1040/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/1040/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1039 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1039/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1039/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1039/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1039 | 1,921,237,743 | I_kwDOBZHfyM5yg8Lv | 1,039 | Spaces Bucket import doesn't contain all the fields. | {
"login": "fuadnafiz98",
"id": 43469396,
"node_id": "MDQ6VXNlcjQzNDY5Mzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/43469396?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fuadnafiz98",
"html_url": "https://github.com/fuadnafiz98",
"followers_url": "https://api.github.com/users/fuadnafiz98/followers",
"following_url": "https://api.github.com/users/fuadnafiz98/following{/other_user}",
"gists_url": "https://api.github.com/users/fuadnafiz98/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fuadnafiz98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fuadnafiz98/subscriptions",
"organizations_url": "https://api.github.com/users/fuadnafiz98/orgs",
"repos_url": "https://api.github.com/users/fuadnafiz98/repos",
"events_url": "https://api.github.com/users/fuadnafiz98/events{/privacy}",
"received_events_url": "https://api.github.com/users/fuadnafiz98/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
}
] | open | false | null | [] | null | [
"Hi @fuadnafiz98,\r\n\r\nThanks for raising this. \r\n\r\nUnfortunately value of `acl` is not able to be set on import. You must set it in your configuration file to prevent the diff or run `terraform apply` if you want to accept the default. It is set using \"canned-ACLs,\" either `private` or `public-read`. The S... | 2023-10-02T04:43:00 | 2023-10-02T15:55:45 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
While I am using the terraform import command to import a digitalocean spaces, It can successfully imported, but few fields are missing.
This can be noticed when I run `terraform plan`. This shows that it should update in place where in fact it should show no changes needed.
```bash
resource "digitalocean_spaces_bucket" "test" {
+ acl = "private"
+ force_destroy = false
id = "test"
name = "test"
# (4 unchanged attributes hidden)
# (1 unchanged block hidden)
}
```
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_spaces_bucket
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
<!-- What should have happened? -->
It should plan out the import without any changes.
### Actual Behavior
<!-- What actually happened? -->
It shows that it would update in place.
```bash
resource "digitalocean_spaces_bucket" "test" {
+ acl = "private"
+ force_destroy = false
id = "test"
name = "test"
# (4 unchanged attributes hidden)
# (1 unchanged block hidden)
}
```
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
1. `terraform import digitalocean_spaces_bucket.foobar region,name`
2. `terraform plan`.
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**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. -->
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1039/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/1039/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1038 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1038/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1038/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1038/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1038 | 1,920,496,031 | I_kwDOBZHfyM5yeHGf | 1,038 | Provider produced inconsistent result after apply for digitalocean_database_user | {
"login": "JonZudell",
"id": 949225,
"node_id": "MDQ6VXNlcjk0OTIyNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/949225?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JonZudell",
"html_url": "https://github.com/JonZudell",
"followers_url": "https://api.github.com/users/JonZudell/followers",
"following_url": "https://api.github.com/users/JonZudell/following{/other_user}",
"gists_url": "https://api.github.com/users/JonZudell/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JonZudell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JonZudell/subscriptions",
"organizations_url": "https://api.github.com/users/JonZudell/orgs",
"repos_url": "https://api.github.com/users/JonZudell/repos",
"events_url": "https://api.github.com/users/JonZudell/events{/privacy}",
"received_events_url": "https://api.github.com/users/JonZudell/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
}
] | open | false | null | [] | null | [
"Hi \r\n\r\nWhat version of the Terraform provider are you using? The v2.30.0 release contained a number of bug fixes around the `digitalocean_database_user` resource."
] | 2023-10-01T02:04:48 | 2023-10-02T14:30:57 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
when running `terraform -chroot=dir apply` on my project at
https://github.com/fugue-state-io/terraform/tree/abe1b6141a1387303aaced3a0bf576ab095816e3
```
digitalocean_project_resources.kubernetes_resources: Creation complete after 2s [id=659726cb-f350-4c2e-89a1-70e2a3a50941]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to digitalocean_database_user.argo-db-user, provider "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" produced an unexpected new value: Root resource was present, but now
│ absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
```
### Affected Resource(s)
- digitalocean_database_user
### Expected Behavior
The user should have been created.
### Actual Behavior
Provider produced an inconsistent result
### Steps to Reproduce
checkout
https://github.com/fugue-state-io/terraform/tree/abe1b6141a1387303aaced3a0bf576ab095816e3
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
`db.tf`
```
# resources
resource "digitalocean_database_cluster" "postgres" {
name = "fugue-state-postgres-cluster"
engine = "pg"
version = "14"
size = "db-s-1vcpu-1gb"
region = "nyc3"
node_count = 1
private_network_uuid = digitalocean_vpc.fugue-state-vpc.id
}
resource "digitalocean_database_db" "postgres-db" {
depends_on = [ digitalocean_database_cluster.postgres ]
cluster_id = digitalocean_database_cluster.postgres.id
name = "postgres"
}
resource "digitalocean_database_user" "argo-db-user" {
depends_on = [ digitalocean_database_cluster.postgres ]
cluster_id = digitalocean_database_cluster.postgres.id
name = "argo-user"
}
resource "digitalocean_database_firewall" "postgres-fw" {
depends_on = [ digitalocean_database_cluster.postgres ]
cluster_id = digitalocean_database_cluster.postgres.id
rule {
type = "k8s"
value = digitalocean_kubernetes_cluster.fugue-state-cluster.id
}
}
# Database Clusters
resource "digitalocean_project_resources" "db_resources" {
depends_on = [ digitalocean_database_cluster.postgres ]
project = digitalocean_project.fugue-state-io.id
resources = [
digitalocean_database_cluster.postgres.urn
]
}
```
**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. -->
Terraform v1.5.7
on linux_amd64
## Additional context
<!-- Add any other context about the problem here. -->
Rerunning i get this output
```
digitalocean_database_user.argo-db-user: Creating...
digitalocean_project_resources.kubernetes_resources: Modifying... [id=659726cb-f350-4c2e-89a1-70e2a3a50941]
digitalocean_project_resources.kubernetes_resources: Modifications complete after 2s [id=659726cb-f350-4c2e-89a1-70e2a3a50941]
╷
│ Error: Error creating Database User: POST https://api.digitalocean.com/v2/databases/d0455f0c-2d72-4ecf-921b-8d15bf9a0d94/users: 422 (request "f122f8d2-cb4e-4cd5-b996-49dda7a5562e") user with that name already exists
│
│ with digitalocean_database_user.argo-db-user,
│ on db.tf line 18, in resource "digitalocean_database_user" "argo-db-user":
│ 18: resource "digitalocean_database_user" "argo-db-user" {
│
╵
```
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1038/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/1038/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1037 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1037/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1037/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1037/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1037 | 1,918,316,461 | PR_kwDOBZHfyM5bfKe6 | 1,037 | Support Redis database advanced configuration. | {
"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
} | [] | closed | false | null | [] | null | [
"Need it badly."
] | 2023-09-28T21:47:10 | 2023-10-02T14:43:11 | 2023-10-02T14:43:10 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1037/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/1037/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1037",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1037",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1037.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1037.patch",
"merged_at": "2023-10-02T14:43:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1036 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1036/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1036/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1036/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1036 | 1,916,256,792 | PR_kwDOBZHfyM5bYHJy | 1,036 | Use terrafmt on docs directory. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-09-27T20:21:28 | 2023-09-27T20:28:29 | 2023-09-27T20:28:28 | MEMBER | null | Went to use `make terrafmt` on some new docs I'm writing and found we aren't pointing it at the docs directory in the makefile target. This updates the makefile to run it against the docs and fixes up existing formatting issues. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1036/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/1036/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1036",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1036",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1036.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1036.patch",
"merged_at": "2023-09-27T20:28:28"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1035 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1035/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1035/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1035/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1035 | 1,911,660,230 | PR_kwDOBZHfyM5bIgJO | 1,035 | Update droplet.md | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-09-25T14:38:58 | 2023-09-25T14:51:28 | 2023-09-25T14:51:27 | MEMBER | null | Current image causes an error:
`Error creating droplet: POST https://api.digitalocean.com/v2/droplets: 422 (request "a87e6ebb-577a-4ee4-bdfa-f94fc7287ead") You specified an invalid image for Droplet creation.` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1035/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/1035/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1035",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1035",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1035.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1035.patch",
"merged_at": "2023-09-25T14:51:27"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1034 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1034/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1034/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1034/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1034 | 1,911,205,194 | I_kwDOBZHfyM5x6q1K | 1,034 | Droplet already has a pending event for reserved_ip | {
"login": "AAverin",
"id": 1481332,
"node_id": "MDQ6VXNlcjE0ODEzMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1481332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AAverin",
"html_url": "https://github.com/AAverin",
"followers_url": "https://api.github.com/users/AAverin/followers",
"following_url": "https://api.github.com/users/AAverin/following{/other_user}",
"gists_url": "https://api.github.com/users/AAverin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AAverin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AAverin/subscriptions",
"organizations_url": "https://api.github.com/users/AAverin/orgs",
"repos_url": "https://api.github.com/users/AAverin/repos",
"events_url": "https://api.github.com/users/AAverin/events{/privacy}",
"received_events_url": "https://api.github.com/users/AAverin/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
}
] | open | false | null | [] | null | [
"Hi there, thank you for the write up!\r\n\r\nHmmm....I can't seem to recreate this issue on my end. Are there any more details you can provide about the config you're using or if you have to run it multiple times to see the issue? For reference, this is the config file I'm using:\r\n\r\n```\r\nresource \"digitaloc... | 2023-09-25T10:46:08 | 2023-09-30T05:59:20 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
Having
```
resource "digitalocean_reserved_ip" "nomad_bastion" {
droplet_id = digitalocean_droplet.nomad_bastion.id
region = digitalocean_droplet.nomad_bastion.region
depends_on = [ resource.digitalocean_droplet.nomad_bastion ]
}
```
Applying often causes `Droplet already has a pending event` error, failing deployment.
Restart of the deployment results in `Error: Error retrieving reserved IP: stream error: stream ID 17; INTERNAL_ERROR; received from peer`
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_droplet
- digitalocean_kubernetes_cluster
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
digitalocean_reserved_ip
### Expected Behavior
<!-- What should have happened? -->
### Actual Behavior
<!-- What actually happened? -->
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**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. -->
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1034/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/1034/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1033 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1033/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1033/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1033/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1033 | 1,905,466,759 | I_kwDOBZHfyM5xkx2H | 1,033 | Support for `features` in digitalocean_app spec | {
"login": "corygibbons",
"id": 957488,
"node_id": "MDQ6VXNlcjk1NzQ4OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/957488?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/corygibbons",
"html_url": "https://github.com/corygibbons",
"followers_url": "https://api.github.com/users/corygibbons/followers",
"following_url": "https://api.github.com/users/corygibbons/following{/other_user}",
"gists_url": "https://api.github.com/users/corygibbons/gists{/gist_id}",
"starred_url": "https://api.github.com/users/corygibbons/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/corygibbons/subscriptions",
"organizations_url": "https://api.github.com/users/corygibbons/orgs",
"repos_url": "https://api.github.com/users/corygibbons/repos",
"events_url": "https://api.github.com/users/corygibbons/events{/privacy}",
"received_events_url": "https://api.github.com/users/corygibbons/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
},
{
"id": 1049485915,
... | closed | false | null | [] | null | [
"Thank you for the suggestion, this should be easy to implement since godo does support features [here](https://github.com/digitalocean/godo/blob/main/apps.gen.go#L473). We've created a ticket in our backlog to get to it as soon as we can. I've also added the \"hacktoberfest\" label incase someone wanted to take it... | 2023-09-20T17:50:07 | 2023-11-06T17:56:49 | 2023-11-06T17:56:49 | NONE | null | ### Is your feature request related to a problem? Please describe.
Trying to [update the buildpack version](https://docs.digitalocean.com/products/app-platform/reference/buildpacks/nodejs/#ubuntu-2204-stack-supporting-nodejs-18) to support node 18 but can't seem to configure it in the [resource](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app).
### Describe the solution you'd like
Doesn't particularly matter but something similar to env vars could work:
```hcl
resource "digitalocean_app" "foo" {
spec {
feature {
key = "buildpack-stack"
value = "ubuntu-22"
}
}
}
```
or
```hcl
resource "digitalocean_app" "foo" {
spec {
feature {
value = "buildpack-stack=ubuntu-22"
}
}
}
```
https://docs.digitalocean.com/products/app-platform/reference/app-spec | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1033/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/1033/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1031 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1031/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1031/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1031/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1031 | 1,902,219,819 | I_kwDOBZHfyM5xYZIr | 1,031 | Add Reserved IP Resource to the Digitalocean Project Resources | {
"login": "mansoor4",
"id": 54520876,
"node_id": "MDQ6VXNlcjU0NTIwODc2",
"avatar_url": "https://avatars.githubusercontent.com/u/54520876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mansoor4",
"html_url": "https://github.com/mansoor4",
"followers_url": "https://api.github.com/users/mansoor4/followers",
"following_url": "https://api.github.com/users/mansoor4/following{/other_user}",
"gists_url": "https://api.github.com/users/mansoor4/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mansoor4/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mansoor4/subscriptions",
"organizations_url": "https://api.github.com/users/mansoor4/orgs",
"repos_url": "https://api.github.com/users/mansoor4/repos",
"events_url": "https://api.github.com/users/mansoor4/events{/privacy}",
"received_events_url": "https://api.github.com/users/mansoor4/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [
"Thanks for flagging this issue. We've raised it internally to the team working on the Projects API. In the meantime, you could work around the problem by using a floating IP style URN for the reserved IP.\r\n\r\n```hcl\r\nresource \"digitalocean_project_resources\" \"example\" {\r\n project = digitalocean_project... | 2023-09-19T05:16:23 | 2023-09-21T13:31:48 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
As floating IP is going to deprecated and as suggestion by digitalocean provider we can use reserved IP in replace of floating IP.
So I replace floating IP with reserved IP but digitalocean_project_resources does not yet support reserved IP.
### Describe the solution you'd like
Please add reserved IP resource in digitalocean_project_resources
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/project_resources | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1031/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/1031/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1030 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1030/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1030/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1030/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1030 | 1,892,626,155 | PR_kwDOBZHfyM5aIrvS | 1,030 | Add Apps Encrypt Vars Example | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2023-09-12T14:17:37 | 2023-09-12T14:20:25 | null | MEMBER | null | Offers a workaround to: #514 #869
Adding an example for handling encrypted variables in Apps resources. We've received previous complaints that having encrypted variables in Apps resources will always detect a change with `terraform plan/apply`. This is due to the provider comparing the encrypted and plain values and thinking they're different. This example offers a work around. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1030/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/1030/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1030",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1030",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1030.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1030.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1029 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1029/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1029/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1029/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1029 | 1,888,308,009 | PR_kwDOBZHfyM5Z6UGD | 1,029 | Prep v2.30.0 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
} | [] | closed | false | null | [] | null | [] | 2023-09-08T20:36:52 | 2023-09-11T16:15:46 | 2023-09-11T16:15:45 | MEMBER | null | ~Draft pending https://github.com/digitalocean/terraform-provider-digitalocean/pull/1028 being merged~ | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1029/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/1029/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1029",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1029",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1029.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1029.patch",
"merged_at": "2023-09-11T16:15:45"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1028 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1028/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1028/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1028/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1028 | 1,888,249,923 | PR_kwDOBZHfyM5Z6G3Y | 1,028 | database user: Remove unneeded GET request post-create. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-09-08T20:03:38 | 2023-09-11T14:16:39 | 2023-09-11T14:16:38 | MEMBER | null | We have reports that the post-create GET requests can unexpectedly fail with a 404 at times despite the create succeeding. For the most part, this request is unnecessary. The information is returned in the POST response. This sets state with that information and removes the unnecessary GET.
```
=== RUN TestAccDigitalOceanDatabaseUser_importBasic
=== PAUSE TestAccDigitalOceanDatabaseUser_importBasic
=== RUN TestAccDigitalOceanDatabaseUser_Basic
=== PAUSE TestAccDigitalOceanDatabaseUser_Basic
=== RUN TestAccDigitalOceanDatabaseUser_MongoDB
=== PAUSE TestAccDigitalOceanDatabaseUser_MongoDB
=== RUN TestAccDigitalOceanDatabaseUser_MongoDBMultiUser
=== PAUSE TestAccDigitalOceanDatabaseUser_MongoDBMultiUser
=== RUN TestAccDigitalOceanDatabaseUser_MySQLAuth
=== PAUSE TestAccDigitalOceanDatabaseUser_MySQLAuth
=== CONT TestAccDigitalOceanDatabaseUser_importBasic
=== CONT TestAccDigitalOceanDatabaseUser_MongoDBMultiUser
--- PASS: TestAccDigitalOceanDatabaseUser_importBasic (241.60s)
=== CONT TestAccDigitalOceanDatabaseUser_MySQLAuth
--- PASS: TestAccDigitalOceanDatabaseUser_MongoDBMultiUser (515.28s)
=== CONT TestAccDigitalOceanDatabaseUser_MongoDB
--- PASS: TestAccDigitalOceanDatabaseUser_MySQLAuth (286.26s)
=== CONT TestAccDigitalOceanDatabaseUser_Basic
--- PASS: TestAccDigitalOceanDatabaseUser_Basic (245.87s)
--- PASS: TestAccDigitalOceanDatabaseUser_MongoDB (458.85s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 974.256s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1028/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/1028/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1028",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1028",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1028.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1028.patch",
"merged_at": "2023-09-11T14:16:38"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1027 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1027/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1027/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1027/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1027 | 1,888,081,850 | PR_kwDOBZHfyM5Z5iJC | 1,027 | database_user: Prevent creating multiple users for the same cluster in parallel. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-09-08T17:40:16 | 2023-09-08T17:56:26 | 2023-09-08T17:56:25 | MEMBER | null | This PR resolves an issue where creating multiple users for a MongoDB cluster at once can return a 500-level response by preventing parallel creation or deletion of users for the same cluster using a mutex.
(Annoyingly using `for_each` is not supported in the acceptance test framework. https://github.com/hashicorp/terraform-plugin-sdk/issues/536) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1027/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/1027/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1027",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1027",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1027.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1027.patch",
"merged_at": "2023-09-08T17:56:25"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1025 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1025/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1025/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1025/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1025 | 1,872,460,631 | PR_kwDOBZHfyM5ZE21Y | 1,025 | Bump Go version to v1.21.0 | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-08-29T21:04:13 | 2023-08-29T21:21:03 | 2023-08-29T21:21:02 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1025/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/1025/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1025",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1025",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1025.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1025.patch",
"merged_at": "2023-08-29T21:21:02"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1024 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1024/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1024/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1024/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1024 | 1,872,043,631 | PR_kwDOBZHfyM5ZDicv | 1,024 | fix(docs): make it clear that volume name has to start with a letter | {
"login": "ahasna",
"id": 25301467,
"node_id": "MDQ6VXNlcjI1MzAxNDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/25301467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahasna",
"html_url": "https://github.com/ahasna",
"followers_url": "https://api.github.com/users/ahasna/followers",
"following_url": "https://api.github.com/users/ahasna/following{/other_user}",
"gists_url": "https://api.github.com/users/ahasna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ahasna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ahasna/subscriptions",
"organizations_url": "https://api.github.com/users/ahasna/orgs",
"repos_url": "https://api.github.com/users/ahasna/repos",
"events_url": "https://api.github.com/users/ahasna/events{/privacy}",
"received_events_url": "https://api.github.com/users/ahasna/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-29T16:45:21 | 2023-08-29T17:19:37 | 2023-08-29T17:19:36 | CONTRIBUTOR | null | In the DigitalOcean [API docs](https://docs.digitalocean.com/reference/api/api-reference/#operation/volumes_create) for creating a volume, it is stated that the volume must start wit a letter which is missing from the provider docs.
```text
name required | string
A human-readable name for the block storage volume.
Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters.
The name must begin with a letter.
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1024/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/1024/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1024",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1024",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1024.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1024.patch",
"merged_at": "2023-08-29T17:19:36"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1023 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1023/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1023/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1023/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1023 | 1,871,678,549 | PR_kwDOBZHfyM5ZCUEq | 1,023 | Support lb type param on terraform sdk | {
"login": "asaha2",
"id": 5553898,
"node_id": "MDQ6VXNlcjU1NTM4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5553898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asaha2",
"html_url": "https://github.com/asaha2",
"followers_url": "https://api.github.com/users/asaha2/followers",
"following_url": "https://api.github.com/users/asaha2/following{/other_user}",
"gists_url": "https://api.github.com/users/asaha2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asaha2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asaha2/subscriptions",
"organizations_url": "https://api.github.com/users/asaha2/orgs",
"repos_url": "https://api.github.com/users/asaha2/repos",
"events_url": "https://api.github.com/users/asaha2/events{/privacy}",
"received_events_url": "https://api.github.com/users/asaha2/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-29T13:28:36 | 2023-09-20T15:28:15 | 2023-09-20T15:28:15 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1023/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/1023/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1023",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1023",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1023.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1023.patch",
"merged_at": "2023-09-20T15:28:15"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1022 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1022/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1022/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1022/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1022 | 1,868,870,459 | PR_kwDOBZHfyM5Y4zXT | 1,022 | Add Redis config option number_of_databases | {
"login": "LachlanArthur",
"id": 1870204,
"node_id": "MDQ6VXNlcjE4NzAyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1870204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LachlanArthur",
"html_url": "https://github.com/LachlanArthur",
"followers_url": "https://api.github.com/users/LachlanArthur/followers",
"following_url": "https://api.github.com/users/LachlanArthur/following{/other_user}",
"gists_url": "https://api.github.com/users/LachlanArthur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LachlanArthur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LachlanArthur/subscriptions",
"organizations_url": "https://api.github.com/users/LachlanArthur/orgs",
"repos_url": "https://api.github.com/users/LachlanArthur/repos",
"events_url": "https://api.github.com/users/LachlanArthur/events{/privacy}",
"received_events_url": "https://api.github.com/users/LachlanArthur/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi @LachlanArthur,\r\n\r\nI've implemented the approach I suggested in a new PR: https://github.com/digitalocean/terraform-provider-digitalocean/pull/1037 It supports the `number_of_databases` as well as all the other options exposed by that endpoint.\r\n\r\nLet me if you have any feedback on that PR, and thanks f... | 2023-08-28T03:02:42 | 2023-10-05T01:22:53 | 2023-09-28T21:50:49 | NONE | null | This PR adds support for the DO database cluster config option `redis_number_of_databases` via the argument `number_of_databases`:
```tf
resource "digitalocean_database_cluster" "foobar" {
engine = "redis"
...
number_of_databases = 128
}
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1022/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/1022/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1022",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1022",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1022.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1022.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1021 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1021/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1021/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1021/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1021 | 1,860,019,847 | PR_kwDOBZHfyM5Ya94m | 1,021 | Spaces: Add CORS Configuration Support | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"> Running into some issues trying to run the tests.\r\n\r\nooof, at first I was running the test in a way that gave me false positives. Thanks for double checking. "
] | 2023-08-21T19:38:31 | 2023-08-29T18:35:39 | 2023-08-29T18:35:38 | MEMBER | null | Address #1015
Users can configure advance settings for CORS via the `digitalocean_spaces_bucket_cors_configuration` resource. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1021/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/1021/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1021",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1021",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1021.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1021.patch",
"merged_at": "2023-08-29T18:35:38"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1020 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1020/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1020/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1020/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1020 | 1,856,788,088 | PR_kwDOBZHfyM5YQMf9 | 1,020 | Update Godo to v1.102.1 | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-18T14:07:50 | 2023-08-18T14:27:27 | 2023-08-18T14:27:26 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1020/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/1020/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1020",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1020",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1020.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1020.patch",
"merged_at": "2023-08-18T14:27:26"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1019 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1019/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1019/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1019/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1019 | 1,852,915,399 | I_kwDOBZHfyM5ucT7H | 1,019 | Adding a SSH key to a droplet forces a replacement | {
"login": "rvoortman",
"id": 7511066,
"node_id": "MDQ6VXNlcjc1MTEwNjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7511066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rvoortman",
"html_url": "https://github.com/rvoortman",
"followers_url": "https://api.github.com/users/rvoortman/followers",
"following_url": "https://api.github.com/users/rvoortman/following{/other_user}",
"gists_url": "https://api.github.com/users/rvoortman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rvoortman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rvoortman/subscriptions",
"organizations_url": "https://api.github.com/users/rvoortman/orgs",
"repos_url": "https://api.github.com/users/rvoortman/repos",
"events_url": "https://api.github.com/users/rvoortman/events{/privacy}",
"received_events_url": "https://api.github.com/users/rvoortman/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | closed | false | null | [] | null | [
"DigitalOcean does not currently offer a way to manage SSH keys on an existing Droplet. Currently, keys can only be added at time of creation. So this is the expected behavior for the Terraform provider. \r\n\r\nGeneral feature requests for DigitalOcean can be submitted at https://ideas.digitalocean.com/\r\n\r\nTha... | 2023-08-16T10:03:51 | 2023-08-16T14:25:12 | 2023-08-16T14:25:12 | NONE | null | # Bug Report
I created some droplets for a Docker Swarm cluster. The cluster is made up of 6 nodes: 3 master and 3 nodes. We login on those with SSH keys. When an employee leaves the company or a new one enters, a SSH key is added and/or removed.
## Describe the bug
This change in SSH_keys forces the droplets to be completely rebuild however, making this authorization change a real chore, since our whole cluster needs to be rebuild in order to achieve this.
The relevant terraform code:
```hcl
data "digitalocean_ssh_key" "key1" {
name = "robbin"
}
locals {
ssh_keys = [
data.digitalocean_ssh_key.key1.fingerprint
]
}
# Example of one droplet
resource "digitalocean_droplet" "docker_swarm_manager" {
name = "docker-swarm-manager-1"
region = local.region
size = "s-1vcpu-1gb"
image = local.image
ssh_keys = local.ssh_keys
vpc_uuid = digitalocean_vpc.docker_swarm_network.id
tags = ["swarm-manager"]
}
```
Adding another one of the SSH keys forces a replace of the manager droplet.
### Affected Resource(s)
- digitalocean_droplet
- digitalocean_ssh_key
### Expected Behavior
I expected droplets to be able to dynamically upload and remove SSH keys from the Droplet.
### Actual Behavior
It replaces the droplets completely.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1019/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/1019/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1018 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1018/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1018/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1018/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1018 | 1,850,921,724 | PR_kwDOBZHfyM5X8Wct | 1,018 | Update godo dependency to v1.102.0 | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-15T05:27:50 | 2023-08-15T14:37:48 | 2023-08-15T14:37:47 | MEMBER | null | godo v1.101.0 -> godo v1.102.0 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1018/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/1018/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1018",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1018",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1018.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1018.patch",
"merged_at": "2023-08-15T14:37:47"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1017 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1017/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1017/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1017/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1017 | 1,843,979,145 | PR_kwDOBZHfyM5Xk0on | 1,017 | Update Godo Dependency to v1.101.0 | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-08-09T20:39:25 | 2023-08-10T14:41:01 | 2023-08-10T14:40:59 | MEMBER | null | godo v1.95.0 -> v1.101.0 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1017/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/1017/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1017",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1017",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1017.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1017.patch",
"merged_at": "2023-08-10T14:40:59"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1016 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1016/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1016/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1016/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1016 | 1,841,950,606 | PR_kwDOBZHfyM5Xd81T | 1,016 | Configure Godo Retryable HTTP Client | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"I'm curious if we should make this the default behavior (maybe set `DIGITALOCEAN_HTTP_RETRY_MAX=2` as default). ",
"> I'm curious if we should make this the default behavior (maybe set `DIGITALOCEAN_HTTP_RETRY_MAX=2` as default).\r\n\r\nAfter team discussion, I've made the retryable feature to be on by default w... | 2023-08-08T19:36:47 | 2023-08-22T18:51:04 | 2023-08-22T18:51:03 | MEMBER | null | Update terraform-provider to use godo's retryable http client.
When the retryable feature is not set or set to 0 (`DIGITALOCEAN_HTTP_RETRY_MAX=0 `) and you reach the 250 req/min threshold- you are met with a 429 error:
```
│ Error: Error retrieving Database User: GET https://api.digitalocean.com/v2/databases/f7ce-4843-a0d9/users/86-app: 429 (request "adfaa613-e244-4cb1-aa4d-bd82d14bef7b") Too many requests
```
When the retryable feature is set (`DIGITALOCEAN_HTTP_RETRY_MAX=2 `) and you reach the 250 req/min threshold- the client performs automatic retries and exponential backoff and continues:
```
2023-08-08T15:13:01.396-0400 [DEBUG] provider.terraform-provider-digitalocean: 2023/08/08 15:13:01 [DEBUG] GET https://api.digitalocean.com/v2/databases/7d76-48e3-/users/173-app (status: 429): retrying in 44s (3 left)
```
The retryable feature to be on by default, with 4 tries.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1016/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/1016/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1016",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1016",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1016.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1016.patch",
"merged_at": "2023-08-22T18:51:03"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1014 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1014/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1014/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1014/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1014 | 1,841,704,951 | PR_kwDOBZHfyM5XdFsc | 1,014 | Docs: Update Version of Postgress DB | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"> 👍 Good catch!\r\n> \r\n> Looks like 15 is the most recent. Maybe use that since it will presumably be around longer?\r\n> \r\n> ```\r\n> $ doctl databases options versions ls\r\n> Engine Versions\r\n> mongodb [4.4,5.0,6.0]\r\n> mysql [8]\r\n> pg [12,13,14,15]\r\n> redis [7]\r\n> ```\r\n... | 2023-08-08T17:15:13 | 2023-09-08T22:21:14 | 2023-09-08T22:21:13 | MEMBER | null | When running the example as is, you get a:
`│ Error: Error creating database cluster: POST https://api.digitalocean.com/v2/databases: 422 (request "4f7f-a1a4-") invalid cluster engine version`
changing the version to 13 worked fine. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1014/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/1014/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1014",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1014",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1014.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1014.patch",
"merged_at": "2023-09-08T22:21:13"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1013 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1013/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1013/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1013/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1013 | 1,838,644,008 | I_kwDOBZHfyM5tl3so | 1,013 | Encountering an Error While Upgrading Node Pool | {
"login": "PankajSavaliya",
"id": 13134958,
"node_id": "MDQ6VXNlcjEzMTM0OTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/13134958?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PankajSavaliya",
"html_url": "https://github.com/PankajSavaliya",
"followers_url": "https://api.github.com/users/PankajSavaliya/followers",
"following_url": "https://api.github.com/users/PankajSavaliya/following{/other_user}",
"gists_url": "https://api.github.com/users/PankajSavaliya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PankajSavaliya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PankajSavaliya/subscriptions",
"organizations_url": "https://api.github.com/users/PankajSavaliya/orgs",
"repos_url": "https://api.github.com/users/PankajSavaliya/repos",
"events_url": "https://api.github.com/users/PankajSavaliya/events{/privacy}",
"received_events_url": "https://api.github.com/users/PankajSavaliya/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
}
] | open | false | null | [] | null | [
"Hi @PankajSavaliya \r\n\r\nThanks for the write up. Could you clarify your question a bit? Are you looking to update the node pool in the `digitalocean_kubernetes_cluster` resource and unsuccessful at that attempt and received with a \"connection refused\" error? "
] | 2023-08-07T04:17:53 | 2023-08-08T17:26:06 | null | NONE | null | I have created a Kubernetes cluster with Terraform, and it's working well. However, when I try to upgrade the node pool size in the 'digitalocean_kubernetes_cluster,' I encounter an error, as described below.
I am aware that we can manage the node pool using the 'digitalocean_kubernetes_node_pool' method, but is it also possible to avoid changing or upgrading the CPU or scaling in the 'digitalocean_kubernetes_cluster'?
```
resource "digitalocean_kubernetes_cluster" "foo" {
name = "foo"
region = "nyc1"
version = "1.22.8-do.1"
node_pool {
name = "autoscale-worker-pool"
size = "s-2vcpu-2gb"
auto_scale = true
min_nodes = 1
max_nodes = 5
}
```
**Encounter an error**
```
dial tcp [::1]:80: connect: connection refused
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1013/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/1013/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1012 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1012/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1012/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1012/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1012 | 1,809,817,722 | I_kwDOBZHfyM5r36B6 | 1,012 | digitalocean_record ttl seems not to be idempotent | {
"login": "niklasweimann",
"id": 12865466,
"node_id": "MDQ6VXNlcjEyODY1NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/12865466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/niklasweimann",
"html_url": "https://github.com/niklasweimann",
"followers_url": "https://api.github.com/users/niklasweimann/followers",
"following_url": "https://api.github.com/users/niklasweimann/following{/other_user}",
"gists_url": "https://api.github.com/users/niklasweimann/gists{/gist_id}",
"starred_url": "https://api.github.com/users/niklasweimann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/niklasweimann/subscriptions",
"organizations_url": "https://api.github.com/users/niklasweimann/orgs",
"repos_url": "https://api.github.com/users/niklasweimann/repos",
"events_url": "https://api.github.com/users/niklasweimann/events{/privacy}",
"received_events_url": "https://api.github.com/users/niklasweimann/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"Hi @niklasweimann ,\r\n\r\nThank you for your detailed write up. This is actually expected behavior of our API as it follows the \"Clarifications to the DNS Specification\" RFC recommendations. Per the RFC, when you have multiple records for the same fqdn, they are expected to have the same TTL. For reference, see... | 2023-07-18T12:22:14 | 2023-07-20T15:16:50 | 2023-07-20T15:16:50 | NONE | null | # Bug Report
## Describe the bug
When there are two TXT for a single Domain with different TTLs the TTL for the individual records is not preserved instead it seems to pick the TTL of the record which is handled first. So with each run the TTL is toggled.
### Affected Resource(s)
- digitalocean_record
### Expected Behavior
When the TTL of one record is set to 60 and the TTL of another record to 1800, i want the records to keep the TTL after applying.
### Actual Behavior
One record looses its TTL and both records get the same TTL assigned.
### Steps to Reproduce
1. Create two record ressources like so:
```
resource "digitalocean_record" "test_txt_1" {
domain = digitalocean_domain.example_com.name
type = "TXT"
name = "@"
value = "1"
ttl = 60
}
resource "digitalocean_record" "test_txt_2" {
domain = digitalocean_domain.example_com.name
type = "TXT"
name = "@"
value = "2"
ttl = 1800
}
```
2. Apply the Terraform
3. Go to the Web UI and find the following records:
1. 
5. Rerun the Plan and Apply the plan looks like this:
1. 
6. Go to the Web UI and find the following records:
1. 
**Terraform version**
1.5.3
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1012/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/1012/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1011 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1011/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1011/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1011/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1011 | 1,807,967,539 | PR_kwDOBZHfyM5VrnvS | 1,011 | Prep v2.29.0 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
} | [] | closed | false | null | [] | null | [] | 2023-07-17T14:54:37 | 2023-07-17T15:19:38 | 2023-07-17T15:19:37 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1011/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/1011/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1011",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1011",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1011.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1011.patch",
"merged_at": "2023-07-17T15:19:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1010 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1010/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1010/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1010/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1010 | 1,806,507,391 | I_kwDOBZHfyM5rrR1_ | 1,010 | Error creating CAA `issue` and `issuewild` records via `digitalocean_record` resource | {
"login": "Odiumediae",
"id": 45131249,
"node_id": "MDQ6VXNlcjQ1MTMxMjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/45131249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Odiumediae",
"html_url": "https://github.com/Odiumediae",
"followers_url": "https://api.github.com/users/Odiumediae/followers",
"following_url": "https://api.github.com/users/Odiumediae/following{/other_user}",
"gists_url": "https://api.github.com/users/Odiumediae/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Odiumediae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Odiumediae/subscriptions",
"organizations_url": "https://api.github.com/users/Odiumediae/orgs",
"repos_url": "https://api.github.com/users/Odiumediae/repos",
"events_url": "https://api.github.com/users/Odiumediae/events{/privacy}",
"received_events_url": "https://api.github.com/users/Odiumediae/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"Hi @Odiumediae,\r\n\r\nThe `data` property in the API maps to the `value` field in the Terraform provider. It looks like the API expects a trailing dot (`.`) for the FQDN. \r\n\r\n```hcl\r\nresource \"digitalocean_record\" \"web_issue\" {\r\n type = \"CAA\"\r\n domain = data.digitalocean_domain.web.id\r\n nam... | 2023-07-16T09:09:21 | 2023-07-17T15:51:14 | 2023-07-17T15:35:23 | NONE | null | G'day, everybody!
I'm trying to create CAA records in order to get SLL-Certificates from Let's Encrypt for a domain I've already set up on my DO-account. This works, when I do it manually in the DO UI, but it doesn't, when I'm using DigitalOcean Terraform Provider (v. 2.28.1).
Domains, other records and also the CAA `iodef` record get planned, applied and destroyed correctly:
```terraform
data "digitalocean_domain" "web" {
# Real domain redacted, of course
name = "domain.tld"
}
resource "digitalocean_record" "web_root" {
type = "A"
domain = data.digitalocean_domain.web.id
name = "@"
value = digitalocean_droplet.web.ipv4_address
ttl = 300
}
resource "digitalocean_record" "web_subdomain" {
type = "A"
domain = data.digitalocean_domain.web.id
name = "somesubdomain"
value = digitalocean_droplet.web.ipv4_address
ttl = 300
}
resource "digitalocean_record" "web_subdomain_wild" {
type = "A"
domain = data.digitalocean_domain.web.id
name = "*.somesubdomain"
value = digitalocean_droplet.web.ipv4_address
ttl = 300
}
resource "digitalocean_record" "web_iodef" {
type = "CAA"
domain = data.digitalocean_domain.web.id
name = "@"
value = "mailto:hostmaster@${var.domain_name}"
tag = "iodef"
ttl = 1800
flags = 0
}
```
`issue` and `issuewild`, however, get planned, as if nothing was wrong, but they don't work:
```terraform
resource "digitalocean_record" "web_issue" {
type = "CAA"
domain = data.digitalocean_domain.web.id
name = "@"
value = "letsencrypt.org"
tag = "issue"
ttl = 1800
flags = 0
}
resource "digitalocean_record" "web_issuewild" {
type = "CAA"
domain = data.digitalocean_domain.web.id
name = "@"
value = "letsencrypt.org"
tag = "issuewild"
ttl = 1800
flags = 0
}
```
When I remove `web_issue` and `web_issuewild`, everything get set up flawlessly, but if I don't, Terraform gives me these errors instead, which seem to stem from the DigitalOcean-API, even though this does not seem to be a problem with the API itself:
```bash
╷
│ Error: Failed to create record: POST https://api.digitalocean.com/v2/domains/stopp.dev/records: 422 (request "ab8e7a96-82a6-4b93-80b6-7c04c1507bb6") Data needs to be a FQDN with issue or issuewild
│
│ with digitalocean_record.issue,
│ on records.tf line 39, in resource "digitalocean_record" "issue":
│ 39: resource "digitalocean_record" "issue" {
│
╵
╷
│ Error: Failed to create record: POST https://api.digitalocean.com/v2/domains/stopp.dev/records: 422 (request "4ec37af7-1d93-44d8-8195-2e5c8bb6e927") Data needs to be a FQDN with issue or issuewild
│
│ with digitalocean_record.issuewild,
│ on records.tf line 50, in resource "digitalocean_record" "issuewild":
│ 50: resource "digitalocean_record" "issuewild" {
│
```
It seems `data` is a property used in the DO-API, but it does not exist in the Provider properties as documented in the Terraform DigitalOcean provider docs. I've tried other values, applying the value with escaped extra-quotes and even superfluously setting the tag and flags in the value again, but nothing seems to stick, so I'm pretty sure this is a bug.
Any help would be much appreciated. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1010/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/1010/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1008 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1008/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1008/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1008/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1008 | 1,805,959,340 | I_kwDOBZHfyM5rpMCs | 1,008 | Copy snapshot to a different region | {
"login": "ddosia",
"id": 380622,
"node_id": "MDQ6VXNlcjM4MDYyMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/380622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ddosia",
"html_url": "https://github.com/ddosia",
"followers_url": "https://api.github.com/users/ddosia/followers",
"following_url": "https://api.github.com/users/ddosia/following{/other_user}",
"gists_url": "https://api.github.com/users/ddosia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ddosia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ddosia/subscriptions",
"organizations_url": "https://api.github.com/users/ddosia/orgs",
"repos_url": "https://api.github.com/users/ddosia/repos",
"events_url": "https://api.github.com/users/ddosia/events{/privacy}",
"received_events_url": "https://api.github.com/users/ddosia/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": ""
}
] | open | false | null | [] | null | [
"Thank you for bringing this to our attention. There is one additional caveat you should be aware of. When working with images once you have them in multiple regions if you delete the image it will delete that image from all regions. This might be okay for your use case.\r\n\r\nWe encourage you to continue with the... | 2023-07-15T07:54:53 | 2023-08-01T20:27:23 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
I do a snapshot of a droplet through automation. This snapshot is a golden image to be used to create another droplets. I want this snapshot to be available in other regions.
Can't find a way to do it through terraform.
### Describe the solution you'd like
```terraform
# 1. Find existing snapshot through data source:
data "digitalocean_droplet_snapshot" "golden_last" {
name_regex = "^golden"
region = "fra1"
most_recent = true
}
# 2. Using snapshot resource create in every other specified region:
resource "digitalocean_droplet_snapshot" "goldent_copy" {
id = data.digitalocean_droplet_snapshot.golden_last.id
name = data.digitalocean_droplet_snapshot.golden_last.name
regions = ["nyc3", "sfo3"]
}
```
### Describe alternatives you've considered
I found not very straightforward way to do it through `doctl`:
```shell
doctl compute image-action transfer --region nyc3 <existing droplet snapshot id>
doctl compute image-action transfer --region sfo3 <existing droplet snapshot id>
```
It's not clear because at least from API docs and Web Panel point droplet snapshots are neither images nor volume snapshots. But despite that you can use "image" API to transfer it to a different region.
Also I found a way to do this with packer (which is good but I'd still need terraform support since region list is dynamically changed through terraform):
```terraform
# base.pkr.hcl
source "digitalocean" "golden" {
region = "fra1"
...
snapshot_regions = ["nyc3", "sfo3"]
}
build {
...
sources = ["source.digitalocean.golden"]
...
}
```
If I miss something would appreciate your help.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1008/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/1008/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1007 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1007/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1007/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1007/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1007 | 1,805,626,368 | PR_kwDOBZHfyM5Vj3uS | 1,007 | k8s: Add destroy_all_associated_resources option. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-07-14T21:48:25 | 2023-07-17T14:29:23 | 2023-07-17T14:29:21 | MEMBER | null | This adds an option to destroy all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) along with the cluster when it is destroyed. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1007/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/1007/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1007",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1007",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1007.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1007.patch",
"merged_at": "2023-07-17T14:29:21"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1006 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1006/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1006/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1006/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1006 | 1,794,832,216 | I_kwDOBZHfyM5q-vdY | 1,006 | digitalocean_spaces_bucket NoSuchBucket while creating bucket | {
"login": "blinkinglight",
"id": 39296,
"node_id": "MDQ6VXNlcjM5Mjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/39296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blinkinglight",
"html_url": "https://github.com/blinkinglight",
"followers_url": "https://api.github.com/users/blinkinglight/followers",
"following_url": "https://api.github.com/users/blinkinglight/following{/other_user}",
"gists_url": "https://api.github.com/users/blinkinglight/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blinkinglight/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blinkinglight/subscriptions",
"organizations_url": "https://api.github.com/users/blinkinglight/orgs",
"repos_url": "https://api.github.com/users/blinkinglight/repos",
"events_url": "https://api.github.com/users/blinkinglight/events{/privacy}",
"received_events_url": "https://api.github.com/users/blinkinglight/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 | [
"is there any date planned to release this change? https://github.com/digitalocean/terraform-provider-digitalocean/pull/999 or maybe dev/nightly builds exists? ",
"That change was included in the v2.29.0 release. If this did not resolve the problem for you, please feel free to reopen this issue.\r\n\r\nhttps://gi... | 2023-07-08T07:57:59 | 2023-08-25T17:01:30 | 2023-08-25T17:01:30 | NONE | null | code in module
```
resource "digitalocean_spaces_bucket" "site-bucket" {
name = "randomtext-testing-${replace(var.domain, ".", "-")}"
region = "ams3"
acl = "private"
}
```
modules.tf
```
module "bucket" {
count = 1
source = "./modules/bucket"
domain = var.domain
}
```
```
│ Error: NoSuchBucket:
│ status code: 404, request id: , host id:
│
│ with module.bucket[0].digitalocean_spaces_bucket.site-bucket,
│ on modules/bucket/bucket.tf line 1, in resource "digitalocean_spaces_bucket" "site-bucket":
│ 1: resource "digitalocean_spaces_bucket" "site-bucket" {
```
sometimes it fails sometimes not
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1006/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/1006/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1005 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1005/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1005/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1005/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1005 | 1,793,450,235 | I_kwDOBZHfyM5q5eD7 | 1,005 | A problem having many rules in the digitalocean_database_firewall resource | {
"login": "terah",
"id": 2120322,
"node_id": "MDQ6VXNlcjIxMjAzMjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2120322?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/terah",
"html_url": "https://github.com/terah",
"followers_url": "https://api.github.com/users/terah/followers",
"following_url": "https://api.github.com/users/terah/following{/other_user}",
"gists_url": "https://api.github.com/users/terah/gists{/gist_id}",
"starred_url": "https://api.github.com/users/terah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/terah/subscriptions",
"organizations_url": "https://api.github.com/users/terah/orgs",
"repos_url": "https://api.github.com/users/terah/repos",
"events_url": "https://api.github.com/users/terah/events{/privacy}",
"received_events_url": "https://api.github.com/users/terah/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2023-07-07T12:17:20 | 2023-07-07T12:18:39 | null | NONE | null | Hi,
I have the following database and database firewall setup:
```
resource "digitalocean_database_cluster" "cluster" {
name = var.cluster
engine = "pg"
.....
}
resource "digitalocean_database_firewall" "cluster-firewall" {
cluster_id = digitalocean_database_cluster.cluster.id
rule {
type = "ip_addr"
value = var.dev-ip
}
# I'd like to generate these START
rule {
type = "app"
value = digitalocean_app.app1.id
}
rule {
type = "app"
value = digitalocean_app.app2.id
}
rule {
type = "app"
value = digitalocean_app.app3.id
}
# END
}
resource "digitalocean_app" "app1" {
...
}
resource "digitalocean_app" "app2" {
...
}
resource "digitalocean_app" "app3" {
...
}
```
I am porting these over from AWS, and there will be hundreds of apps. The apps are created in modules with the definitions in 1 file per app automated from a template file.
Here are the problems I'm having:
* The app fails to deploy because the database is blocked by the firewall
* I'd like the app rules to be generated automatically based on the apps as defined in Terraform
Ideally, there's be a resource called digitalocean_database_firewall_rule where I could deploy the rule with the app and not have to try to retroactively patch the digitalocean_database_firewall resource, and having the rule active when the app is deployed.
How is everyone solving this deadlock currently?
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1005/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/1005/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1004 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1004/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1004/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1004/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1004 | 1,791,760,727 | PR_kwDOBZHfyM5U0mOP | 1,004 | doc: how to get id for record import | {
"login": "nimboya",
"id": 4225466,
"node_id": "MDQ6VXNlcjQyMjU0NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4225466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nimboya",
"html_url": "https://github.com/nimboya",
"followers_url": "https://api.github.com/users/nimboya/followers",
"following_url": "https://api.github.com/users/nimboya/following{/other_user}",
"gists_url": "https://api.github.com/users/nimboya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nimboya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nimboya/subscriptions",
"organizations_url": "https://api.github.com/users/nimboya/orgs",
"repos_url": "https://api.github.com/users/nimboya/repos",
"events_url": "https://api.github.com/users/nimboya/events{/privacy}",
"received_events_url": "https://api.github.com/users/nimboya/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-07-06T15:14:45 | 2023-07-17T14:48:26 | 2023-07-17T14:48:26 | CONTRIBUTOR | null | This changes explain how a user can get the `id` of a DNS record which is required when importing an existing DNS record | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1004/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/1004/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1004",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1004",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1004.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1004.patch",
"merged_at": "2023-07-17T14:48:26"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1003 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1003/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1003/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1003/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1003 | 1,790,385,631 | PR_kwDOBZHfyM5Uv7Vl | 1,003 | build(deps): bump google.golang.org/grpc from 1.51.0 to 1.53.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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
}
] | closed | false | null | [] | null | [] | 2023-07-05T21:38:54 | 2023-07-17T14:42:41 | 2023-07-17T14:42:40 | CONTRIBUTOR | null | Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.51.0 to 1.53.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's releases</a>.</em></p>
<blockquote>
<h2>Release 1.53.0</h2>
<h1>API Changes</h1>
<ul>
<li>balancer: support injection of per-call metadata from LB policies (<a href="https://redirect.github.com/grpc/grpc-go/issues/5853">#5853</a>)</li>
<li>resolver: remove deprecated field <code>resolver.Target.Endpoint</code> and replace with <code>resolver.Target.Endpoint()</code> (<a href="https://redirect.github.com/grpc/grpc-go/issues/5852">#5852</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/kylejb"><code>@kylejb</code></a></li>
</ul>
</li>
</ul>
<h1>New Features</h1>
<ul>
<li>xds/ringhash: introduce <code>GRPC_RING_HASH_CAP</code> environment variable to override the maximum ring size. (<a href="https://redirect.github.com/grpc/grpc-go/issues/5884">#5884</a>)</li>
<li>rls: propagate headers received in RLS response to backends (<a href="https://redirect.github.com/grpc/grpc-go/issues/5883">#5883</a>)</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>transport: drain client transport when streamID approaches MaxStreamID (<a href="https://redirect.github.com/grpc/grpc-go/issues/5889">#5889</a>)</li>
<li>server: after GracefulStop, ensure connections are closed when final RPC completes (<a href="https://redirect.github.com/grpc/grpc-go/issues/5968">#5968</a>)</li>
<li>server: fix a few issues where grpc server uses RST_STREAM for non-HTTP/2 errors (<a href="https://redirect.github.com/grpc/grpc-go/issues/5893">#5893</a>)</li>
<li>xdsclient: fix race which can happen when multiple load reporting calls are made at the same time. (<a href="https://redirect.github.com/grpc/grpc-go/issues/5927">#5927</a>)</li>
<li>rls: fix a data race involving the LRU cache (<a href="https://redirect.github.com/grpc/grpc-go/issues/5925">#5925</a>)</li>
<li>xds: fix panic involving double close of channel in xDS transport (<a href="https://redirect.github.com/grpc/grpc-go/issues/5959">#5959</a>)</li>
<li>gcp/observability: update method name validation (<a href="https://redirect.github.com/grpc/grpc-go/issues/5951">#5951</a>)</li>
</ul>
<h1>Documentation</h1>
<ul>
<li>credentials/oauth: mark <code>NewOauthAccess</code> as deprecated (<a href="https://redirect.github.com/grpc/grpc-go/issues/5882">#5882</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/buzzsurfr"><code>@buzzsurfr</code></a></li>
</ul>
</li>
</ul>
<h2>Release 1.52.3</h2>
<h1>Bug Fixes</h1>
<ul>
<li>Fix user-agent version</li>
</ul>
<h2>Release 1.52.2</h2>
<h1>Bug Fixes</h1>
<ul>
<li>xds: fix panic involving double close of channel in xDS transport (<a href="https://redirect.github.com/grpc/grpc-go/issues/5959">#5959</a>)</li>
</ul>
<h2>Release 1.52.1</h2>
<h1>Bug Fixes</h1>
<ul>
<li>grpclb: rename grpclbstate package back to state (<a href="https://redirect.github.com/grpc/grpc-go/issues/5963">#5963</a>)</li>
</ul>
<h2>Release 1.52.0</h2>
<h1>New Features</h1>
<ul>
<li>xdsclient: log node ID with verbosity INFO (<a href="https://redirect.github.com/grpc/grpc-go/issues/5860">#5860</a>)</li>
<li>ringhash: impose cap on <code>max_ring_size</code> to reduce possibility of OOMs (<a href="https://redirect.github.com/grpc/grpc-go/issues/5801">#5801</a>)</li>
</ul>
<h1>Behavior Changes</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/dba26e15a07f43875ccf806a2dd6cbcbc1c12eab"><code>dba26e1</code></a> Change version to 1.53.0 (<a href="https://redirect.github.com/grpc/grpc-go/issues/5983">#5983</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/2a1e9348ff7b5d9f4b5039e84e6c9873b5b3e26e"><code>2a1e934</code></a> server: after GracefulStop, ensure connections are closed when final RPC comp...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/e2d69aa076dd070e3668784c4dc8bcf7131b3f67"><code>e2d69aa</code></a> tests: fix spelling of variable (<a href="https://redirect.github.com/grpc/grpc-go/issues/5966">#5966</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/a6376c9893f56fc3819bee9ef5d71f55cc2d38dd"><code>a6376c9</code></a> xds/resolver: cleanup tests to use real xDS client 3/n (<a href="https://redirect.github.com/grpc/grpc-go/issues/5953">#5953</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/bf8fc46fa6eb913e4ed0f6dee6c6a7b75e85fbf0"><code>bf8fc46</code></a> xds/resolver: cleanup tests to use real xDS client 5/n (<a href="https://redirect.github.com/grpc/grpc-go/issues/5955">#5955</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/3930549b38c0fc4cd94a95efccf7cef5f90515fd"><code>3930549</code></a> resolver: replace resolver.Target.Endpoint field with Endpoint() method (<a href="https://redirect.github.com/grpc/grpc-go/issues/5852">#5852</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/894816c487f8dd48fc971c45a7c5baa4b86ef7de"><code>894816c</code></a> grpclb: rename <code>grpclbstate</code> package back to <code>state</code> (<a href="https://redirect.github.com/grpc/grpc-go/issues/5962">#5962</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/e5a0237a46a5f95fa571624929be10c7afebb180"><code>e5a0237</code></a> encoding: fix duplicate compressor names (<a href="https://redirect.github.com/grpc/grpc-go/issues/5958">#5958</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/4adb2a7a00d8b62df5ea34d520fe3ca13bffd31a"><code>4adb2a7</code></a> xds/resolver: cleanup tests to use real xDS client 2/n (<a href="https://redirect.github.com/grpc/grpc-go/issues/5952">#5952</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/52a8392f374b8cd60e176b67925a7f8c1605d014"><code>52a8392</code></a> gcp/observability: update method name validation (<a href="https://redirect.github.com/grpc/grpc-go/issues/5951">#5951</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.51.0...v1.53.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1003/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/1003/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1003",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1003",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1003.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1003.patch",
"merged_at": "2023-07-17T14:42:40"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1002 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1002/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1002/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1002/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1002 | 1,786,703,162 | PR_kwDOBZHfyM5Ujcdl | 1,002 | databases: Update Postgres versions in acceptance tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-07-03T19:24:01 | 2023-07-03T19:53:24 | 2023-07-03T19:53:23 | MEMBER | null | We have acceptance tests failing:
```
datasource_database_cluster_test.go:20: Step 1/2 error: Error running apply: exit status 1
Error: Error creating database cluster: POST https://api.digitalocean.com/v2/databases: 422 (request "f1627cab-76fe-4d38-b86c-1f6460daed6a") invalid cluster engine version
with digitalocean_database_cluster.foobar,
on terraform_plugin_test.tf line 2, in resource "digitalocean_database_cluster" "foobar":
2: resource "digitalocean_database_cluster" "foobar" {
--- FAIL: TestAccDataSourceDigitalOceanDatabaseCluster_Basic (0.91s)
```
Looks like version 11 has been EOLed for Postgres:
```
$ doctl databases options versions
Engine Versions
mysql [8]
pg [12,13,14,15]
redis [7]
mongodb [4.4,5.0,6.0]
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1002/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/1002/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1002",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1002",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1002.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1002.patch",
"merged_at": "2023-07-03T19:53:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1001 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1001/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1001/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1001/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1001 | 1,770,223,683 | I_kwDOBZHfyM5pg3hD | 1,001 | Error destroying digitalocean_kubernetes_cluster with additional digitalocean_kubernetes_node_pool while default nodepool is tainted | {
"login": "binnsr",
"id": 26882158,
"node_id": "MDQ6VXNlcjI2ODgyMTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/26882158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/binnsr",
"html_url": "https://github.com/binnsr",
"followers_url": "https://api.github.com/users/binnsr/followers",
"following_url": "https://api.github.com/users/binnsr/following{/other_user}",
"gists_url": "https://api.github.com/users/binnsr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/binnsr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/binnsr/subscriptions",
"organizations_url": "https://api.github.com/users/binnsr/orgs",
"repos_url": "https://api.github.com/users/binnsr/repos",
"events_url": "https://api.github.com/users/binnsr/events{/privacy}",
"received_events_url": "https://api.github.com/users/binnsr/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
}
] | open | false | null | [] | null | [] | 2023-06-22T18:49:51 | 2023-06-22T18:49:51 | null | NONE | null | # Bug Report
---
## Describe the bug
When destroying a kubernetes cluster with additional node_pool resources and a taint on the default nodepool, destruction of the additional nodepool takes 18-20+ minutes (times out at 20 minutes by default) before the cluster can be deleted. I believe this is because coredns deploys as a Deployment instead of as a Daemonset and hangs because there are no viable nodepools for it to schedule on during destruction (the additional nodepool has NoSchedule and the default has the user-defined taint(s)).
### Affected Resource(s)
- digitalocean_kubernetes_node_pool
- digitalocean_kubernetes_cluster
### Expected Behavior
Terraform should destroy the additional node_pool resource in a timely manner -- i.e. coredns should be able to either tolerate any taint on a nodepool by default or be deployed as a Daemonset
### Actual Behavior
the destruction of the digitalocean_kubernetes_nodepool takes 18-20+ minutes because coredns is in a 'pending state
### Steps to Reproduce
1) using Terraform, build a digitalocean_kubernetes_cluster that has a default nodepool with a taint and an additional digitalocean_kubernetes_node_pool that does not have a taint.
2) once the cluster is fully online, observe that the 'coredns' pods are all `Running` and on the additional nodepool node(s).
3) execute `terraform apply -destroy` or `terraform plan -destroy && terraform apply`
4) once Terraform begins the process of destroying the addional node_pool resource, observe that one of the coredns pods has relaunched and is in the `Pending` state -- `kubectl describe` on that pod will show a message like this ` Warning FailedScheduling 9s default-scheduler 0/2 nodes are available: 1 node(s) had untolerated taint {nodepool: default}, 1 node(s) were unschedulable. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling..`
5) after 18(ish) minutes, the node_pool destroy will complete and the cluster will come down directly after.
**Terraform Configuration Files**
```
--- PARENT MODULE
**main.tf**
data "digitalocean_kubernetes_versions" "version" {
version_prefix = var.cluster_version_prefix
}
resource "digitalocean_tag" "cluster_prefix_tag" {
name = "cluster_prefix:${resource.random_id.cluster_prefix.hex}"
}
locals {
instances = flatten([
for node_pool in var.nodepools : [
{
is_autoscaling = node_pool.is_autoscaling
reset_node_count = node_pool.reset_node_count
node_count = node_pool.node_count
size = node_pool.size
prefix = node_pool.prefix
min_nodes = node_pool.is_autoscaling ? node_pool.min_nodes : null
max_nodes = node_pool.is_autoscaling ? node_pool.max_nodes : null
labels = node_pool.labels
}
]
])
}
resource "digitalocean_kubernetes_cluster" "kubernetes_cluster" {
name = "${var.ctx_doppler_config_dns_safe}-${local.dns_safe_prefix}"
region = var.cluster_region
auto_upgrade = var.auto_upgrade
version = data.digitalocean_kubernetes_versions.version.latest_version
tags = [
#data.digitalocean_tag.world_tag.name,
digitalocean_tag.cluster_prefix_tag.name
]
node_pool {
name = "${var.ctx_doppler_config_dns_safe}-${local.dns_safe_prefix}-nodepool-default"
size = var.default_nodepool.size
node_count = var.default_nodepool.reset_node_count ? var.default_nodepool.node_count : null
auto_scale = var.default_nodepool.is_autoscaling
min_nodes = var.default_nodepool.is_autoscaling ? var.default_nodepool.min_nodes : null
max_nodes = var.default_nodepool.is_autoscaling ? var.default_nodepool.max_nodes : null
labels = var.default_nodepool.labels
dynamic "taint" {
for_each = var.default_node_pool_taints
content {
key = taint.value.key
value = taint.value.value
effect = taint.value.effect
}
}
}
}
resource "digitalocean_kubernetes_node_pool" "additional_nodepool" {
for_each = { for np in local.instances: np.prefix => np }
name = "${digitalocean_kubernetes_cluster.kubernetes_cluster.name}-nodepool-${each.value.prefix}"
cluster_id = digitalocean_kubernetes_cluster.kubernetes_cluster.id
tags = [
resource.digitalocean_tag.cluster_prefix_tag.name
]
size = each.value.size
node_count = each.value.reset_node_count ? each.value.node_count : null
auto_scale = each.value.is_autoscaling
min_nodes = each.value.is_autoscaling ? each.value.min_nodes : null
max_nodes = each.value.is_autoscaling ? each.value.max_nodes : null
labels = each.value.labels
depends_on = [
digitalocean_kubernetes_cluster.kubernetes_cluster
]
}
**variables.tf**
variable "ctx_doppler_project" {
type = string
default = "REDACTED"
}
variable "ctx_doppler_config" {
type = string
}
variable "ctx_doppler_config_dns_safe" {
type = string
}
variable "gitlab_project" {
type = string
description = "Project that the created gitlab agent and token will be created in"
}
variable "auto_upgrade" {
type = bool
default = false
}
variable "cluster_version_prefix" {
type = string
}
variable "cluster_region" {
type = string
}
variable "default_node_pool_taints" {
type = map(object({
key = string
value = string
effect = string
}))
default = {}
}
variable "default_nodepool" {
type = object({
size = string
reset_node_count = bool
is_autoscaling = bool
node_count = optional(number)
min_nodes = optional(number) # required if nodepool auto_scale is 'true'
max_nodes = optional(number) # required if nodepool auto_scale is 'true'
labels = optional(object({
node_function = string
}))
})
}
variable "nodepools" {
type = list( object({
prefix = string # unique to each pool ( generally 1, 2, 3, etc. )
size = string
reset_node_count = bool
is_autoscaling = bool
node_count = optional(number)
min_nodes = optional(number) # required if nodepool_auto_scaler is 'true'
max_nodes = optional(number) # required if nodepool_auto_scaler is 'true'
labels = optional(object({
node_function = string
}))
}))
default = []
--- CHILD MODULE
module "devops_kubernetes_cluster" {
source = "../../../modules/digitalocean/kubernetes-infrastructure/1.1.0"
ctx_doppler_config = data.doppler_secrets.devops_secrets.map.DOPPLER_CONFIG
ctx_doppler_config_dns_safe = data.doppler_secrets.devops_secrets.map.CTX_DOPPLER_CONFIG_DNS_SAFE
ctx_doppler_project = data.doppler_secrets.devops_secrets.map.DOPPLER_PROJECT
cluster_region = "nyc1"
cluster_version_prefix = "1.26"
auto_upgrade = true
gitlab_project = "REDACTED/gitlab-agents"
default_nodepool = {
size = "s-2vcpu-4gb"
reset_node_count = false
node_count = 1
is_autoscaling = true
min_nodes = 1
max_nodes = 2
labels = {
node_function = "default"
}
}
default_node_pool_taints = {
nonprod_taint = {
key = "nodepool"
value = "default"
effect = "NoExecute"
}
}
nodepools = [ # if is_autoscaling = false, then reset_node_count must be true!
{
prefix = "primary"
size = "s-2vcpu-4gb"
reset_node_count = false
node_count = 1
is_autoscaling = true
# auto_scale = false
min_nodes = 1
max_nodes = 3
labels = {
node_function = "primary"
}
}
]
}
```
**Terraform version**
```
Terraform v1.5.0
on linux_amd64
+ provider registry.terraform.io/cloudflare/cloudflare v3.35.0
+ provider registry.terraform.io/digitalocean/digitalocean v2.28.1
+ provider registry.terraform.io/dopplerhq/doppler v1.1.7
+ provider registry.terraform.io/gitlabhq/gitlab v3.20.0
+ provider registry.terraform.io/hashicorp/helm v2.10.1
+ provider registry.terraform.io/hashicorp/random v3.5.1
```
**Debug Output**
https://gist.github.com/binnsr/e9bf1547bf8d08699697f4275137bdc4
**Panic Output**
n/a
## Additional context
n/a
**Important Factoids**
**References**
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1001/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/1001/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1000 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1000/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1000/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1000/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1000 | 1,766,134,786 | PR_kwDOBZHfyM5Tefkg | 1,000 | DB Connection Pool: Add skip_if_exists | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2023-06-20T20:55:58 | 2023-08-14T18:30:17 | null | MEMBER | null | Addresses #925
Users reported experiencing 5xx errors on Database Connection Pools requests even if it was successfully created in DO. When this happens, in the terraform state, the resource was marked as not created because of 503 error. Following a retry, the creation of the pool fails because the name is already taken.
This proposes a workaround solution of adding an optional "skip_if_exists" argument. If the connection pool already exists, it will exit without error. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1000/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/1000/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1000",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1000",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1000.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1000.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/999 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/999/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/999/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/999/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/999 | 1,765,604,634 | PR_kwDOBZHfyM5Tcwos | 999 | Update retryOnAwsCode to Five Minutes | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This is an odd one... The create method doesn't actually use this helper, and has its own 5 minute timeout for both the create call and polling:\r\n\r\nhttps://github.com/digitalocean/terraform-provider-digitalocean/blob/ee854f53e9e622cf44e61dd251bb61ba5c8eb5e3/digitalocean/spaces/resource_spaces_bucket.go#L222-L2... | 2023-06-20T15:03:09 | 2023-06-20T20:33:54 | 2023-06-20T20:33:52 | MEMBER | null | Users have been experiencing errors being returned on successful spaces create requests that take longer than 1 minute. Github issue is #996
The only referenced function in `resourceDigitalOceanBucketCreate` that's using a 1 minute timeout is the `retryOnAwsCode` so updating that to 5 minutes to hopefully mitigate the errors on successful bucket creations. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/999/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/999/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/999",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/999",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/999.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/999.patch",
"merged_at": "2023-06-20T20:33:52"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/998 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/998/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/998/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/998/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/998 | 1,761,857,610 | I_kwDOBZHfyM5pA9BK | 998 | Support for sql_require_primary_key in digitalocean_database_cluster | {
"login": "spantaleev",
"id": 388669,
"node_id": "MDQ6VXNlcjM4ODY2OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/388669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spantaleev",
"html_url": "https://github.com/spantaleev",
"followers_url": "https://api.github.com/users/spantaleev/followers",
"following_url": "https://api.github.com/users/spantaleev/following{/other_user}",
"gists_url": "https://api.github.com/users/spantaleev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/spantaleev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spantaleev/subscriptions",
"organizations_url": "https://api.github.com/users/spantaleev/orgs",
"repos_url": "https://api.github.com/users/spantaleev/repos",
"events_url": "https://api.github.com/users/spantaleev/events{/privacy}",
"received_events_url": "https://api.github.com/users/spantaleev/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485915,
"node_id": "MDU6TGFiZWwxMDQ5NDg1OTE1",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/hacktoberfest",
"name": "hacktoberfest",
"color": "d61b91",
"default": false,
"description": ""
},
{
"id": 5326124780,
"node_id"... | open | false | null | [] | null | [
"I have the same problem and I solved it with a temporary workaround using the `Mastercard/restapi` provider:\r\n\r\n```hcl\r\n# Configure the RestAPI provider\r\nprovider \"restapi\" {\r\n uri = \"https://api.digitalocean.com/\"\r\n\r\n headers = {\r\n \"Authorization\" = format(\"Bearer %s\", var.do_token)\r... | 2023-06-17T13:36:01 | 2023-09-29T18:32:58 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
I have an application which requires a MySQL database instance running with `sql_require_primary_key=false`.
The default value for a Digital Ocean MySQL database is `true`.
Changing the `sql_require_primary_key` configuration via the API is possible: `curl -H 'Authorization: Bearer XXX' -XPATCH --data '{"config": {"sql_require_primary_key": false}}' https://api.digitalocean.com/v2/databases/{YOUR_DATABASE_CLUSER_ID}/config`).
It'd be more convenient if this could be done via the `digitalocean_database_cluster` resource.
### Describe the solution you'd like
A new `sql_require_primary_key` field may be added to the `digitalocean_database_cluster` resource which would influence the `sql_require_primary_key` configuration setting.
### Describe alternatives you've considered
For now, I'm changing `sql_require_primary_key` manually via the API, outside of Terraform.
My manual changes do not seem to get undone by subsequent Terraform runs, so it's usable. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/998/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/998/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/997 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/997/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/997/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/997/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/997 | 1,744,779,542 | I_kwDOBZHfyM5n_zkW | 997 | Cannot update Kubernetes clusters with version = latest | {
"login": "AaronFriel",
"id": 788800,
"node_id": "MDQ6VXNlcjc4ODgwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/788800?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AaronFriel",
"html_url": "https://github.com/AaronFriel",
"followers_url": "https://api.github.com/users/AaronFriel/followers",
"following_url": "https://api.github.com/users/AaronFriel/following{/other_user}",
"gists_url": "https://api.github.com/users/AaronFriel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AaronFriel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AaronFriel/subscriptions",
"organizations_url": "https://api.github.com/users/AaronFriel/orgs",
"repos_url": "https://api.github.com/users/AaronFriel/repos",
"events_url": "https://api.github.com/users/AaronFriel/events{/privacy}",
"received_events_url": "https://api.github.com/users/AaronFriel/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
}
] | open | false | null | [] | null | [
"Hi @AaronFriel,\r\n\r\n`latest` is supported by the DigitalOcean API as a convenience when creating a Kubernetes cluster. It is only supported in the Terraform provider in so far as the `version` attribute is a string type. So if you set it to that, we'll send it to the API. We recommend specifying a specific vers... | 2023-06-06T23:47:26 | 2023-06-12T16:16:01 | null | NONE | null | # Bug Report
Creating a Kubernetes Cluster with `version = latest` fails on subsequent updates.
This was discovered by a Pulumi user here:
- https://github.com/pulumi/pulumi-digitalocean/issues/437
## Describe the bug
Setting the version slug to "latest" works on creation, but applying the configuration again results in an API error:
> Unable to upgrade cluster version: POST https://api.digitalocean.com/v2/kubernetes/clusters/f6fffdba-b39b-4c0e-99f6-44b5dcd0969d/upgrade: 422 (request "329518b1-a2a4-450d-a2f8-7121bd814b9f") validation error: invalid version slug
If "latest" is supported as an input value, it should be supported on subsequent updates, as Terraform providers should generally be idempotent. A resource configuration that can only apply once results in user confusion.
### Affected Resource(s)
- digitalocean_kubernetes_cluster
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/997/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/997/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/996 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/996/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/996/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/996/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/996 | 1,718,611,103 | I_kwDOBZHfyM5mb-yf | 996 | Spaces bucket creation fails with 404 | {
"login": "SkeLLLa",
"id": 2273103,
"node_id": "MDQ6VXNlcjIyNzMxMDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2273103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SkeLLLa",
"html_url": "https://github.com/SkeLLLa",
"followers_url": "https://api.github.com/users/SkeLLLa/followers",
"following_url": "https://api.github.com/users/SkeLLLa/following{/other_user}",
"gists_url": "https://api.github.com/users/SkeLLLa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SkeLLLa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SkeLLLa/subscriptions",
"organizations_url": "https://api.github.com/users/SkeLLLa/orgs",
"repos_url": "https://api.github.com/users/SkeLLLa/repos",
"events_url": "https://api.github.com/users/SkeLLLa/events{/privacy}",
"received_events_url": "https://api.github.com/users/SkeLLLa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"Hi there,\r\n\r\nThanks for the write up! I'm trying to reproduce the error on my end and cannot get the bucket creation to last more than 1 minute. I've tried creating more than one bucket and it still completes in less than 13 seconds. How many buckets are you creating that's making it take longer than 1 minute?... | 2023-05-21T19:15:31 | 2023-06-20T20:34:07 | 2023-06-20T20:34:07 | NONE | null | # Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
If spaces bucket creation takes more than 1 minute, it 100% will fail with 404 error. However bucket is created.
```
│ Error: NoSuchBucket:
│ status code: 404, request id: , host id:
```
### Affected Resource(s)
- digitalocean_spaces_bucket
### Expected Behavior
Bucket is created. And no 404 error appear.
### Actual Behavior
Bucket created in DO, but it remains not created in terraform state.
### Steps to Reproduce
Copy example from DO provider docs for creating spaces bucket.
Run terraform apply and make sure that bucket creation takes more than 1min. If needed create more than one.
The only way to get proper state is to run `terraform untaint` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/996/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/996/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/995 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/995/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/995/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/995/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/995 | 1,716,833,215 | I_kwDOBZHfyM5mVMu_ | 995 | `terraform destroy` command on a Kubernetes cluster doesn't remove Droplets in its Nodepool | {
"login": "uniglot",
"id": 18096835,
"node_id": "MDQ6VXNlcjE4MDk2ODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/18096835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uniglot",
"html_url": "https://github.com/uniglot",
"followers_url": "https://api.github.com/users/uniglot/followers",
"following_url": "https://api.github.com/users/uniglot/following{/other_user}",
"gists_url": "https://api.github.com/users/uniglot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/uniglot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/uniglot/subscriptions",
"organizations_url": "https://api.github.com/users/uniglot/orgs",
"repos_url": "https://api.github.com/users/uniglot/repos",
"events_url": "https://api.github.com/users/uniglot/events{/privacy}",
"received_events_url": "https://api.github.com/users/uniglot/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
}
] | open | false | null | [] | null | [
"Can someone confirm whether this is an expected behavior?",
"I assumed `terraform destroy` would also destroy the Droplets created via the required `node_pool` configuration as well.",
"Issuing a `terraform destroy` should indeed destroy the Droplets associated with the cluster's node pools. Though Terraform d... | 2023-05-19T08:12:02 | 2024-04-17T14:56:36 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
Issuing a `terraform destroy` command on a "digitalocean_kubernetes_cluster" resource which doesn't have additional Nodepools removes the cluster, but the Droplets in the default Nodepool were not removed.
I found this behavior from the fact that creating the cluster took 5m30s but for destroying it 1s was enough.
After checking out the DO console, I found out that the Droplets were not removed and still running.
### Affected Resource(s)
- digitalocean_kubernetes_cluster
### Expected Behavior
<!-- What should have happened? -->
Upon issuing a `terraform destory` command on the cluster's resource, I expected the Droplets which were in the default Nodepool should be removed along with the cluster.
### Actual Behavior
<!-- What actually happened? -->
The Droplets in the default Nodepool were not removed and still running.
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
1. `terraform apply` including the resource declaration below:
```tf
resource "digitalocean_kubernetes_cluster" "cluster" {
name = "uniglot-cluster-abc"
region = "sgp1"
version = "1.26.3-do.0"
node_pool {
name = "worker-pool"
size = "s-1vcpu-2gb"
auto_scale = true
min_nodes = 3
max_nodes = 5
}
}
```
which should work well.
2. `terraform destroy` and the generated plan will be similar to:
```
digitalocean_kubernetes_cluster.cluster: Refreshing state... [id=c8beca30-502d-4d4d-807c-256bedff2e91]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# digitalocean_kubernetes_cluster.cluster will be destroyed
- resource "digitalocean_kubernetes_cluster" "cluster" {
- auto_upgrade = false -> null
- cluster_subnet = "10.244.0.0/16" -> null
- created_at = "2023-05-19 06:38:28 +0000 UTC" -> null
- endpoint = "https://c8beca30-502d-4d4d-807c-256bedff2e91.k8s.ondigitalocean.com" -> null
- ha = false -> null
- id = "c8beca30-502d-4d4d-807c-256bedff2e91" -> null
- kube_config = (sensitive value) -> null
- name = "uniglot-cluster-abc" -> null
- region = "sgp1" -> null
- registry_integration = false -> null
- service_subnet = "10.245.0.0/16" -> null
- status = "running" -> null
- surge_upgrade = true -> null
- tags = [] -> null
- updated_at = "2023-05-19 06:43:57 +0000 UTC" -> null
- urn = "do:kubernetes:c8beca30-502d-4d4d-807c-256bedff2e91" -> null
- version = "1.26.3-do.0" -> null
- vpc_uuid = "f0a6ba4a-011a-4fa7-ac8e-57add95e8eca" -> null
- maintenance_policy {
- day = "any" -> null
- duration = "4h0m0s" -> null
- start_time = "0:00" -> null
}
- node_pool {
- actual_node_count = 3 -> null
- auto_scale = true -> null
- id = "94673e6d-066f-4626-bdde-6a546fe41f93" -> null
- labels = {} -> null
- max_nodes = 5 -> null
- min_nodes = 3 -> null
- name = "worker-pool" -> null
- node_count = 0 -> null
- nodes = [
- {
- created_at = "2023-05-19 06:38:28 +0000 UTC"
- droplet_id = "356101631"
- id = "6003a756-baa9-4b25-a962-8027fd529f2c"
- name = "worker-pool-frffl"
- status = "running"
- updated_at = "2023-05-19 06:40:39 +0000 UTC"
},
] -> null
- size = "s-1vcpu-2gb" -> null
- tags = [] -> null
}
}
Plan: 0 to add, 0 to change, 1 to destroy.
Do you really want to destroy all resources?
Terraform will destroy all your managed infrastructure, as shown above.
There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
digitalocean_kubernetes_cluster.cluster: Destroying... [id=c8beca30-502d-4d4d-807c-256bedff2e91]
digitalocean_kubernetes_cluster.cluster: Destruction complete after 1s
Destroy complete! Resources: 1 destroyed.
```
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
```tf
# main.tf
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.0"
}
}
}
variable "do_token" {}
provider "digitalocean" {
token = var.do_token
}
# do-secrets.tfvars
do_token = "your_do_token_12345"
```
**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. -->
```
Terraform v1.4.6
on darwin_arm64
+ provider registry.terraform.io/digitalocean/digitalocean v2.28.1
```
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
- In [resource_kubernetes_cluster.go](https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/digitalocean/kubernetes/resource_kubernetes_cluster.go#L491), the function `resourceDigitalOceanKubernetesClusterDelete()` uses `client.Kubernetes.Delete()` ([link](https://github.com/digitalocean/godo/blob/main/kubernetes.go#L36))`, which corresponds to [this API endpoint](https://docs.digitalocean.com/reference/api/api-reference/#operation/kubernetes_delete_cluster). The reference says that this endpoint is used to delete a Kubernetes cluster and all services deployed to it.
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/995/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/995/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/994 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/994/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/994/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/994/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/994 | 1,709,117,852 | I_kwDOBZHfyM5l3xGc | 994 | digitalocean_cdn fails with "inconsistent final plan" when renaming origin bucket | {
"login": "adborden",
"id": 509703,
"node_id": "MDQ6VXNlcjUwOTcwMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/509703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adborden",
"html_url": "https://github.com/adborden",
"followers_url": "https://api.github.com/users/adborden/followers",
"following_url": "https://api.github.com/users/adborden/following{/other_user}",
"gists_url": "https://api.github.com/users/adborden/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adborden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adborden/subscriptions",
"organizations_url": "https://api.github.com/users/adborden/orgs",
"repos_url": "https://api.github.com/users/adborden/repos",
"events_url": "https://api.github.com/users/adborden/events{/privacy}",
"received_events_url": "https://api.github.com/users/adborden/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
}
] | open | false | null | [] | null | [] | 2023-05-14T23:55:47 | 2023-05-14T23:55:47 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
When renaming the spaces bucket name for an CDN origin, terraform fails with "Error: Provider produced inconsistent final plan".
You can retry the apply and it will succeed once the bucket is renamed.
### Affected Resource(s)
- digitalocean_cdn
- digitalocean_spaces_bucket
### Expected Behavior
Rename is applied, and terraform succeeds, configuring the CDN with the new bucket name.
### Actual Behavior
Terraform fails with:
```
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for digitalocean_cdn.test to include new values learned so far during apply, provider "registry.terraform.io/digitalocean/digitalocean" produced an invalid new
│ value for .origin: was cty.StringVal("test.example.com.sfo3.digitaloceanspaces.com"), but now cty.StringVal("test-example-com.sfo3.digitaloceanspaces.com").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
```
### Steps to Reproduce
1. Configure spaces bucket with initial name
2. `terraform apply`
3. Edit the bucket name, e.g append the bucket name with `-2`
4. `terraform apply`
**Terraform Configuration Files**
Initial configuration:
```
resource "digitalocean_spaces_bucket" "test" {
name = "test-example-com-1"
region = "sfo3"
acl = "public-read"
}
resource "digitalocean_cdn" "test" {
origin = digitalocean_spaces_bucket.test.bucket_domain_name
custom_domain = "test.example.com"
certificate_name = digitalocean_certificate.test.name
ttl = 600
}
resource "digitalocean_certificate" "test" {
name = "test.example.com"
type = "lets_encrypt"
domains = [
"test.example.com",
]
}
```
**Terraform version**
```
Terraform v1.3.9
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.28.1
```
**Debug Output**
https://gist.github.com/adborden/36a0871651438ad76f3aba8b3ca91d25
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/994/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/994/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/993 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/993/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/993/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/993/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/993 | 1,709,112,041 | I_kwDOBZHfyM5l3vrp | 993 | Error creating CDN 422 invalid origin | {
"login": "adborden",
"id": 509703,
"node_id": "MDQ6VXNlcjUwOTcwMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/509703?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adborden",
"html_url": "https://github.com/adborden",
"followers_url": "https://api.github.com/users/adborden/followers",
"following_url": "https://api.github.com/users/adborden/following{/other_user}",
"gists_url": "https://api.github.com/users/adborden/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adborden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adborden/subscriptions",
"organizations_url": "https://api.github.com/users/adborden/orgs",
"repos_url": "https://api.github.com/users/adborden/repos",
"events_url": "https://api.github.com/users/adborden/events{/privacy}",
"received_events_url": "https://api.github.com/users/adborden/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
}
] | open | false | null | [] | null | [] | 2023-05-14T23:34:14 | 2023-05-14T23:34:14 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
---
## Describe the bug
When the origin bucket contains `.`, the CDN fails to create with the error 422 invalid origin.
```
╷
│ Error: Error creating CDN: POST https://api.digitalocean.com/v2/cdn/endpoints: 422 (request "75fdf59d-b2ff-41cb-9238-a26dd1facc41") invalid origin
│
│ with digitalocean_cdn.test,
│ on main.tf line 46, in resource "digitalocean_cdn" "test":
│ 46: resource "digitalocean_cdn" "test" {
│
```
### Affected Resource(s)
- digitalocean_cdn
### Expected Behavior
CDN should be created correctly.
### Actual Behavior
CDN fails to create with error 422 invalid origin
### Steps to Reproduce
1. `terraform apply`
**Terraform Configuration Files**
```
resource "digitalocean_spaces_bucket" "test" {
name = "test.example.com"
region = "sfo3"
acl = "public-read"
}
resource "digitalocean_cdn" "test" {
origin = digitalocean_spaces_bucket.test.bucket_domain_name
custom_domain = "test.example.com"
certificate_name = digitalocean_certificate.test.name
ttl = 600
}
resource "digitalocean_certificate" "test" {
name = "test.example.com"
type = "lets_encrypt"
domains = [
"test.example.com",
]
}
```
**Terraform version**
```
$ terraform -v
Terraform v1.3.9
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.28.1
```
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
This works fine from the digitalocean UI. Naming buckets and resources after the domain name is an intuitive pattern.
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/993/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/993/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/992 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/992/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/992/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/992/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/992 | 1,708,959,102 | I_kwDOBZHfyM5l3KV- | 992 | Resource digitalocean_record is not created with domain id. | {
"login": "SkeLLLa",
"id": 2273103,
"node_id": "MDQ6VXNlcjIyNzMxMDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2273103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SkeLLLa",
"html_url": "https://github.com/SkeLLLa",
"followers_url": "https://api.github.com/users/SkeLLLa/followers",
"following_url": "https://api.github.com/users/SkeLLLa/following{/other_user}",
"gists_url": "https://api.github.com/users/SkeLLLa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SkeLLLa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SkeLLLa/subscriptions",
"organizations_url": "https://api.github.com/users/SkeLLLa/orgs",
"repos_url": "https://api.github.com/users/SkeLLLa/repos",
"events_url": "https://api.github.com/users/SkeLLLa/events{/privacy}",
"received_events_url": "https://api.github.com/users/SkeLLLa/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
}
] | open | false | null | [] | null | [] | 2023-05-14T14:10:08 | 2023-05-14T14:10:08 | null | NONE | null | # Bug Report
---
## Describe the bug
Resource digitalocean_record is not created with description from documentation.
### Affected Resource(s)
digitalocean_record
### Expected Behavior
Record resource is created
### Actual Behavior
Record resource is failed with 404.
### Steps to Reproduce
1. Copy-paste example from documentation and add your domain
```
resource "digitalocean_domain" "default" {
name = "example.com"
}
# Add an A record to the domain for www.example.com.
resource "digitalocean_record" "www" {
domain = digitalocean_domain.default.id
type = "A"
name = "www"
value = "192.168.0.11"
}
```
2. `terraform apply`
3. See that it result with error. since request to `/v2/domains/<id>/records` return 404.
4. Use `domain = digitalocean_domain.default.name` instead of `id`
5. See that record resource created and request goes to `/v2/domains/<name>/records`
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/992/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/992/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/991 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/991/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/991/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/991/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/991 | 1,700,455,809 | PR_kwDOBZHfyM5QAtiI | 991 | Bump Go version to 1.20.x | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-05-08T15:16:29 | 2023-05-08T15:28:42 | 2023-05-08T15:28:41 | MEMBER | null | Happened to notice we are still on 1.19 here. This bumps us up to 1.20 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/991/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/991/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/991",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/991",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/991.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/991.patch",
"merged_at": "2023-05-08T15:28:41"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/990 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/990/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/990/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/990/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/990 | 1,694,395,357 | PR_kwDOBZHfyM5PsOLc | 990 | Set initial_filesystem_type and initial_filesystem_label when reading volume resource | {
"login": "mohsenSy",
"id": 11737155,
"node_id": "MDQ6VXNlcjExNzM3MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/11737155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mohsenSy",
"html_url": "https://github.com/mohsenSy",
"followers_url": "https://api.github.com/users/mohsenSy/followers",
"following_url": "https://api.github.com/users/mohsenSy/following{/other_user}",
"gists_url": "https://api.github.com/users/mohsenSy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mohsenSy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mohsenSy/subscriptions",
"organizations_url": "https://api.github.com/users/mohsenSy/orgs",
"repos_url": "https://api.github.com/users/mohsenSy/repos",
"events_url": "https://api.github.com/users/mohsenSy/events{/privacy}",
"received_events_url": "https://api.github.com/users/mohsenSy/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2023-05-03T16:17:54 | 2023-05-03T17:30:59 | null | CONTRIBUTOR | null | closes #984 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/990/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/990/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/990",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/990",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/990.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/990.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/989 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/989/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/989/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/989/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/989 | 1,693,603,596 | PR_kwDOBZHfyM5Pphnp | 989 | databases: Add data source for database user. | {
"login": "lezgomatt",
"id": 16533424,
"node_id": "MDQ6VXNlcjE2NTMzNDI0",
"avatar_url": "https://avatars.githubusercontent.com/u/16533424?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lezgomatt",
"html_url": "https://github.com/lezgomatt",
"followers_url": "https://api.github.com/users/lezgomatt/followers",
"following_url": "https://api.github.com/users/lezgomatt/following{/other_user}",
"gists_url": "https://api.github.com/users/lezgomatt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lezgomatt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lezgomatt/subscriptions",
"organizations_url": "https://api.github.com/users/lezgomatt/orgs",
"repos_url": "https://api.github.com/users/lezgomatt/repos",
"events_url": "https://api.github.com/users/lezgomatt/events{/privacy}",
"received_events_url": "https://api.github.com/users/lezgomatt/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-05-03T08:16:57 | 2023-05-08T15:12:48 | 2023-05-08T15:12:48 | CONTRIBUTOR | null | Adds a new data source for the database user. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/989/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/989/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/989",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/989",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/989.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/989.patch",
"merged_at": "2023-05-08T15:12:48"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/988 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/988/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/988/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/988/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/988 | 1,693,056,617 | PR_kwDOBZHfyM5Pnr0g | 988 | Prep v2.28.1 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
} | [] | closed | false | null | [] | null | [] | 2023-05-02T20:26:55 | 2023-05-02T20:46:27 | 2023-05-02T20:46:26 | MEMBER | null | We have a handful of bugfixes. Let's get a release out. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/988/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/988/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/988",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/988",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/988.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/988.patch",
"merged_at": "2023-05-02T20:46:26"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/987 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/987/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/987/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/987/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/987 | 1,693,043,851 | PR_kwDOBZHfyM5PnpDg | 987 | databases: Fix custom create timeouts. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-05-02T20:15:38 | 2023-05-02T20:21:27 | 2023-05-02T20:21:26 | MEMBER | null | Looks like we accidentally used `TimeoutDelete` where it should be `TimeoutCreate` :man_facepalming:
Also noticed `=` when it should be `>=` to prevent the corner case of the timeout being set lower than the interval.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/986 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/987/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/987/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/987",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/987",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/987.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/987.patch",
"merged_at": "2023-05-02T20:21:26"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/986 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/986/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/986/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/986/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/986 | 1,692,477,368 | I_kwDOBZHfyM5k4Se4 | 986 | Custom create timeout for database cluster is ignored, default 20 min (delete) timeout is used | {
"login": "bery",
"id": 1456931,
"node_id": "MDQ6VXNlcjE0NTY5MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1456931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bery",
"html_url": "https://github.com/bery",
"followers_url": "https://api.github.com/users/bery/followers",
"following_url": "https://api.github.com/users/bery/following{/other_user}",
"gists_url": "https://api.github.com/users/bery/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bery/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bery/subscriptions",
"organizations_url": "https://api.github.com/users/bery/orgs",
"repos_url": "https://api.github.com/users/bery/repos",
"events_url": "https://api.github.com/users/bery/events{/privacy}",
"received_events_url": "https://api.github.com/users/bery/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 | [
"Thanks for flagging this. The fix should be available in the latest release: https://github.com/digitalocean/terraform-provider-digitalocean/releases/tag/v2.28.1"
] | 2023-05-02T13:57:01 | 2023-05-02T21:04:42 | 2023-05-02T20:21:27 | NONE | null | # Bug Report
Custom create timeout is ignored and a default value for delete is used
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
Custom create timeout is ignored and a default value for delete is used
### Affected Resource(s)
- digitalocean_database_cluster
### Expected Behavior
Custom create timeout should be honored
### Actual Behavior
Delete timeout is used
### Steps to Reproduce
```
resource "digitalocean_database_cluster" "database-cluster" {
name = local.instance_name
engine = var.engine
version = var.engine_version
size = var.size
region = var.region
node_count = var.node_count
backup_restore {
database_name = var.backup_restore.database_name
}
timeouts {
create = "3h"
}
}
```
## Additional context
- | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/986/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/986/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/985 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/985/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/985/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/985/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/985 | 1,689,551,625 | PR_kwDOBZHfyM5PcETg | 985 | custom image: use custom create timeout. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-29T12:57:32 | 2023-05-01T14:49:35 | 2023-05-01T14:49:33 | MEMBER | null | Custom images can take a long time to create. There is a hard coded timeout here, but that is actually ignored. The default create timeout for Terraform is 20m. To support anything longer and make it configurable, we need to set a `ResourceTimeout` block in the schema. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/985/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/985/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/985",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/985",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/985.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/985.patch",
"merged_at": "2023-05-01T14:49:33"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/984 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/984/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/984/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/984/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/984 | 1,689,452,976 | I_kwDOBZHfyM5kswGw | 984 | After importing `digitalocean_volume` to TF state, `initial_filesystem_*` attributes triggers recreation | {
"login": "phandox",
"id": 922425,
"node_id": "MDQ6VXNlcjkyMjQyNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/922425?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phandox",
"html_url": "https://github.com/phandox",
"followers_url": "https://api.github.com/users/phandox/followers",
"following_url": "https://api.github.com/users/phandox/following{/other_user}",
"gists_url": "https://api.github.com/users/phandox/gists{/gist_id}",
"starred_url": "https://api.github.com/users/phandox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phandox/subscriptions",
"organizations_url": "https://api.github.com/users/phandox/orgs",
"repos_url": "https://api.github.com/users/phandox/repos",
"events_url": "https://api.github.com/users/phandox/events{/privacy}",
"received_events_url": "https://api.github.com/users/phandox/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
}
] | open | false | null | [] | null | [
"@phandox thanks for reporting this, after investigating the code I found that `initial_filesystem_type` and `initial_filesystem_label` are not set for new resources when reading them [here](https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/digitalocean/volume/resource_volume.go#L224). I wi... | 2023-04-29T08:34:40 | 2023-05-02T18:04:30 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
I had empty state and imported created digitalocean_volume via `terraform import digitalocean_volume.volume <ID>` .
My definition of volume is this:
```terraform
resource "digitalocean_volume" "volume" {
name = var.name
region = var.region
size = var.size
initial_filesystem_type = "ext4"
initial_filesystem_label = var.fs_label
tags = concat(var.tags, [var.env])
}
```
After running Terraform plan, it tries to recreate it, which is something I don't want to do:
```terraform
digitalocean_volume.volume: Refreshing state... [id=fbb475a4-ca1d-11ed-9d7b-0a58ac14d0b2]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# digitalocean_volume.volume must be replaced
-/+ resource "digitalocean_volume" "volume" {
~ droplet_ids = [] -> (known after apply)
~ filesystem_label = "pgsql_prod_data" -> (known after apply)
~ filesystem_type = "ext4" -> (known after apply)
~ id = "<ID of volume>" -> (known after apply)
+ initial_filesystem_label = "pgsql_prod_data" # forces replacement
+ initial_filesystem_type = "ext4" # forces replacement
name = "pgsql-prod-data"
tags = [
"prod",
]
~ urn = "do:volume:<ID of volume>" -> (known after apply)
# (2 unchanged attributes hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
```
`var.fs_label` still contains the same value as before (`pgsql_prod_data`). When I comment the `initial_filesystem_*` attributes, the `terraform plan` reports no changes.
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_droplet
- digitalocean_kubernetes_cluster
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
- `digitalocean_volume`
### Expected Behavior
<!-- What should have happened? -->
Terraform plan should report no changes after import to state on `digitalocean_volume`
### Actual Behavior
<!-- What actually happened? -->
Terraform plan tries to recreated the volume, which is undesirable and causes lost of data in volume
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:-->>
1. Create a volume in Digital Ocean via CLI / UI
2. Import it to Terraform state with `initial_filesystem_*` attributes filled in, reflecting the resource made via console
3. Terraform plan wants to recreate volume.
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
main.tf
```terraform
resource "digitalocean_volume" "volume" {
name = var.name
region = var.region
size = var.size
initial_filesystem_type = "ext4"
initial_filesystem_label = var.fs_label
tags = concat(var.tags, [var.env])
}
output "volume_id" {
value = digitalocean_volume.volume.id
}
```
variables.tf
```terraform
variable "name" {
type = string
description = "Name of network volume"
}
variable "region" {
type = string
default = "fra1"
description = "Region of network volume. Must match droplet"
}
variable "size" {
default = 1
type = number
description = "Volume size in GiB"
}
variable "env" {
type = string
description = "Environment for volume"
}
variable "fs_label" {
default = "example"
type = string
description = "Filesystem label for volume, useful for mounting"
validation {
condition = length(var.fs_label) <= 16
error_message = "Max 16 characters for FS label for ext4 filesystem"
}
}
variable "tags" {
default = []
type = list(string)
description = "Additional tags to be assigned on volume"
}
```
**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. -->
Terraform - v1.3.9
digitalocean provider - v2.26.0
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/984/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/984/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/982 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/982/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/982/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/982/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/982 | 1,682,128,747 | PR_kwDOBZHfyM5PDIlQ | 982 | droplet: Prevent inconsistent plan when enabling IPv6. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-24T22:25:05 | 2023-05-02T20:12:12 | 2023-05-02T20:12:11 | MEMBER | null | When enabling IPv6 on a Droplet, you change the `ipv6` attribute and the `ipv6_address` is recomputed. If another resource (e.g. a `digitalocean_record`) is referencing the blank `ipv6_address` attribute, Terraform will find an "inconsistent plan" as Terraform does not understand that `ipv6_address` will be changing.
This is easy to reproduce, but difficult to model in an acceptance test as it requires a failure state.
Using the below config, create a domain and Droplet. Creating the record will fail with a 422 as `digitalocean_droplet.web.ipv6_address` computes to an empty string.
```hcl
resource "digitalocean_domain" "default" {
name = "some-random-domain.com"
}
resource "digitalocean_record" "www" {
domain = digitalocean_domain.default.id
type = "AAAA"
name = "www"
value = digitalocean_droplet.web.ipv6_address
}
resource "digitalocean_droplet" "web" {
image = "ubuntu-20-04-x64"
name = "web-1"
region = "nyc2"
size = "s-1vcpu-1gb"
# ipv6 = true
}
```
Now uncomment `ipv6` and apply the change. IPv6 will successfully be enabled, but the apply will still fail with the inconsistent plan error like:
```
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for digitalocean_record.www to include new values learned so far during apply, provider
│ "registry.terraform.io/digitalocean/digitalocean" produced an invalid new value for .value: was cty.StringVal(""), but now
│ cty.StringVal("2604:a880:0:1010::3b:8001").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
```
When enabling IPv6, the plan will look like:
```
Terraform will perform the following actions:
# digitalocean_droplet.web will be updated in-place
~ resource "digitalocean_droplet" "web" {
id = "352251537"
~ ipv6 = false -> true
name = "web-1"
tags = []
# (21 unchanged attributes hidden)
}
# digitalocean_record.www will be created
+ resource "digitalocean_record" "www" {
+ domain = "7946645a-e2dc-11ed-88de-bfcbc3f6423e.com"
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "www"
+ ttl = (known after apply)
+ type = "AAAA"
}
Plan: 1 to add, 1 to change, 0 to destroy.
```
Using this branch and following the same steps from the top, enabling IPv6 will work and create the domain record successfully. The plan will look like:
```
Terraform will perform the following actions:
# digitalocean_droplet.web will be updated in-place
~ resource "digitalocean_droplet" "web" {
id = "352250018"
~ ipv6 = false -> true
+ ipv6_address = (known after apply)
name = "web-1"
tags = []
# (21 unchanged attributes hidden)
}
# digitalocean_record.www will be created
+ resource "digitalocean_record" "www" {
+ domain = "7946645a-e2dc-11ed-88de-bfcbc3f6423e.com"
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "www"
+ ttl = (known after apply)
+ type = "AAAA"
+ value = (known after apply)
}
Plan: 1 to add, 1 to change, 0 to destroy.
```
The important difference is `ipv6_address = (known after apply)` which shows that Terraform is able to correctly understand that the dependency for the domain record is changing.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/981 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/982/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/982/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/982",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/982",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/982.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/982.patch",
"merged_at": "2023-05-02T20:12:11"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/981 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/981/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/981/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/981/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/981 | 1,681,947,462 | I_kwDOBZHfyM5kQHtG | 981 | Provider produced inconsistent final plan when running apply for a record with type AAAA pointing to a droplet | {
"login": "Zarickan",
"id": 3790333,
"node_id": "MDQ6VXNlcjM3OTAzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3790333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zarickan",
"html_url": "https://github.com/Zarickan",
"followers_url": "https://api.github.com/users/Zarickan/followers",
"following_url": "https://api.github.com/users/Zarickan/following{/other_user}",
"gists_url": "https://api.github.com/users/Zarickan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zarickan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zarickan/subscriptions",
"organizations_url": "https://api.github.com/users/Zarickan/orgs",
"repos_url": "https://api.github.com/users/Zarickan/repos",
"events_url": "https://api.github.com/users/Zarickan/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zarickan/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 | [
"Thanks for flagging this issue @Zarickan! I've opened a PR that should prevent it in the future."
] | 2023-04-24T20:08:15 | 2023-05-02T20:12:12 | 2023-05-02T20:12:12 | NONE | null | # Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
Initially created a droplet with `ipv6=false` noticed the mistake when terraform apply failed creating a AAAA record pointing to the ipv6 address of the droplet. Changed `ipv6=true` and ran apply again which gave me the following error:
```
Error: Provider produced inconsistent final plan
│
│ When expanding the plan for digitalocean_record.name_of_record to include new values learned so far
│ during apply, provider "registry.terraform.io/digitalocean/digitalocean" produced an invalid new value for
│ .value: was cty.StringVal(""), but now cty.StringVal("2a03:b0c0:2:d0::13cc:d001").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Error assigning resources to default project: Error assigning resources: POST https://api.digitalocean.com/v2/projects/project_guid/resources: 500 (request "0c14e154-2f54-4c5c-ad63-1e49afdde7f2") Server Error
```
### Affected Resource(s)
- digitalocean_record
### Expected Behavior
Record should be created/updated pointing to the ipv6 address of the droplet
### Actual Behavior
Terraform apply failed and the record was not updated
### Steps to Reproduce
0. Define a domain
1. Define a droplet with `ipv6=false`
2. Define a record under the domain with `type="AAAA"` and `value = digitalocean_droplet.droplet_name.ipv6_address`
3. Run `terraform apply` should fail with error since droplet ipv6 will be empty
4. Change droplet to `ipv6=true`
5. Run `terraform apply` again
**Terraform version**
```
Terraform v1.3.7
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.27.1
Your version of Terraform is out of date! The latest version
is 1.4.5. You can update by downloading from https://www.terraform.io/downloads.htm
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/981/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/981/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/980 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/980/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/980/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/980/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/980 | 1,678,655,467 | PR_kwDOBZHfyM5O3o_W | 980 | Prep v2.28.0 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
} | [] | closed | false | null | [] | null | [] | 2023-04-21T14:54:49 | 2023-04-21T15:40:11 | 2023-04-21T15:40:10 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/980/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/980/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/980",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/980",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/980.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/980.patch",
"merged_at": "2023-04-21T15:40:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/979 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/979/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/979/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/979/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/979 | 1,677,037,965 | PR_kwDOBZHfyM5OyNs3 | 979 | records: Handle pagination in data source. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-20T16:20:11 | 2023-04-20T21:07:13 | 2023-04-20T21:07:12 | MEMBER | null | The domain record data source does not handle pagination properly causing any record found on the second page of results to be missed.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/978 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/979/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/979/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/979",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/979",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/979.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/979.patch",
"merged_at": "2023-04-20T21:07:12"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/978 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/978/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/978/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/978/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/978 | 1,676,981,871 | I_kwDOBZHfyM5j9LZv | 978 | digitalocean_record data source issue | {
"login": "rjsocha",
"id": 25088654,
"node_id": "MDQ6VXNlcjI1MDg4NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/25088654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rjsocha",
"html_url": "https://github.com/rjsocha",
"followers_url": "https://api.github.com/users/rjsocha/followers",
"following_url": "https://api.github.com/users/rjsocha/following{/other_user}",
"gists_url": "https://api.github.com/users/rjsocha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rjsocha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjsocha/subscriptions",
"organizations_url": "https://api.github.com/users/rjsocha/orgs",
"repos_url": "https://api.github.com/users/rjsocha/repos",
"events_url": "https://api.github.com/users/rjsocha/events{/privacy}",
"received_events_url": "https://api.github.com/users/rjsocha/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 raising this issue. You suspicion is correct. It looks like domain record data source does not handle pagination properly causing any record found on the second page of results to be missed.\r\n\r\nI've opened a PR to resolve this https://github.com/digitalocean/terraform-provider-digitalocean/pull/9... | 2023-04-20T15:43:12 | 2023-04-20T21:07:13 | 2023-04-20T21:07:13 | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
I'm unable to read dns_record via digitalocean_record data source:
data "digitalocean_record" "example" {
domain = "example.com"
name = "demo"
provider = digitalocean.dns
}
This works for few first records in the zone. But if zone is longer (see debug log) this above code will return "not found"
Tested zone have 46 entries. The RR "demo" is newest one, and is not listed for data source.
Guessing here: data source don't list full zone:
https://docs.digitalocean.com/reference/api/api-reference/#tag/Domain-Records
By default 20 records is returned from API - and (guessing) provider code do not "paginate" over other pages of response.
### Affected Resource(s)
- digitalocean_record
### Expected Behavior
Return RR from zone
### Actual Behavior
│ Error: no records found with name demo
### Steps to Reproduce
- terraform init
- terraform apply
**Terraform version**
- Terraform v1.4.2
- provider registry.terraform.io/digitalocean/digitalocean v2.27.1
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
```
2023-04-20T17:26:40.204+0200 [INFO] provider.terraform-provider-digitalocean_v2.27.1: 2023/04/20 17:26:40 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cache-Control: max-age=0, private, must-revalidate
Cf-Cache-Status: DYNAMIC
Cf-Ray: 7bae682c2d712bd6-FRA
Content-Type: application/json; charset=utf-8
Date: Thu, 20 Apr 2023 15:26:40 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4989
Ratelimit-Reset: 1682007119
Server: cloudflare
X-Gateway: Edge-Gateway
X-Response-From: service
{
"domain_records": [
{
"id": 111111111,
"type": "SOA",
"name": "@",
"data": "1800",
"priority": null,
"port": null,
"ttl": 1800,
"weight": null,
"flags": null,
"tag": null
},
{
"id": 111111111,
"type": "NS",
"name": "@",
"data": "ns1.digitalocean.com",
"priority": null,
"port": null,
"ttl": 1800,
"weight": null,
"flags": null,
"tag": null
},
{
"id": 111111111,
"type": "NS",
"name": "@",
"data": "ns2.digitalocean.com",
"priority": null,
"port": null,
"ttl": 1800,
"weight": null,
"flags": null,
"tag": null
},
{
"id": 111111111,
"type": "A",
"name": "abc1",
"data": "127.0.0.1",
"priority": null,
"port": null,
"ttl": 900,
"weight": null,
"flags": null,
"tag": null
},
{
"id": 111111111,
"type": "A",
"name": "abc2
"data": "127.0.0.1",
"priority": null,
"port": null,
"ttl": 900,
"weight": null,
"flags": null,
"tag": null
},
................. OTHER DNS RR's .....................................
],
"links": {
"pages": {
"last": "https://api.digitalocean.com/v2/domains/example.com/records?page=3&per_page=20",
"next": "https://api.digitalocean.com/v2/domains/example.com/records?page=2&per_page=20"
}
},
"meta": {
"total": 46
}
}
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/978/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/978/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/977 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/977/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/977/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/977/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/977 | 1,675,302,993 | PR_kwDOBZHfyM5OsY54 | 977 | databases: Add support for resizing replicas. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-19T17:09:12 | 2023-04-21T14:36:39 | 2023-04-21T14:36:38 | MEMBER | null | Now that database replicas expose their UUID, we are able to support resizing them.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/902 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/977/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/977/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/977",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/977",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/977.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/977.patch",
"merged_at": "2023-04-21T14:36:38"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/976 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/976/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/976/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/976/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/976 | 1,673,854,430 | PR_kwDOBZHfyM5OniqP | 976 | kubernetes: Require importing additional node pools manually. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-18T21:27:14 | 2023-04-19T12:37:09 | 2023-04-19T12:37:08 | MEMBER | null | This resolves https://github.com/digitalocean/terraform-provider-digitalocean/issues/892 by only importing the default node pool when importing a cluster. Additional pools should now be imported separately as `digitalocean_kubernetes_node_pool` resources.
The old approach of importing multiple resources in one go was fragile, and the upstream Terraform developer documentation has begun to actively discourage it:
> Multiple resource import is generally discouraged due to the implementation/testing complexity and since the resource addresses saved into the Terraform state will likely not align with the operator's configuration.
https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/import#multiple-resource-import
Other providers like AWS' have removed all usage of "complex imports," https://github.com/hashicorp/terraform-provider-aws/issues/13408.
I think this is likely a bug in upstream Terraform. Though this "feature" is not widely used, and they are clearly trying to move away from it. So I believe this is the best approach moving forward.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/892
```
$ make testacc TESTARGS='-run TestAccDigitalOceanKubernetesCluster_Import'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/... -run TestAccDigitalOceanKubernetesCluster_Import -timeout 120m -parallel=2
=== RUN TestAccDigitalOceanKubernetesCluster_ImportBasic
=== PAUSE TestAccDigitalOceanKubernetesCluster_ImportBasic
=== RUN TestAccDigitalOceanKubernetesCluster_ImportErrorNonDefaultNodePool
=== PAUSE TestAccDigitalOceanKubernetesCluster_ImportErrorNonDefaultNodePool
=== RUN TestAccDigitalOceanKubernetesCluster_ImportNonDefaultNodePool
=== PAUSE TestAccDigitalOceanKubernetesCluster_ImportNonDefaultNodePool
=== CONT TestAccDigitalOceanKubernetesCluster_ImportBasic
=== CONT TestAccDigitalOceanKubernetesCluster_ImportErrorNonDefaultNodePool
--- PASS: TestAccDigitalOceanKubernetesCluster_ImportBasic (297.67s)
=== CONT TestAccDigitalOceanKubernetesCluster_ImportNonDefaultNodePool
--- PASS: TestAccDigitalOceanKubernetesCluster_ImportErrorNonDefaultNodePool (476.18s)
--- PASS: TestAccDigitalOceanKubernetesCluster_ImportNonDefaultNodePool (496.43s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes 794.131s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/976/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/976/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/976",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/976",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/976.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/976.patch",
"merged_at": "2023-04-19T12:37:08"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/975 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/975/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/975/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/975/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/975 | 1,673,269,918 | PR_kwDOBZHfyM5Olk14 | 975 | Update Terraform SDK to v2.26.1. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-18T14:35:21 | 2023-04-18T16:36:29 | 2023-04-18T16:36:28 | MEMBER | null | This updates to the latest version of the SDK. Running the full acceptance test suite does not show any new failures.
In particular, this pulls in a bug fix (https://github.com/hashicorp/terraform-plugin-sdk/issues/1089, https://github.com/hashicorp/terraform-plugin-sdk/pull/1077) from [v2.24.1](https://github.com/hashicorp/terraform-plugin-sdk/releases/tag/v2.24.1) that fixes a test failure `TestAccDigitalOceanKubernetesCluster_ImportBasic`
https://github.com/digitalocean/terraform-provider-digitalocean/actions/runs/4722122780/jobs/8376287372#step:4:618 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/975/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/975/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/975",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/975",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/975.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/975.patch",
"merged_at": "2023-04-18T16:36:28"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/974 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/974/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/974/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/974/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/974 | 1,672,002,081 | PR_kwDOBZHfyM5OhWji | 974 | kubernetes: add registry_integration to ImportStateVerifyIgnore | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-17T21:32:51 | 2023-04-17T21:53:14 | 2023-04-17T21:53:13 | MEMBER | null | The API does not have an endpoint to know if `registry_integration` has been set or not for a Kubernetes cluster. So its state can not be imported. This adds it to `ImportStateVerifyIgnore` for `TestAccDigitalOceanKubernetesCluster_ImportBasic`
It also cleans up a golint issue. `s/cluster_uuid/clusterUUID/g`
Fixup for https://github.com/digitalocean/terraform-provider-digitalocean/pull/963
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/974/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/974/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/974",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/974",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/974.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/974.patch",
"merged_at": "2023-04-17T21:53:13"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/973 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/973/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/973/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/973/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/973 | 1,668,370,677 | PR_kwDOBZHfyM5OVUu_ | 973 | docs: Use correct links in Update docs. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-04-14T14:34:40 | 2023-04-14T19:43:17 | 2023-04-14T19:43:16 | MEMBER | null | These are not linking to the canonical location of the API documentation. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/973/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/973/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/973",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/973",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/973.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/973.patch",
"merged_at": "2023-04-14T19:43:16"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/972 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/972/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/972/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/972/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/972 | 1,668,287,121 | PR_kwDOBZHfyM5OVDJu | 972 | Fix inconsistencies in digitalocean_uptime_alert documentation | {
"login": "nicwortel",
"id": 1055691,
"node_id": "MDQ6VXNlcjEwNTU2OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1055691?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicwortel",
"html_url": "https://github.com/nicwortel",
"followers_url": "https://api.github.com/users/nicwortel/followers",
"following_url": "https://api.github.com/users/nicwortel/following{/other_user}",
"gists_url": "https://api.github.com/users/nicwortel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicwortel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicwortel/subscriptions",
"organizations_url": "https://api.github.com/users/nicwortel/orgs",
"repos_url": "https://api.github.com/users/nicwortel/repos",
"events_url": "https://api.github.com/users/nicwortel/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicwortel/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-04-14T13:49:57 | 2023-04-14T14:40:39 | 2023-04-14T14:31:28 | CONTRIBUTOR | null | Hi!
I noticed some inconsistencies in [the documentation of the `digitalocean_uptime_alert` resource](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/uptime_alert). The `type` argument mentions the options `ping`, `http` and `https`, which actually belong to the `digitalocean_uptime_check` resource instead. When diving into the source code I also noticed some other issues in the documentation.
This PR should fix those, and also adds the contents of the `notifications` object to the argument reference. Last but not least I have fixed some formatting issues and a small typo in the example code. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/972/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/972/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/972",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/972",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/972.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/972.patch",
"merged_at": "2023-04-14T14:31:28"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/970 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/970/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/970/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/970/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/970 | 1,658,277,709 | PR_kwDOBZHfyM5Nz-Qn | 970 | databases: Add backup-restore functionality to db create | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-04-07T02:38:50 | 2023-04-19T00:57:12 | 2023-04-19T00:57:11 | MEMBER | null | Addresses #968
Adding API parity of create a new database cluster based on a backup of an existing cluster:
```
resource "digitalocean_database_cluster" "foobar" {
name = "%s"
engine = "pg"
version = "11"
size = "db-s-1vcpu-2gb"
region = "nyc1"
node_count = 1
tags = ["production"]
}
resource "digitalocean_database_cluster" "foobar_backup" {
name = "%s"
engine = "pg"
version = "11"
size = "db-s-1vcpu-2gb"
region = "nyc1"
node_count = 1
tags = ["production"]
backup_restore {
database_name = "%s"
}
depends_on = [
digitalocean_database_cluster.foobar
]
}
```
APICLI-2018 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/970/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/970/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/970",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/970",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/970.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/970.patch",
"merged_at": "2023-04-19T00:57:11"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/969 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/969/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/969/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/969/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/969 | 1,657,995,486 | PR_kwDOBZHfyM5NzFK6 | 969 | datbase replica: Add uuid to data source schema. | {
"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
} | [] | closed | false | null | [] | null | [
"/testacc pkg=digitalocean/database sha=5d8c9b11e938a25d2e56dab07973d1a8fb339eca"
] | 2023-04-06T20:19:13 | 2023-04-06T20:27:05 | 2023-04-06T20:27:04 | MEMBER | null | I noticed a new test failure cause by a panic. The database cluster replica data source calls the resource's `resourceDigitalOceanDatabaseReplicaRead` method. We recently added support for the new replica UUIDs to the resource, so it calls `d.Set("uuid", replica.ID)`. The schema for the replica data source was never updated to include `uuid`. So it panics:
```
panic: Invalid address to set: []string{"uuid"}
goroutine 943 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).Set(0xc0008cd000, {0x1072624, 0x4}, {0xee54a0, 0xc0003e5120})
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource_data.go:230 +0x291
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database.resourceDigitalOceanDatabaseReplicaRead({0xc0008cd000?, 0xc0005ff950?}, 0x44?, {0xf442a0?, 0xc0009aac00?})
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database/resource_database_replica.go:206 +0x26d
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database.dataSourceDigitalOceanDatabaseReplicaRead({0x13272a0, 0xc000623350}, 0x7f81c43cc718?, {0xf442a0, 0xc0009aac00})
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database/datasource_database_replica.go:99 +0x15f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000724700, {0x1327230, 0xc000572280}, 0xc000622ed0?, {0xf442a0, 0xc0009aac00})
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:358 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc000724700, {0x1327230, 0xc000572280}, 0xc0008ccf00, {0xf442a0, 0xc0009aac00})
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource.go:569 +0xf7
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc000b4c960, {0x1327230, 0xc000572280}, 0xc000b842a0)
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/grpc_provider.go:1133 +0x339
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadDataSource(0xc000ac2600, {0x13272d8?, 0xc0006221e0?}, 0xc0005720f0)
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server/server.go:478 +0x338
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1035860?, 0xc000ac2600}, {0x13272d8, 0xc0006221e0}, 0xc000644240, 0x0)
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:416 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0003d6000, {0x132bca0, 0xc00069b200}, 0xc0008c8100, 0xc000389470, 0x1a18610, 0x0)
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/google.golang.org/grpc/server.go:1194 +0xcbe
google.golang.org/grpc.(*Server).handleStream(0xc0003d6000, {0x132bca0, 0xc00069b200}, 0xc0008c8100, 0x0)
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/google.golang.org/grpc/server.go:1517 +0xa36
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/google.golang.org/grpc/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
/home/asb/development/gocode/src/github.com/digitalocean/terraform-provider-digitalocean/vendor/google.golang.org/grpc/server.go:857 +0x28a
FAIL github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 614.951s
```
https://github.com/digitalocean/terraform-provider-digitalocean/actions/runs/4629756218/jobs/8190428550#step:4:272 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/969/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/969/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/969",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/969",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/969.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/969.patch",
"merged_at": "2023-04-06T20:27:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/968 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/968/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/968/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/968/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/968 | 1,645,266,220 | I_kwDOBZHfyM5iEMUs | 968 | Add possibility to use backup_restore for a new database cluster | {
"login": "bery",
"id": 1456931,
"node_id": "MDQ6VXNlcjE0NTY5MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1456931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bery",
"html_url": "https://github.com/bery",
"followers_url": "https://api.github.com/users/bery/followers",
"following_url": "https://api.github.com/users/bery/following{/other_user}",
"gists_url": "https://api.github.com/users/bery/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bery/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bery/subscriptions",
"organizations_url": "https://api.github.com/users/bery/orgs",
"repos_url": "https://api.github.com/users/bery/repos",
"events_url": "https://api.github.com/users/bery/events{/privacy}",
"received_events_url": "https://api.github.com/users/bery/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5326124780,
"node_id": "LA_kwDOBZHfyM8AAAABPXY27A",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/api-parity",
"name": "api-parity",
"color": "65F9AC",
"default": false,
"description": "Feature supported in the DigitalOcean API not yet i... | closed | false | null | [] | null | [
"Hi @bery !\r\n\r\nThank you for the write up! It's funny you bring this up because I actually just added this functionality in another DO tool, [doctl](https://github.com/digitalocean/doctl/pull/1346), so it probably won't be too much of an effort to add it to our Terraform Provider too. I've created a ticket for ... | 2023-03-29T08:17:34 | 2024-03-12T21:17:43 | 2023-04-19T12:43:19 | NONE | null | ### Is your feature request related to a problem? Please describe.
I would like to be able to restore a managed database backup to a new cluster. It's very frustrating to have to create a backup first and then restore it.
### Describe the solution you'd like
Add the possibility to take advantage of DO API https://docs.digitalocean.com/reference/api/api-reference/#operation/databases_create_cluster and backup_restore option
### Describe alternatives you've considered
Switching to AWS
### Additional context
None is needed if its feasible
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/968/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/968/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/967 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/967/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/967/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/967/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/967 | 1,644,138,831 | PR_kwDOBZHfyM5NFD8i | 967 | Add godo's rate limiter configuration & retryable http client #546 | {
"login": "DanielHLelis",
"id": 9197086,
"node_id": "MDQ6VXNlcjkxOTcwODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9197086?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanielHLelis",
"html_url": "https://github.com/DanielHLelis",
"followers_url": "https://api.github.com/users/DanielHLelis/followers",
"following_url": "https://api.github.com/users/DanielHLelis/following{/other_user}",
"gists_url": "https://api.github.com/users/DanielHLelis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DanielHLelis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanielHLelis/subscriptions",
"organizations_url": "https://api.github.com/users/DanielHLelis/orgs",
"repos_url": "https://api.github.com/users/DanielHLelis/repos",
"events_url": "https://api.github.com/users/DanielHLelis/events{/privacy}",
"received_events_url": "https://api.github.com/users/DanielHLelis/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Fixed linting issues: imports at `digitalocean/config/config.go`.",
"Just noticed that I've accidentally commited the built binnary to git. Made a force push to remove it from history. ",
"FYI: I've removed the default rate limit of 4 req/s since it would slow down the plan of smaller projects that don't reach... | 2023-03-28T14:59:15 | 2023-04-11T15:33:55 | 2023-04-11T15:32:36 | CONTRIBUTOR | null | Hello, as showed in the [#546](https://github.com/digitalocean/terraform-provider-digitalocean/issues/546) issue, for medium to large scale projects it is very common to hit the API rate limits, with in some projects it even preventing the execution of Terraform plan at all.
Here I have implementations of two proposed solutions, one implementing a configuration present in the [`digitalocean/godo` client](https://github.com/digitalocean/godo) and other from @tback, as shown in the [#820 PR](https://github.com/digitalocean/terraform-provider-digitalocean/pull/820).
The first one is using the [*Static Rate Limit* from `godo`](https://pkg.go.dev/github.com/digitalocean/godo#SetStaticRateLimit), adding the configuration option to the schema, applying it in the `GodoClient`. I also have set the default value to 4 req/s (240 req/m) which is just under the API's 250 req/m limit.
The second one is configuring `godo` to use the Hashicorp's [`go-retryablehttp`](https://github.com/hashicorp/go-retryablehttp), adding the configuration options to the schema (for max tries, min wait and max wait), with a default max tries of 0 (which keeps the default behaviour of no retries), min wait of 1s (which is the package's default) and max wait of 30s (which is also the package's default). In order to avoid confusion during configuration and keep things simpler, I've set the wait arguments to be floats indicating the time in seconds.
Both solutions are present in separate branches of my fork, [`feature/godo-rate-limiter`](https://github.com/DanielHLelis/terraform-provider-digitalocean-ratelimit/tree/feature/godo-rate-limiter) and [`feature/retryable-http`](https://github.com/DanielHLelis/terraform-provider-digitalocean-ratelimit/tree/feature/retryable-http), with this PR being a merge of both.
Looking foward to help on resolving this issue and open to help on any adjustments. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/967/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/967/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/967",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/967",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/967.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/967.patch",
"merged_at": "2023-04-11T15:32:36"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/965 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/965/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/965/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/965/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/965 | 1,636,162,553 | PR_kwDOBZHfyM5MqevR | 965 | Prep v2.27.1 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
} | [] | closed | false | null | [] | null | [] | 2023-03-22T16:57:57 | 2023-03-22T18:13:57 | 2023-03-22T18:13:56 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/965/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/965/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/965",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/965",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/965.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/965.patch",
"merged_at": "2023-03-22T18:13:56"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/964 | 1,634,088,287 | PR_kwDOBZHfyM5Mji7F | 964 | database replicas: set uuid on read. | {
"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
} | [] | closed | false | null | [] | null | [
"Thanks for fixing this. Any idea when it will be released?",
"@JoeyHoutenbos We'll get a new release cut: https://github.com/digitalocean/terraform-provider-digitalocean/pull/965"
] | 2023-03-21T14:47:11 | 2023-03-22T16:58:30 | 2023-03-21T18:25:22 | MEMBER | null | As pointed out in https://github.com/digitalocean/terraform-provider-digitalocean/issues/878, we've exposed the `uuid` of a database replica, but it is not set during imports. We only set it in the create method. It should be set in the read method as well.
Test change on its own shows the problem:
```
=== CONT TestAccDigitalOceanDatabaseReplica_importBasic
import_database_replica_test.go:23: ImportStateVerify attributes not equivalent. Difference is shown below. Top is actual, bottom is expected.
(map[string]string) {
}
(map[string]string) (len=1) {
(string) (len=4) "uuid": (string) (len=36) "bcb92ee3-5f0b-4b90-8a43-a0350b718396"
}
--- FAIL: TestAccDigitalOceanDatabaseReplica_importBasic (509.30s)
```
Fixed with the code change:
```
=== RUN TestAccDigitalOceanDatabaseReplica_importBasic
=== PAUSE TestAccDigitalOceanDatabaseReplica_importBasic
=== CONT TestAccDigitalOceanDatabaseReplica_importBasic
--- PASS: TestAccDigitalOceanDatabaseReplica_importBasic (601.54s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 601.579s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/964/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/964",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/964",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/964.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/964.patch",
"merged_at": "2023-03-21T18:25:22"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/963 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/963/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/963/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/963/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/963 | 1,632,591,116 | PR_kwDOBZHfyM5Meeyf | 963 | Add registry_integration to Schema | {
"login": "mohsenSy",
"id": 11737155,
"node_id": "MDQ6VXNlcjExNzM3MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/11737155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mohsenSy",
"html_url": "https://github.com/mohsenSy",
"followers_url": "https://api.github.com/users/mohsenSy/followers",
"following_url": "https://api.github.com/users/mohsenSy/following{/other_user}",
"gists_url": "https://api.github.com/users/mohsenSy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mohsenSy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mohsenSy/subscriptions",
"organizations_url": "https://api.github.com/users/mohsenSy/orgs",
"repos_url": "https://api.github.com/users/mohsenSy/repos",
"events_url": "https://api.github.com/users/mohsenSy/events{/privacy}",
"received_events_url": "https://api.github.com/users/mohsenSy/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@andrewsomething could you please have a second look? I added some tests, I hope they are correct. I cannot afford to test them locally"
] | 2023-03-20T17:48:45 | 2023-04-17T15:09:37 | 2023-04-17T15:01:29 | CONTRIBUTOR | null | registry_integration can be true to integrate the kubernetes cluster with container registry, or false to disable this integration If there is no container registry in the team's or user's account then terraform will taint the resource and re-create the clsuter on next apply, it is recommended to make your doks resource depends on the Digital Ocean container registry resource to avoid re-creating the kubernetes cluster | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/963/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/963/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/963",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/963",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/963.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/963.patch",
"merged_at": "2023-04-17T15:01:29"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/962 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/962/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/962/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/962/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/962 | 1,623,662,382 | PR_kwDOBZHfyM5MAhv4 | 962 | Prep v2.27.0 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
} | [] | closed | false | null | [] | null | [] | 2023-03-14T14:59:02 | 2023-03-14T18:13:06 | 2023-03-14T18:13:04 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/962/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/962/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/962",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/962",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/962.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/962.patch",
"merged_at": "2023-03-14T18:13:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/961 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/961/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/961/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/961/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/961 | 1,620,004,726 | PR_kwDOBZHfyM5L0eMl | 961 | fix: typo in resource digitalocean_app | {
"login": "tobiasehlert",
"id": 4417850,
"node_id": "MDQ6VXNlcjQ0MTc4NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4417850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tobiasehlert",
"html_url": "https://github.com/tobiasehlert",
"followers_url": "https://api.github.com/users/tobiasehlert/followers",
"following_url": "https://api.github.com/users/tobiasehlert/following{/other_user}",
"gists_url": "https://api.github.com/users/tobiasehlert/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tobiasehlert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tobiasehlert/subscriptions",
"organizations_url": "https://api.github.com/users/tobiasehlert/orgs",
"repos_url": "https://api.github.com/users/tobiasehlert/repos",
"events_url": "https://api.github.com/users/tobiasehlert/events{/privacy}",
"received_events_url": "https://api.github.com/users/tobiasehlert/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-03-11T13:29:31 | 2023-03-12T00:53:54 | 2023-03-12T00:53:53 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/961/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/961/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/961",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/961",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/961.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/961.patch",
"merged_at": "2023-03-12T00:53:53"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/960 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/960/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/960/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/960/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/960 | 1,612,550,062 | PR_kwDOBZHfyM5Lbazm | 960 | build(deps): bump golang.org/x/crypto from 0.0.0-20210616213533-5ff15b29337e to 0.1.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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
}
] | closed | false | null | [] | null | [] | 2023-03-07T01:48:47 | 2023-03-20T22:19:47 | 2023-03-20T22:19:46 | CONTRIBUTOR | null | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210616213533-5ff15b29337e to 0.1.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/golang/crypto/commits/v0.1.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/960/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/960/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/960",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/960",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/960.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/960.patch",
"merged_at": "2023-03-20T22:19:45"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/959 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/959/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/959/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/959/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/959 | 1,605,607,295 | I_kwDOBZHfyM5fs59_ | 959 | digitalocean_database_cluster: tagged twice | {
"login": "soullivaneuh",
"id": 1698357,
"node_id": "MDQ6VXNlcjE2OTgzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1698357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soullivaneuh",
"html_url": "https://github.com/soullivaneuh",
"followers_url": "https://api.github.com/users/soullivaneuh/followers",
"following_url": "https://api.github.com/users/soullivaneuh/following{/other_user}",
"gists_url": "https://api.github.com/users/soullivaneuh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/soullivaneuh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/soullivaneuh/subscriptions",
"organizations_url": "https://api.github.com/users/soullivaneuh/orgs",
"repos_url": "https://api.github.com/users/soullivaneuh/repos",
"events_url": "https://api.github.com/users/soullivaneuh/events{/privacy}",
"received_events_url": "https://api.github.com/users/soullivaneuh/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... | open | false | null | [] | null | [
"Hi @soullivaneuh,\r\n\r\nThanks for raising this issue. I have been able to reproduce this both using the Terraform provider as well as with a simple cURL request. So the issue seems to be with the DigitalOcean DBaaS API itself rather than the provider. I've flagged this internally with the DBaaS team."
] | 2023-03-01T20:16:31 | 2023-03-08T17:11:39 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
Create the following digitalocean_database_cluster configuration:
```tf
variable "environment" {
type = string
}
resource "digitalocean_vpc" "default" {
name = var.environment
region = "ams3"
}
resource "digitalocean_database_cluster" "mongodb" {
name = "mongo"
engine = "mongodb"
version = "6.0"
size = "db-s-1vcpu-1gb"
region = "ams3"
node_count = 1
private_network_uuid = digitalocean_vpc.default.id
tags = [
var.environment,
]
}
```
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_database_cluster
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
<!-- What should have happened? -->
The created database cluster should have a tag with the name of `var.environment`
### Actual Behavior
<!-- What actually happened? -->
The created database cluster should have a tag with the name of `var.environment`, **but twice**.
<details>

</details>
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**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. -->
```
terraform --version
Terraform v1.3.9
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.26.0
```
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/959/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/959/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/958 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/958/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/958/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/958/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/958 | 1,605,382,329 | PR_kwDOBZHfyM5LDbbg | 958 | Remove .go-version and add to .gitignore | {
"login": "ChiefMateStarbuck",
"id": 23060145,
"node_id": "MDQ6VXNlcjIzMDYwMTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/23060145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChiefMateStarbuck",
"html_url": "https://github.com/ChiefMateStarbuck",
"followers_url": "https://api.github.com/users/ChiefMateStarbuck/followers",
"following_url": "https://api.github.com/users/ChiefMateStarbuck/following{/other_user}",
"gists_url": "https://api.github.com/users/ChiefMateStarbuck/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ChiefMateStarbuck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChiefMateStarbuck/subscriptions",
"organizations_url": "https://api.github.com/users/ChiefMateStarbuck/orgs",
"repos_url": "https://api.github.com/users/ChiefMateStarbuck/repos",
"events_url": "https://api.github.com/users/ChiefMateStarbuck/events{/privacy}",
"received_events_url": "https://api.github.com/users/ChiefMateStarbuck/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-03-01T17:31:22 | 2023-03-08T16:12:56 | 2023-03-08T16:12:55 | MEMBER | null | The `.go-version` file is unnecessary. Removing to reduce clutter. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/958/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/958/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/958",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/958",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/958.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/958.patch",
"merged_at": "2023-03-08T16:12:55"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/957 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/957/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/957/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/957/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/957 | 1,599,500,336 | PR_kwDOBZHfyM5KvxX0 | 957 | build(deps): bump golang.org/x/net from 0.0.0-20220921155015-db77216a4ee9 to 0.7.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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
}
] | closed | false | null | [] | null | [] | 2023-02-25T02:17:46 | 2023-03-20T22:24:05 | 2023-03-20T22:24:04 | CONTRIBUTOR | null | Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220921155015-db77216a4ee9 to 0.7.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/golang/net/commits/v0.7.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/957/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/957/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/957",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/957",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/957.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/957.patch",
"merged_at": "2023-03-20T22:24:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/956 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/956/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/956/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/956/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/956 | 1,596,473,496 | PR_kwDOBZHfyM5KlgDd | 956 | build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"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
}
] | closed | false | null | [] | null | [
"Looks like golang.org/x/text is up-to-date now, so this is no longer needed."
] | 2023-02-23T09:05:58 | 2023-03-20T22:20:25 | 2023-03-20T22:20:23 | CONTRIBUTOR | null | Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/text/commit/434eadcdbc3b0256971992e8c70027278364c72c"><code>434eadc</code></a> language: reject excessively large Accept-Language strings</li>
<li><a href="https://github.com/golang/text/commit/23407e72ed5b895a2dfd230aec777f4fbe026d6a"><code>23407e7</code></a> go.mod: ignore cyclic dependency for tagging</li>
<li><a href="https://github.com/golang/text/commit/b18d3dd8a4b426ebedcf279b593e85ac4985b9d3"><code>b18d3dd</code></a> secure/precis: replace bytes.Compare with bytes.Equal</li>
<li><a href="https://github.com/golang/text/commit/795e854ff348c9cac4fd0033ce04c417705dd0bb"><code>795e854</code></a> all: replace io/ioutil with io and os package</li>
<li><a href="https://github.com/golang/text/commit/b0ca10ff35f1325c7d0ac7830fe3f036bd72d8f9"><code>b0ca10f</code></a> internal/language: bump script types to uint16 and update registry</li>
<li><a href="https://github.com/golang/text/commit/ba9b0e1d4b03523c708709935fbc961124b6967b"><code>ba9b0e1</code></a> go.mod: update x/tools to HEAD</li>
<li><a href="https://github.com/golang/text/commit/d03b41800055b01e3895b1e047af09733c93bf63"><code>d03b418</code></a> A+C: delete AUTHORS and CONTRIBUTORS</li>
<li><a href="https://github.com/golang/text/commit/b4bca84b03619dba00657375259024a7f8ae6712"><code>b4bca84</code></a> language/display: fix Tag method comment</li>
<li><a href="https://github.com/golang/text/commit/ea49e3e2d5b3f1518081d8bc53ffefc8bc60ecec"><code>ea49e3e</code></a> go.mod: update x/tools to HEAD</li>
<li><a href="https://github.com/golang/text/commit/78819d01d041a94e055bbaa2d95e5e4d49e8f8a0"><code>78819d0</code></a> go.mod: update to golang.org/x/text v0.1.10</li>
<li>Additional commits viewable in <a href="https://github.com/golang/text/compare/v0.3.7...v0.3.8">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/956/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/956/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/956",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/956",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/956.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/956.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/955 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/955/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/955/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/955/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/955 | 1,588,294,947 | PR_kwDOBZHfyM5KKanP | 955 | databases: Support project assignment. | {
"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
} | [] | closed | false | null | [] | null | [
"/testacc pkg=digitalocean/database sha=9cf4bfe464c1918e85f906ae43c946cd66f33373\r\n\r\n",
"/testacc pkg=digitalocean/database sha=a9320fa02d73c5abb8c02733d0e5a22d243340cb\r\n\r\n"
] | 2023-02-16T20:06:39 | 2023-02-17T14:10:05 | 2023-02-17T14:10:04 | MEMBER | null | Adds support for specifying a project ID for a database cluster. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/955/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/955/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/955",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/955",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/955.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/955.patch",
"merged_at": "2023-02-17T14:10:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/954 | 1,586,560,639 | I_kwDOBZHfyM5ekP5_ | 954 | Forced replacement of load balancer resource due to change of urn in API response | {
"login": "c-w",
"id": 1086421,
"node_id": "MDQ6VXNlcjEwODY0MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1086421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c-w",
"html_url": "https://github.com/c-w",
"followers_url": "https://api.github.com/users/c-w/followers",
"following_url": "https://api.github.com/users/c-w/following{/other_user}",
"gists_url": "https://api.github.com/users/c-w/gists{/gist_id}",
"starred_url": "https://api.github.com/users/c-w/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/c-w/subscriptions",
"organizations_url": "https://api.github.com/users/c-w/orgs",
"repos_url": "https://api.github.com/users/c-w/repos",
"events_url": "https://api.github.com/users/c-w/events{/privacy}",
"received_events_url": "https://api.github.com/users/c-w/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": 5241933455,
"node_id": "LA_kwDOBZHfyM8AAA... | open | false | null | [] | null | [] | 2023-02-15T21:04:43 | 2023-03-08T17:18:44 | null | NONE | null | # Bug Report
---
## Describe the bug
Running `terraform apply` on a load balancer resource started replacing the load balancer due to the API returning an added URN field.
### Affected Resource(s)
- digitalocean_loadbalancer
### Expected Behavior
I expect that running `terraform apply` multiple times with the same configuration for the load balancer doesn't destroy and re-create the load balancer.
### Actual Behavior
Currently running `terraform apply` with the same terraform script will recreate the load balancer.
### Steps to Reproduce
1. `terraform apply` creates the load balancer
2. `terraform apply` replaces the load balancer due to the added URN field
**Terraform Configuration Files**
```hcl
resource "digitalocean_loadbalancer" "ingress" {
name = var.name
region = local.region
size = local.loadbalancer_size
enable_proxy_protocol = true
forwarding_rule {
entry_port = 443
entry_protocol = "https"
target_port = 80
target_protocol = "http"
certificate_name = data.digitalocean_certificate.wildcard.name
}
forwarding_rule {
entry_port = 80
entry_protocol = "http"
target_port = 80
target_protocol = "http"
}
healthcheck {
port = 80
protocol = "http"
path = "/ping"
}
droplet_tag = digitalocean_tag.allow_http.name
vpc_uuid = digitalocean_vpc.deployment.id
}
```
**Terraform version**
1.3.8
**Debug Output**
```
Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
# digitalocean_loadbalancer.ingress has changed
~ resource "digitalocean_loadbalancer" "ingress" {
id = "5e6eab7b-d026-4ceb-a8da-b5b5dd064c2f"
name = "REDACTED"
+ urn = "do:loadbalancer:5e6eab7b-d026-4ceb-a8da-b5b5dd064c2f"
# (10 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
```
## Additional context
Provider version 2.25.2 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/954/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/953 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/953/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/953/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/953/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/953 | 1,584,929,806 | PR_kwDOBZHfyM5J_EKI | 953 | Fix flaky database acceptance tests. | {
"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
} | [] | closed | false | null | [] | null | [
"/testacc pkg=digitalocean/database sha=5cd408431e266f669df84f02c9790d0de048a3a1",
"/testacc pkg=digitalocean/database sha=dcb49f8df5a443ebd537d253b5b3f180585df504\r\n\r\n",
"/testacc pkg=digitalocean/database sha=8793fadc82748e5c9c3a8f0376c0e21d9022abcc",
"/testacc pkg=digitalocean/database sha=c5761cdae1518... | 2023-02-14T22:36:30 | 2023-02-16T18:57:25 | 2023-02-16T18:57:24 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/953/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/953/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/953",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/953",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/953.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/953.patch",
"merged_at": "2023-02-16T18:57:24"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/952 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/952/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/952/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/952/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/952 | 1,584,898,000 | PR_kwDOBZHfyM5J-9F5 | 952 | Testing Workflow | {
"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
} | [] | closed | false | null | [] | null | [
"/testacc pkg=digitalocean/account sha=87104196be06699521a094bbe5441c462d53433e"
] | 2023-02-14T22:08:43 | 2023-02-14T22:35:50 | 2023-02-14T22:35:50 | MEMBER | null | Ignore me... | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/952/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/952/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/952",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/952",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/952.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/952.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/951 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/951/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/951/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/951/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/951 | 1,584,682,721 | PR_kwDOBZHfyM5J-Ocn | 951 | certificates: Add retry on delete. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-14T19:05:58 | 2023-02-14T19:30:12 | 2023-02-14T19:30:10 | MEMBER | null | Certificates can not be deleted while still attached to a load balancer. When a load balancer is deleted, it can take a moment for the certrifcates API to pick up this change. So this adds a retry for certificate deletes.
This resolves two load balancer test failures:
```
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
=== RUN TestAccDigitalOceanLoadbalancer_sslTermination
=== PAUSE TestAccDigitalOceanLoadbalancer_sslTermination
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
=== CONT TestAccDigitalOceanLoadbalancer_sslTermination
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName (121.28s)
--- PASS: TestAccDigitalOceanLoadbalancer_sslTermination (386.38s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/loadbalancer 387.139s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/951/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/951/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/951",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/951",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/951.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/951.patch",
"merged_at": "2023-02-14T19:30:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/950 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/950/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/950/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/950/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/950 | 1,584,666,447 | I_kwDOBZHfyM5edBdP | 950 | terraform-provider-digitalocean_v2.26.0 plugin getting crashed | {
"login": "Girish-Maddineni",
"id": 113059376,
"node_id": "U_kgDOBr0mMA",
"avatar_url": "https://avatars.githubusercontent.com/u/113059376?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Girish-Maddineni",
"html_url": "https://github.com/Girish-Maddineni",
"followers_url": "https://api.github.com/users/Girish-Maddineni/followers",
"following_url": "https://api.github.com/users/Girish-Maddineni/following{/other_user}",
"gists_url": "https://api.github.com/users/Girish-Maddineni/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Girish-Maddineni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Girish-Maddineni/subscriptions",
"organizations_url": "https://api.github.com/users/Girish-Maddineni/orgs",
"repos_url": "https://api.github.com/users/Girish-Maddineni/repos",
"events_url": "https://api.github.com/users/Girish-Maddineni/events{/privacy}",
"received_events_url": "https://api.github.com/users/Girish-Maddineni/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": 5241933455,
"node_id": "LA_kwDOBZHfyM8AAA... | open | false | null | [] | null | [] | 2023-02-14T18:52:43 | 2023-03-08T17:18:26 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
The Terraform Digitalocean provider plugin is getting crashed during _terraform apply_
### Affected Resource(s) Please list the resources, for example:
- digitalocean_database_cluster
<!-- If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
<!-- it should have deployed the resource sucessfully -->
### Actual Behavior
Plugin did not respond
│
│ with module.redis-digital-ocean.digitalocean_database_cluster.redis_cluster,
│ on ../cluster.tf line 6, in resource "digitalocean_database_cluster" "redis_cluster":
│ 6: resource "digitalocean_database_cluster" "redis_cluster" {
│
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more
│ details.
### Steps to Reproduce
1. `terraform apply`
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
Terraform v1.3.7
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
Stack trace from the terraform-provider-digitalocean_v2.26.0 plugin:
panic: interface conversion: interface {} is nil, not map[string]interface {}
goroutine 54 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.expandMaintWindowOpts(...)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_database_cluster.go:522
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanDatabaseClusterCreate({0x1dce868, 0xc0008a5f80}, 0xc000753100, {0x1a1d100?, 0xc00058eb10})
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_database_cluster.go:275 +0x1037
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0003a97a0, {0x1dce7f8, 0xc0004bd500}, 0x2?, {0x1a1d100, 0xc00058eb10})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/resource.go:341 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003a97a0, {0x1dce7f8, 0xc0004bd500}, 0xc0003cbee0, 0xc000752f80, {0x1a1d100, 0xc00058eb10})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/resource.go:467 +0x705
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00009c0c0, {0x1dce7f8, 0xc0004bd500}, 0xc000844910)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:977 +0xde5
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0000a6280, {0x1dce8a0?, 0xc000877230?}, 0xc00073f650)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:603 +0x2ad
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x1af05a0?, 0xc0000a6280}, {0x1dce8a0, 0xc000877230}, 0xc0008a5860, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000b2540, {0x1dd2e40, 0xc0006de000}, 0xc00017cf00, 0xc0003a2960, 0x23e2640, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xcab
google.golang.org/grpc.(*Server).handleStream(0xc0000b2540, {0x1dd2e40, 0xc0006de000}, 0xc00017cf00, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.32.0/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x28a
Error: The terraform-provider-digitalocean_v2.26.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/950/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/950/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/949 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/949/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/949/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/949/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/949 | 1,584,358,281 | PR_kwDOBZHfyM5J9IJh | 949 | droplet: Fix acceptance testing | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-14T15:22:35 | 2023-02-14T19:34:06 | 2023-02-14T19:34:05 | MEMBER | null | This PR contains a number of fixes and improvements to the Droplet acceptance tests.
- Adds a const for default Droplet size and image in tests so that they can be updated in one place.
- Skip tests a number of tests that were meant to handling cases where Droplet OSes didn't support the Droplet agent (generally container based). Since the removal of Rancher and CoreOS, all supported Droplet OSes can now install the agent. I skipped them rather than deleting them as we may have new container based OSes in the future. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/949/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/949/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/949",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/949",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/949.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/949.patch",
"merged_at": "2023-02-14T19:34:05"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/948 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/948/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/948/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/948/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/948 | 1,583,713,831 | I_kwDOBZHfyM5eZY4n | 948 | Forced replacement of database resource due to change of version in API response | {
"login": "c-w",
"id": 1086421,
"node_id": "MDQ6VXNlcjEwODY0MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1086421?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c-w",
"html_url": "https://github.com/c-w",
"followers_url": "https://api.github.com/users/c-w/followers",
"following_url": "https://api.github.com/users/c-w/following{/other_user}",
"gists_url": "https://api.github.com/users/c-w/gists{/gist_id}",
"starred_url": "https://api.github.com/users/c-w/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/c-w/subscriptions",
"organizations_url": "https://api.github.com/users/c-w/orgs",
"repos_url": "https://api.github.com/users/c-w/repos",
"events_url": "https://api.github.com/users/c-w/events{/privacy}",
"received_events_url": "https://api.github.com/users/c-w/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 | [
"😱\r\n\r\n```hcl\r\nlifecycle {\r\n prevent_destroy = true # 🙏\r\n}\r\n```",
"The fix I went with:\r\n\r\n```hcl\r\nlifecycle {\r\n ignore_changes = [\r\n version,\r\n ]\r\n}\r\n```\r\n\r\nAnyways this should be resolved on the API side as it's very unexpected behavior in my opinion.",
"We are experienc... | 2023-02-14T08:24:09 | 2023-02-14T17:24:36 | 2023-02-14T17:24:35 | NONE | null | # Bug Report
---
## Describe the bug
See below for a minimal example of a terraform script which I use to manage a Postgres database. Up until yesterday, this script worked fine: applying created the database and re-applying it would leave the database alone.
Starting today, re-applying the script forced a replacement of the resource as the API now returns "14.5" for the version number which Terraform interprets as a diff and destroying/re-creating the database (!).
Note that I can't even pin "14.5" as the exact version to protect against this as this leads to an "invalid cluster engine version" error.
### Affected Resource(s)
- digitalocean_database_cluster
### Expected Behavior
I expect that running `terraform apply` without changes to the configuration doesn't modify the database.
### Actual Behavior
Actually running `terraform apply` destroys and re-creates the database.
### Steps to Reproduce
1. `terraform apply`
**Terraform Configuration Files**
```hcl
variable "name" {
type = string
}
locals {
postgres_version = "14"
region = "nyc3"
}
resource "digitalocean_database_cluster" "postgres" {
name = var.name
engine = "pg"
version = local.postgres_version
size = "db-s-1vcpu-2gb"
region = local.region
node_count = 1
private_network_uuid = digitalocean_vpc.postgres.id
}
resource "digitalocean_vpc" "postgres" {
name = var.name
region = local.region
}
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.25.2"
}
}
}
```
**Terraform version**
1.3.8
**Debug Output**
Relevant part from stdout:
```
# digitalocean_database_cluster.postgres must be replaced
-/+ resource "digitalocean_database_cluster" "postgres" {
~ database = "defaultdb" -> (known after apply)
~ host = "REDACTED-do-user-9785225-0.b.db.ondigitalocean.com" -> (known after apply)
~ id = "e7fdb5d1-76f6-408e-985d-b41f62bc191b" -> (known after apply)
name = "REDACTED"
~ password = (sensitive value)
~ port = 25060 -> (known after apply)
~ private_host = "private-REDACTED-do-user-9785225-0.b.db.ondigitalocean.com" -> (known after apply)
~ private_uri = (sensitive value)
- tags = [] -> null
~ uri = (sensitive value)
~ urn = "do:dbaas:e7fdb5d1-76f6-408e-985d-b41f62bc191b" -> (known after apply)
~ user = "doadmin" -> (known after apply)
~ version = "14.5" -> "14" # forces replacement
# (5 unchanged attributes hidden)
}
```
## Additional context
DigitalOcean Provider version: 2.25.2
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/948/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/948/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/947 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/947/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/947/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/947/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/947 | 1,582,631,567 | PR_kwDOBZHfyM5J3V_z | 947 | cdn: Add test sweeper and retry with backoff. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-13T16:05:13 | 2023-02-14T18:12:56 | 2023-02-14T18:12:54 | MEMBER | null | The CDN API seems to have additional rate limiting applied to it that is stricter than the rest of our API. I also experienced some lag in being able to GET a newly created CDN where it would return 404 for the first few attempts. So this adds a retry with backoff for GETing a CDN.
It also adds a test sweeper and fixes a test failure cause due to the type of certificate that was used.
```
$ make testacc PKG_NAME=digitalocean/cdn TESTARGS="-count=1"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/cdn/... -count=1 -timeout 120m -parallel=2
=== RUN TestAccDigitalOceanCDN_Create
=== PAUSE TestAccDigitalOceanCDN_Create
=== RUN TestAccDigitalOceanCDN_Create_with_TTL
=== PAUSE TestAccDigitalOceanCDN_Create_with_TTL
=== RUN TestAccDigitalOceanCDN_Create_and_Update
=== PAUSE TestAccDigitalOceanCDN_Create_and_Update
=== RUN TestAccDigitalOceanCDN_CustomDomain
=== PAUSE TestAccDigitalOceanCDN_CustomDomain
=== CONT TestAccDigitalOceanCDN_Create
=== CONT TestAccDigitalOceanCDN_Create_and_Update
--- PASS: TestAccDigitalOceanCDN_Create (70.86s)
=== CONT TestAccDigitalOceanCDN_CustomDomain
--- PASS: TestAccDigitalOceanCDN_Create_and_Update (88.23s)
=== CONT TestAccDigitalOceanCDN_Create_with_TTL
--- PASS: TestAccDigitalOceanCDN_Create_with_TTL (55.90s)
--- PASS: TestAccDigitalOceanCDN_CustomDomain (89.31s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/cdn 160.184s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/947/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/947/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/947",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/947",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/947.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/947.patch",
"merged_at": "2023-02-14T18:12:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/946 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/946/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/946/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/946/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/946 | 1,581,902,736 | I_kwDOBZHfyM5eSeuQ | 946 | Add trusted sources argument to digitalocean_database_cluster resource | {
"login": "leonvisscher",
"id": 17271164,
"node_id": "MDQ6VXNlcjE3MjcxMTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/17271164?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonvisscher",
"html_url": "https://github.com/leonvisscher",
"followers_url": "https://api.github.com/users/leonvisscher/followers",
"following_url": "https://api.github.com/users/leonvisscher/following{/other_user}",
"gists_url": "https://api.github.com/users/leonvisscher/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leonvisscher/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonvisscher/subscriptions",
"organizations_url": "https://api.github.com/users/leonvisscher/orgs",
"repos_url": "https://api.github.com/users/leonvisscher/repos",
"events_url": "https://api.github.com/users/leonvisscher/events{/privacy}",
"received_events_url": "https://api.github.com/users/leonvisscher/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 | [
"Trusted sources for a database cluster can be managed using the `digitalocean_database_firewall` resource. e.g.\r\n\r\n```hcl\r\nresource \"digitalocean_database_firewall\" \"example-fw\" {\r\n cluster_id = digitalocean_database_cluster.postgres-example.id\r\n\r\n rule {\r\n type = \"ip_addr\"\r\n value =... | 2023-02-13T08:43:36 | 2023-02-13T14:56:44 | 2023-02-13T14:56:44 | NONE | null | ### Is your feature request related to a problem? Please describe.
I am using terraform to fully manage my Digital Ocean infrastructure. The only thing that I am missing is that I cannot define the trusted sources for a digitalocean_database_cluster resource through terraform. I think the only way to do this right now is through the UI:

### Describe the solution you'd like
It would be great if `trusted_sources` gets added as a [digitalocean_database_cluster argument.](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_cluster#argument-reference)
### Describe alternatives you've considered
Add it through UI.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/946/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/946/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/945 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/945/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/945/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/945/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/945 | 1,580,474,380 | PR_kwDOBZHfyM5JwSrC | 945 | Add sweeper and use consistent naming for all Spaces buckets in tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-10T23:18:10 | 2023-02-13T17:46:00 | 2023-02-13T17:45:59 | MEMBER | null | ```
$ make testacc PKG_NAME=digitalocean/spaces TESTARGS="-count=1"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/spaces/... -count=1 -timeout 120m -parallel=10
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_basic
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_basic
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_readableBody
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_readableBody
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_allParams
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_allParams
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_LeadingSlash
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_LeadingSlash
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_MultipleSlashes
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_MultipleSlashes
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObject_RegionError
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObject_RegionError
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObjects_basic
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObjects_basic
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObjects_all
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObjects_all
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObjects_prefixes
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObjects_prefixes
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObjects_encoded
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObjects_encoded
=== RUN TestAccDataSourceDigitalOceanSpacesBucketObjects_maxKeys
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucketObjects_maxKeys
=== RUN TestAccDataSourceDigitalOceanSpacesBucket_Basic
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucket_Basic
=== RUN TestAccDataSourceDigitalOceanSpacesBucket_NotFound
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucket_NotFound
=== RUN TestAccDataSourceDigitalOceanSpacesBucket_RegionError
=== PAUSE TestAccDataSourceDigitalOceanSpacesBucket_RegionError
=== RUN TestAccDataSourceDigitalOceanSpacesBuckets_Basic
=== PAUSE TestAccDataSourceDigitalOceanSpacesBuckets_Basic
=== RUN TestAccDigitalOceanBucketPolicy_importBasic
=== PAUSE TestAccDigitalOceanBucketPolicy_importBasic
=== RUN TestAccDigitalOceanBucket_importBasic
=== PAUSE TestAccDigitalOceanBucket_importBasic
=== RUN TestAccDigitalOceanSpacesBucketObject_noNameNoKey
=== PAUSE TestAccDigitalOceanSpacesBucketObject_noNameNoKey
=== RUN TestAccDigitalOceanSpacesBucketObject_empty
=== PAUSE TestAccDigitalOceanSpacesBucketObject_empty
=== RUN TestAccDigitalOceanSpacesBucketObject_source
=== PAUSE TestAccDigitalOceanSpacesBucketObject_source
=== RUN TestAccDigitalOceanSpacesBucketObject_content
=== PAUSE TestAccDigitalOceanSpacesBucketObject_content
=== RUN TestAccDigitalOceanSpacesBucketObject_contentBase64
=== PAUSE TestAccDigitalOceanSpacesBucketObject_contentBase64
=== RUN TestAccDigitalOceanSpacesBucketObject_withContentCharacteristics
=== PAUSE TestAccDigitalOceanSpacesBucketObject_withContentCharacteristics
=== RUN TestAccDigitalOceanSpacesBucketObject_NonVersioned
=== PAUSE TestAccDigitalOceanSpacesBucketObject_NonVersioned
=== RUN TestAccDigitalOceanSpacesBucketObject_updates
=== PAUSE TestAccDigitalOceanSpacesBucketObject_updates
=== RUN TestAccDigitalOceanSpacesBucketObject_updateSameFile
=== PAUSE TestAccDigitalOceanSpacesBucketObject_updateSameFile
=== RUN TestAccDigitalOceanSpacesBucketObject_updatesWithVersioning
=== PAUSE TestAccDigitalOceanSpacesBucketObject_updatesWithVersioning
=== RUN TestAccDigitalOceanSpacesBucketObject_acl
=== PAUSE TestAccDigitalOceanSpacesBucketObject_acl
=== RUN TestAccDigitalOceanSpacesBucketObject_metadata
=== PAUSE TestAccDigitalOceanSpacesBucketObject_metadata
=== RUN TestAccDigitalOceanSpacesBucketObject_RegionError
=== PAUSE TestAccDigitalOceanSpacesBucketObject_RegionError
=== RUN TestAccDigitalOceanBucketPolicy_basic
=== PAUSE TestAccDigitalOceanBucketPolicy_basic
=== RUN TestAccDigitalOceanBucketPolicy_update
=== PAUSE TestAccDigitalOceanBucketPolicy_update
=== RUN TestAccDigitalOceanBucketPolicy_invalidJson
=== PAUSE TestAccDigitalOceanBucketPolicy_invalidJson
=== RUN TestAccDigitalOceanBucketPolicy_emptyPolicy
=== PAUSE TestAccDigitalOceanBucketPolicy_emptyPolicy
=== RUN TestAccDigitalOceanBucketPolicy_unknownBucket
=== PAUSE TestAccDigitalOceanBucketPolicy_unknownBucket
=== RUN TestAccDigitalOceanBucket_basic
=== PAUSE TestAccDigitalOceanBucket_basic
=== RUN TestAccDigitalOceanBucket_region
=== PAUSE TestAccDigitalOceanBucket_region
=== RUN TestAccDigitalOceanBucket_UpdateAcl
=== PAUSE TestAccDigitalOceanBucket_UpdateAcl
=== RUN TestAccDigitalOceanBucket_UpdateCors
=== PAUSE TestAccDigitalOceanBucket_UpdateCors
=== RUN TestAccDigitalOceanBucket_WithCors
=== PAUSE TestAccDigitalOceanBucket_WithCors
=== RUN TestAccDigitalOceanBucket_WithMultipleCorsRules
=== PAUSE TestAccDigitalOceanBucket_WithMultipleCorsRules
=== RUN TestAccDigitalOceanBucket_shouldFailNotFound
=== PAUSE TestAccDigitalOceanBucket_shouldFailNotFound
=== RUN TestAccDigitalOceanBucket_Versioning
=== PAUSE TestAccDigitalOceanBucket_Versioning
=== RUN TestAccDigitalOceanSpacesBucket_LifecycleBasic
=== PAUSE TestAccDigitalOceanSpacesBucket_LifecycleBasic
=== RUN TestAccDigitalOceanSpacesBucket_LifecycleExpireMarkerOnly
=== PAUSE TestAccDigitalOceanSpacesBucket_LifecycleExpireMarkerOnly
=== RUN TestAccDigitalOceanSpacesBucket_RegionError
=== PAUSE TestAccDigitalOceanSpacesBucket_RegionError
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_basic
=== CONT TestAccDigitalOceanBucketPolicy_emptyPolicy
=== CONT TestAccDataSourceDigitalOceanSpacesBuckets_Basic
=== CONT TestAccDataSourceDigitalOceanSpacesBucket_RegionError
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObjects_all
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObjects_basic
=== CONT TestAccDigitalOceanBucketPolicy_invalidJson
=== CONT TestAccDigitalOceanSpacesBucketObject_noNameNoKey
=== CONT TestAccDigitalOceanBucket_importBasic
=== CONT TestAccDigitalOceanBucketPolicy_importBasic
--- PASS: TestAccDataSourceDigitalOceanSpacesBucket_RegionError (0.96s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_RegionError
--- PASS: TestAccDigitalOceanBucketPolicy_invalidJson (0.99s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_MultipleSlashes
--- PASS: TestAccDigitalOceanSpacesBucketObject_noNameNoKey (1.21s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucket_NotFound
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_RegionError (0.38s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucket_Basic
--- PASS: TestAccDataSourceDigitalOceanSpacesBucket_NotFound (0.48s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_LeadingSlash
--- PASS: TestAccDigitalOceanBucket_importBasic (24.04s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObjects_maxKeys
--- PASS: TestAccDigitalOceanBucketPolicy_emptyPolicy (29.41s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_allParams
--- PASS: TestAccDigitalOceanBucketPolicy_importBasic (31.31s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObjects_encoded
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_basic (31.78s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObject_readableBody
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObjects_basic (31.79s)
=== CONT TestAccDataSourceDigitalOceanSpacesBucketObjects_prefixes
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_MultipleSlashes (31.02s)
=== CONT TestAccDigitalOceanBucketPolicy_update
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObjects_all (32.09s)
=== CONT TestAccDigitalOceanBucketPolicy_basic
--- PASS: TestAccDataSourceDigitalOceanSpacesBucket_Basic (30.92s)
=== CONT TestAccDigitalOceanSpacesBucketObject_RegionError
--- PASS: TestAccDigitalOceanSpacesBucketObject_RegionError (0.18s)
=== CONT TestAccDigitalOceanSpacesBucketObject_metadata
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_LeadingSlash (39.82s)
=== CONT TestAccDigitalOceanSpacesBucketObject_acl
--- PASS: TestAccDataSourceDigitalOceanSpacesBuckets_Basic (42.14s)
=== CONT TestAccDigitalOceanSpacesBucketObject_contentBase64
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObjects_maxKeys (20.37s)
=== CONT TestAccDigitalOceanSpacesBucketObject_content
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_allParams (30.74s)
=== CONT TestAccDigitalOceanSpacesBucketObject_updatesWithVersioning
--- PASS: TestAccDigitalOceanSpacesBucketObject_contentBase64 (18.75s)
=== CONT TestAccDigitalOceanSpacesBucketObject_source
--- PASS: TestAccDigitalOceanBucketPolicy_basic (29.17s)
=== CONT TestAccDigitalOceanSpacesBucketObject_updateSameFile
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObjects_encoded (30.58s)
=== CONT TestAccDigitalOceanSpacesBucketObject_updates
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObject_readableBody (30.29s)
=== CONT TestAccDigitalOceanSpacesBucketObject_empty
--- PASS: TestAccDataSourceDigitalOceanSpacesBucketObjects_prefixes (30.42s)
=== CONT TestAccDigitalOceanSpacesBucketObject_NonVersioned
--- PASS: TestAccDigitalOceanBucketPolicy_update (30.31s)
=== CONT TestAccDigitalOceanSpacesBucketObject_withContentCharacteristics
--- PASS: TestAccDigitalOceanSpacesBucketObject_metadata (31.72s)
=== CONT TestAccDigitalOceanBucket_WithMultipleCorsRules
--- PASS: TestAccDigitalOceanSpacesBucketObject_source (18.86s)
=== CONT TestAccDigitalOceanSpacesBucket_RegionError
--- PASS: TestAccDigitalOceanSpacesBucket_RegionError (0.16s)
=== CONT TestAccDigitalOceanSpacesBucket_LifecycleExpireMarkerOnly
--- PASS: TestAccDigitalOceanSpacesBucketObject_updatesWithVersioning (20.28s)
=== CONT TestAccDigitalOceanSpacesBucket_LifecycleBasic
--- PASS: TestAccDigitalOceanSpacesBucketObject_empty (18.65s)
=== CONT TestAccDigitalOceanBucket_Versioning
--- PASS: TestAccDigitalOceanSpacesBucketObject_NonVersioned (18.59s)
=== CONT TestAccDigitalOceanBucket_shouldFailNotFound
--- PASS: TestAccDigitalOceanSpacesBucketObject_withContentCharacteristics (18.67s)
=== CONT TestAccDigitalOceanBucket_UpdateAcl
--- PASS: TestAccDigitalOceanSpacesBucketObject_content (38.66s)
=== CONT TestAccDigitalOceanBucket_WithCors
--- PASS: TestAccDigitalOceanSpacesBucketObject_acl (41.58s)
=== CONT TestAccDigitalOceanBucket_basic
--- PASS: TestAccDigitalOceanBucket_WithMultipleCorsRules (28.57s)
=== CONT TestAccDigitalOceanBucket_UpdateCors
--- PASS: TestAccDigitalOceanBucket_WithCors (11.10s)
=== CONT TestAccDigitalOceanBucket_region
--- PASS: TestAccDigitalOceanSpacesBucketObject_updateSameFile (40.29s)
=== CONT TestAccDigitalOceanBucketPolicy_unknownBucket
--- PASS: TestAccDigitalOceanBucketPolicy_unknownBucket (0.49s)
--- PASS: TestAccDigitalOceanSpacesBucketObject_updates (40.33s)
--- PASS: TestAccDigitalOceanBucket_shouldFailNotFound (28.04s)
--- PASS: TestAccDigitalOceanBucket_UpdateAcl (29.24s)
--- PASS: TestAccDigitalOceanBucket_UpdateCors (20.10s)
--- PASS: TestAccDigitalOceanBucket_region (21.79s)
--- PASS: TestAccDigitalOceanSpacesBucket_LifecycleExpireMarkerOnly (45.53s)
--- PASS: TestAccDigitalOceanSpacesBucket_LifecycleBasic (47.29s)
--- PASS: TestAccDigitalOceanBucket_Versioning (53.48s)
--- PASS: TestAccDigitalOceanBucket_basic (62.96s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/spaces 146.087s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/945/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/945/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/945",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/945",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/945.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/945.patch",
"merged_at": "2023-02-13T17:45:58"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/944 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/944/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/944/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/944/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/944 | 1,580,240,200 | PR_kwDOBZHfyM5JvfpA | 944 | Add sweeper for uptime and monitoring alerts. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-10T19:53:26 | 2023-02-13T17:35:09 | 2023-02-13T17:35:08 | MEMBER | null | ```
$ make testacc PKG_NAME=digitalocean/monitoring TESTARGS="-count=1"==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/monitoring/... -count=1 -timeout 120m -parallel=10
=== RUN TestAccDigitalOceanMonitorAlert_importBasic
=== PAUSE TestAccDigitalOceanMonitorAlert_importBasic
=== RUN TestAccDigitalOceanMonitorAlert
=== PAUSE TestAccDigitalOceanMonitorAlert
=== RUN TestAccDigitalOceanMonitorAlertSlackEmailAlerts
=== PAUSE TestAccDigitalOceanMonitorAlertSlackEmailAlerts
=== RUN TestAccDigitalOceanMonitorAlertUpdate
=== PAUSE TestAccDigitalOceanMonitorAlertUpdate
=== RUN TestAccDigitalOceanMonitorAlertWithTag
=== PAUSE TestAccDigitalOceanMonitorAlertWithTag
=== CONT TestAccDigitalOceanMonitorAlert_importBasic
=== CONT TestAccDigitalOceanMonitorAlertUpdate
=== CONT TestAccDigitalOceanMonitorAlertWithTag
=== CONT TestAccDigitalOceanMonitorAlertSlackEmailAlerts
=== CONT TestAccDigitalOceanMonitorAlert
--- PASS: TestAccDigitalOceanMonitorAlert (63.01s)
--- PASS: TestAccDigitalOceanMonitorAlertSlackEmailAlerts (63.47s)
--- PASS: TestAccDigitalOceanMonitorAlertWithTag (63.49s)
--- PASS: TestAccDigitalOceanMonitorAlert_importBasic (64.39s)
--- PASS: TestAccDigitalOceanMonitorAlertUpdate (117.08s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/monitoring 117.092s
$ make testacc PKG_NAME=digitalocean/uptime TESTARGS="-count=1"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/uptime/... -count=1 -timeout 120m -parallel=2
=== RUN TestAccDigitalOceanUptimeAlert_Basic
=== PAUSE TestAccDigitalOceanUptimeAlert_Basic
=== RUN TestAccDigitalOceanUptimeCheck_Basic
=== PAUSE TestAccDigitalOceanUptimeCheck_Basic
=== CONT TestAccDigitalOceanUptimeAlert_Basic
=== CONT TestAccDigitalOceanUptimeCheck_Basic
--- PASS: TestAccDigitalOceanUptimeCheck_Basic (4.92s)
--- PASS: TestAccDigitalOceanUptimeAlert_Basic (7.50s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/uptime 7.505s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/944/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/944/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/944",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/944",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/944.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/944.patch",
"merged_at": "2023-02-13T17:35:08"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/943 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/943/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/943/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/943/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/943 | 1,580,172,707 | PR_kwDOBZHfyM5JvRCD | 943 | Add sweeper for projects and add retry for project deletion. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-10T18:56:57 | 2023-02-13T17:09:36 | 2023-02-13T17:09:35 | MEMBER | null | This adds a sweeper for projects. Additionally it adds a retry for project deletion. Projects must be empty to be deleted. We handle reassigning resources to the default project, but this is an async process. Retrying deletion resolves some flaky tests.
```
$ make testacc PKG_NAME=digitalocean/project TESTARGS="-count=1"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/project/... -count=1 -timeout 120m -parallel=2
=== RUN TestAccDataSourceDigitalOceanProject_DefaultProject
=== PAUSE TestAccDataSourceDigitalOceanProject_DefaultProject
=== RUN TestAccDataSourceDigitalOceanProject_NonDefaultProject
=== PAUSE TestAccDataSourceDigitalOceanProject_NonDefaultProject
=== RUN TestAccDataSourceDigitalOceanProjects_Basic
--- PASS: TestAccDataSourceDigitalOceanProjects_Basic (12.35s)
=== RUN TestAccDigitalOceanProject_importBasic
=== PAUSE TestAccDigitalOceanProject_importBasic
=== RUN TestAccDigitalOceanProjectResources_Basic
=== PAUSE TestAccDigitalOceanProjectResources_Basic
=== RUN TestAccDigitalOceanProject_CreateWithDefaults
=== PAUSE TestAccDigitalOceanProject_CreateWithDefaults
=== RUN TestAccDigitalOceanProject_CreateWithIsDefault
=== PAUSE TestAccDigitalOceanProject_CreateWithIsDefault
=== RUN TestAccDigitalOceanProject_CreateWithInitialValues
=== PAUSE TestAccDigitalOceanProject_CreateWithInitialValues
=== RUN TestAccDigitalOceanProject_UpdateWithInitialValues
=== PAUSE TestAccDigitalOceanProject_UpdateWithInitialValues
=== RUN TestAccDigitalOceanProject_CreateWithDropletResource
=== PAUSE TestAccDigitalOceanProject_CreateWithDropletResource
=== RUN TestAccDigitalOceanProject_UpdateWithDropletResource
=== PAUSE TestAccDigitalOceanProject_UpdateWithDropletResource
=== RUN TestAccDigitalOceanProject_UpdateFromDropletToSpacesResource
=== PAUSE TestAccDigitalOceanProject_UpdateFromDropletToSpacesResource
=== RUN TestAccDigitalOceanProject_WithManyResources
=== PAUSE TestAccDigitalOceanProject_WithManyResources
=== CONT TestAccDataSourceDigitalOceanProject_DefaultProject
=== CONT TestAccDigitalOceanProject_CreateWithInitialValues
--- PASS: TestAccDigitalOceanProject_CreateWithInitialValues (2.86s)
=== CONT TestAccDigitalOceanProject_UpdateWithDropletResource
--- PASS: TestAccDataSourceDigitalOceanProject_DefaultProject (5.53s)
=== CONT TestAccDigitalOceanProject_WithManyResources
--- PASS: TestAccDigitalOceanProject_WithManyResources (7.49s)
=== CONT TestAccDigitalOceanProject_UpdateFromDropletToSpacesResource
--- PASS: TestAccDigitalOceanProject_UpdateWithDropletResource (72.90s)
=== CONT TestAccDigitalOceanProjectResources_Basic
--- PASS: TestAccDigitalOceanProject_UpdateFromDropletToSpacesResource (85.99s)
=== CONT TestAccDigitalOceanProject_CreateWithIsDefault
resource_project_test.go:81: Restoring original default project: Terraform Acceptance Testing (5f6d8250-63c9-4310-90ea-f301a8174dcd)
--- PASS: TestAccDigitalOceanProject_CreateWithIsDefault (4.54s)
=== CONT TestAccDigitalOceanProject_CreateWithDefaults
--- PASS: TestAccDigitalOceanProject_CreateWithDefaults (2.45s)
=== CONT TestAccDigitalOceanProject_CreateWithDropletResource
--- PASS: TestAccDigitalOceanProjectResources_Basic (83.61s)
=== CONT TestAccDigitalOceanProject_UpdateWithInitialValues
--- PASS: TestAccDigitalOceanProject_UpdateWithInitialValues (4.37s)
=== CONT TestAccDigitalOceanProject_importBasic
--- PASS: TestAccDigitalOceanProject_importBasic (2.96s)
=== CONT TestAccDataSourceDigitalOceanProject_NonDefaultProject
--- PASS: TestAccDataSourceDigitalOceanProject_NonDefaultProject (5.75s)
--- PASS: TestAccDigitalOceanProject_CreateWithDropletResource (79.13s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/project 197.501s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/943/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/943/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/943",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/943",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/943.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/943.patch",
"merged_at": "2023-02-13T17:09:34"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/942 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/942/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/942/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/942/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/942 | 1,579,957,364 | PR_kwDOBZHfyM5JujVs | 942 | Add sweeper for VPCs. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-10T16:02:39 | 2023-02-10T18:13:15 | 2023-02-10T18:13:14 | MEMBER | null | Straight forward one. Just a sweeper. Already using the correct naming pattern. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/942/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/942/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/942",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/942",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/942.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/942.patch",
"merged_at": "2023-02-10T18:13:14"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/941 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/941/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/941/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/941/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/941 | 1,579,848,351 | PR_kwDOBZHfyM5JuLIL | 941 | Add sweeper for custom images and fix acceptance tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-10T15:08:28 | 2023-02-10T18:08:50 | 2023-02-10T18:08:49 | MEMBER | null | ```
=== RUN TestAccDigitalOceanCustomImageFull
=== PAUSE TestAccDigitalOceanCustomImageFull
=== RUN TestAccDigitalOceanCustomImageMultiRegion
=== PAUSE TestAccDigitalOceanCustomImageMultiRegion
=== CONT TestAccDigitalOceanCustomImageFull
=== CONT TestAccDigitalOceanCustomImageMultiRegion
--- PASS: TestAccDigitalOceanCustomImageFull (430.90s)
--- PASS: TestAccDigitalOceanCustomImageMultiRegion (1114.29s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/image 1114.299s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/941/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/941/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/941",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/941",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/941.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/941.patch",
"merged_at": "2023-02-10T18:08:49"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/940 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/940/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/940/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/940/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/940 | 1,578,747,021 | PR_kwDOBZHfyM5JqdyE | 940 | Add sweeper for SSH keys. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-09T23:06:23 | 2023-02-10T15:27:23 | 2023-02-10T15:27:21 | MEMBER | null | This adds a sweeper for SSH keys. It also removes a custom helper for generating keys for use in tests. The SDK already provides a helper for this that we use elsewhere. There is no need to duplicate that functionality.
```
$ make testacc PKG_NAME=digitalocean/sshkey
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/sshkey/... -timeout 120m -parallel=5
=== RUN TestAccDataSourceDigitalOceanSSHKey_Basic
=== PAUSE TestAccDataSourceDigitalOceanSSHKey_Basic
=== RUN TestAccDataSourceDigitalOceanSSHKeys_Basic
=== PAUSE TestAccDataSourceDigitalOceanSSHKeys_Basic
=== RUN TestAccDigitalOceanSSHKey_importBasic
=== PAUSE TestAccDigitalOceanSSHKey_importBasic
=== RUN TestAccDigitalOceanSSHKey_Basic
=== PAUSE TestAccDigitalOceanSSHKey_Basic
=== CONT TestAccDataSourceDigitalOceanSSHKey_Basic
=== CONT TestAccDigitalOceanSSHKey_importBasic
=== CONT TestAccDigitalOceanSSHKey_Basic
=== CONT TestAccDataSourceDigitalOceanSSHKeys_Basic
--- PASS: TestAccDigitalOceanSSHKey_Basic (1.85s)
--- PASS: TestAccDigitalOceanSSHKey_importBasic (2.15s)
--- PASS: TestAccDataSourceDigitalOceanSSHKey_Basic (3.36s)
--- PASS: TestAccDataSourceDigitalOceanSSHKeys_Basic (5.21s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/sshkey 5.272s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/940/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/940/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/940",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/940",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/940.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/940.patch",
"merged_at": "2023-02-10T15:27:21"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/939 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/939/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/939/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/939/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/939 | 1,578,702,480 | PR_kwDOBZHfyM5JqUAm | 939 | Use consistent naming for all volumes created in tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-09T22:25:37 | 2023-02-10T18:04:59 | 2023-02-10T18:04:57 | MEMBER | null | ```
$ make testacc PKG_NAME=digitalocean/volume ACCTEST_PARALLELISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/volume/... -timeout 120m -parallel=5
=== RUN TestAccDataSourceDigitalOceanVolume_Basic
=== PAUSE TestAccDataSourceDigitalOceanVolume_Basic
=== RUN TestAccDataSourceDigitalOceanVolume_RegionScoped
=== PAUSE TestAccDataSourceDigitalOceanVolume_RegionScoped
=== RUN TestAccDigitalOceanVolume_importBasic
=== PAUSE TestAccDigitalOceanVolume_importBasic
=== RUN TestAccDigitalOceanVolumeAttachment_Basic
=== PAUSE TestAccDigitalOceanVolumeAttachment_Basic
=== RUN TestAccDigitalOceanVolumeAttachment_Update
=== PAUSE TestAccDigitalOceanVolumeAttachment_Update
=== RUN TestAccDigitalOceanVolumeAttachment_UpdateToSecondVolume
=== PAUSE TestAccDigitalOceanVolumeAttachment_UpdateToSecondVolume
=== RUN TestAccDigitalOceanVolumeAttachment_Multiple
=== PAUSE TestAccDigitalOceanVolumeAttachment_Multiple
=== RUN TestAccDigitalOceanVolume_Basic
=== PAUSE TestAccDigitalOceanVolume_Basic
=== RUN TestAccDigitalOceanVolume_Droplet
=== PAUSE TestAccDigitalOceanVolume_Droplet
=== RUN TestAccDigitalOceanVolume_LegacyFilesystemType
=== PAUSE TestAccDigitalOceanVolume_LegacyFilesystemType
=== RUN TestAccDigitalOceanVolume_FilesystemType
=== PAUSE TestAccDigitalOceanVolume_FilesystemType
=== RUN TestAccDigitalOceanVolume_Resize
=== PAUSE TestAccDigitalOceanVolume_Resize
=== RUN TestAccDigitalOceanVolume_CreateFromSnapshot
=== PAUSE TestAccDigitalOceanVolume_CreateFromSnapshot
=== RUN TestAccDigitalOceanVolume_UpdateTags
=== PAUSE TestAccDigitalOceanVolume_UpdateTags
=== CONT TestAccDataSourceDigitalOceanVolume_Basic
=== CONT TestAccDigitalOceanVolume_Basic
=== CONT TestAccDigitalOceanVolume_LegacyFilesystemType
=== CONT TestAccDigitalOceanVolume_Resize
=== CONT TestAccDigitalOceanVolume_UpdateTags
--- PASS: TestAccDigitalOceanVolume_Basic (4.14s)
=== CONT TestAccDigitalOceanVolume_CreateFromSnapshot
--- PASS: TestAccDigitalOceanVolume_LegacyFilesystemType (4.18s)
=== CONT TestAccDigitalOceanVolumeAttachment_Update
--- PASS: TestAccDigitalOceanVolume_UpdateTags (7.33s)
=== CONT TestAccDigitalOceanVolumeAttachment_Multiple
--- PASS: TestAccDataSourceDigitalOceanVolume_Basic (8.00s)
=== CONT TestAccDigitalOceanVolumeAttachment_UpdateToSecondVolume
--- PASS: TestAccDigitalOceanVolume_CreateFromSnapshot (7.91s)
=== CONT TestAccDigitalOceanVolume_Droplet
--- PASS: TestAccDigitalOceanVolume_Droplet (65.11s)
=== CONT TestAccDigitalOceanVolume_importBasic
--- PASS: TestAccDigitalOceanVolume_importBasic (4.53s)
=== CONT TestAccDigitalOceanVolumeAttachment_Basic
--- PASS: TestAccDigitalOceanVolumeAttachment_Multiple (75.46s)
=== CONT TestAccDigitalOceanVolume_FilesystemType
--- PASS: TestAccDigitalOceanVolume_FilesystemType (5.13s)
=== CONT TestAccDataSourceDigitalOceanVolume_RegionScoped
--- PASS: TestAccDigitalOceanVolume_Resize (90.44s)
--- PASS: TestAccDataSourceDigitalOceanVolume_RegionScoped (6.68s)
--- PASS: TestAccDigitalOceanVolumeAttachment_Update (101.85s)
--- PASS: TestAccDigitalOceanVolumeAttachment_UpdateToSecondVolume (101.28s)
--- PASS: TestAccDigitalOceanVolumeAttachment_Basic (74.19s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/volume 155.893s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/939/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/939/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/939",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/939",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/939.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/939.patch",
"merged_at": "2023-02-10T18:04:57"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/938 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/938/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/938/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/938/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/938 | 1,578,595,521 | PR_kwDOBZHfyM5Jp89v | 938 | Use consistent naming for all snapshots created in tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-09T20:48:40 | 2023-02-10T18:00:06 | 2023-02-10T18:00:04 | MEMBER | null |
```
$ make testacc PKG_NAME=digitalocean/snapshot
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/snapshot/... -timeout 120m -parallel=2
=== RUN TestAccDataSourceDigitalOceanDropletSnapshot_basic
=== PAUSE TestAccDataSourceDigitalOceanDropletSnapshot_basic
=== RUN TestAccDataSourceDigitalOceanDropletSnapshot_regex
=== PAUSE TestAccDataSourceDigitalOceanDropletSnapshot_regex
=== RUN TestAccDataSourceDigitalOceanDropletSnapshot_region
=== PAUSE TestAccDataSourceDigitalOceanDropletSnapshot_region
=== RUN TestAccDataSourceDigitalOceanVolumeSnapshot_basic
=== PAUSE TestAccDataSourceDigitalOceanVolumeSnapshot_basic
=== RUN TestAccDataSourceDigitalOceanVolumeSnapshot_regex
=== PAUSE TestAccDataSourceDigitalOceanVolumeSnapshot_regex
=== RUN TestAccDataSourceDigitalOceanVolumeSnapshot_region
=== PAUSE TestAccDataSourceDigitalOceanVolumeSnapshot_region
=== RUN TestAccDigitalOceanDropletSnapshot_importBasic
=== PAUSE TestAccDigitalOceanDropletSnapshot_importBasic
=== RUN TestAccDigitalOceanVolumeSnapshot_importBasic
=== PAUSE TestAccDigitalOceanVolumeSnapshot_importBasic
=== RUN TestAccDigitalOceanDropletSnapshot_Basic
=== PAUSE TestAccDigitalOceanDropletSnapshot_Basic
=== RUN TestAccDigitalOceanVolumeSnapshot_Basic
=== PAUSE TestAccDigitalOceanVolumeSnapshot_Basic
=== RUN TestAccDigitalOceanVolumeSnapshot_UpdateTags
=== PAUSE TestAccDigitalOceanVolumeSnapshot_UpdateTags
=== CONT TestAccDataSourceDigitalOceanDropletSnapshot_basic
=== CONT TestAccDigitalOceanVolumeSnapshot_Basic
--- PASS: TestAccDigitalOceanVolumeSnapshot_Basic (12.57s)
=== CONT TestAccDigitalOceanVolumeSnapshot_UpdateTags
--- PASS: TestAccDigitalOceanVolumeSnapshot_UpdateTags (12.39s)
=== CONT TestAccDataSourceDigitalOceanVolumeSnapshot_region
--- PASS: TestAccDataSourceDigitalOceanVolumeSnapshot_region (53.86s)
=== CONT TestAccDigitalOceanDropletSnapshot_Basic
--- PASS: TestAccDigitalOceanDropletSnapshot_Basic (404.26s)
=== CONT TestAccDigitalOceanVolumeSnapshot_importBasic
--- PASS: TestAccDataSourceDigitalOceanDropletSnapshot_basic (492.13s)
=== CONT TestAccDigitalOceanDropletSnapshot_importBasic
--- PASS: TestAccDigitalOceanVolumeSnapshot_importBasic (10.54s)
=== CONT TestAccDataSourceDigitalOceanVolumeSnapshot_basic
--- PASS: TestAccDataSourceDigitalOceanVolumeSnapshot_basic (35.07s)
=== CONT TestAccDataSourceDigitalOceanVolumeSnapshot_regex
--- PASS: TestAccDataSourceDigitalOceanVolumeSnapshot_regex (29.92s)
=== CONT TestAccDataSourceDigitalOceanDropletSnapshot_region
--- PASS: TestAccDigitalOceanDropletSnapshot_importBasic (175.80s)
=== CONT TestAccDataSourceDigitalOceanDropletSnapshot_regex
--- PASS: TestAccDataSourceDigitalOceanDropletSnapshot_regex (182.53s)
--- PASS: TestAccDataSourceDigitalOceanDropletSnapshot_region (415.14s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/snapshot 973.761s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/938/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/938/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/938",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/938",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/938.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/938.patch",
"merged_at": "2023-02-10T18:00:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/937 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/937/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/937/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/937/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/937 | 1,578,423,451 | PR_kwDOBZHfyM5JpXtl | 937 | Use consistent naming for all load balancers created in tests. | {
"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
} | [] | closed | false | null | [] | null | [] | 2023-02-09T18:52:34 | 2023-02-10T16:07:34 | 2023-02-10T16:07:33 | MEMBER | null | And now for load balancers...
This also fixes a test. Previously load balancers could only be resized once an hour. The initial create counted as a "resize." So the resize test was just checking for the error to validate that we at least sent a proper request. This restriction has been changed to once a minute, so we can now test the complete resize.
```
$ make testacc PKG_NAME=digitalocean/loadbalancer
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/loadbalancer/... -timeout 120m -parallel=2
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_BasicByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_BasicByName
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_BasicById
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_BasicById
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_LargeByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_LargeByName
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_LargeById
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_LargeById
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_Size2ByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_Size2ByName
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_Size2ById
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_Size2ById
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesByName
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesById
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesById
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_tlsCertById
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_tlsCertById
=== RUN TestAccDigitalOceanLoadBalancer_importBasic
=== PAUSE TestAccDigitalOceanLoadBalancer_importBasic
=== RUN TestAccDigitalOceanLoadbalancer_Basic
=== PAUSE TestAccDigitalOceanLoadbalancer_Basic
=== RUN TestAccDigitalOceanLoadbalancer_Updated
=== PAUSE TestAccDigitalOceanLoadbalancer_Updated
=== RUN TestAccDigitalOceanLoadbalancer_dropletTag
=== PAUSE TestAccDigitalOceanLoadbalancer_dropletTag
=== RUN TestAccDigitalOceanLoadbalancer_minimal
=== PAUSE TestAccDigitalOceanLoadbalancer_minimal
=== RUN TestAccDigitalOceanLoadbalancer_NonDefaultProject
=== PAUSE TestAccDigitalOceanLoadbalancer_NonDefaultProject
=== RUN TestAccDigitalOceanLoadbalancer_minimalUDP
=== PAUSE TestAccDigitalOceanLoadbalancer_minimalUDP
=== RUN TestAccDigitalOceanLoadbalancer_stickySessions
=== PAUSE TestAccDigitalOceanLoadbalancer_stickySessions
=== RUN TestAccDigitalOceanLoadbalancer_sslTermination
=== PAUSE TestAccDigitalOceanLoadbalancer_sslTermination
=== RUN TestAccDigitalOceanLoadbalancer_sslCertByName
=== PAUSE TestAccDigitalOceanLoadbalancer_sslCertByName
=== RUN TestAccDigitalOceanLoadbalancer_resize
=== PAUSE TestAccDigitalOceanLoadbalancer_resize
=== RUN TestAccDigitalOceanLoadbalancer_multipleRules
=== PAUSE TestAccDigitalOceanLoadbalancer_multipleRules
=== RUN TestAccDigitalOceanLoadbalancer_WithVPC
=== PAUSE TestAccDigitalOceanLoadbalancer_WithVPC
=== RUN TestAccDigitalOceanLoadbalancer_Firewall
=== PAUSE TestAccDigitalOceanLoadbalancer_Firewall
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_BasicByName
=== CONT TestAccDigitalOceanLoadbalancer_Updated
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_BasicByName (212.33s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesByName
--- PASS: TestAccDigitalOceanLoadbalancer_Updated (250.71s)
=== CONT TestAccDigitalOceanLoadbalancer_Basic
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesByName (125.47s)
=== CONT TestAccDigitalOceanLoadBalancer_importBasic
--- PASS: TestAccDigitalOceanLoadbalancer_Basic (173.63s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_tlsCertById
--- PASS: TestAccDigitalOceanLoadBalancer_importBasic (183.83s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_tlsCertByName (128.87s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesById
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_tlsCertById (297.29s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_LargeById
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_multipleRulesById (124.81s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_Size2ById
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_LargeById (179.13s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_Size2ByName
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_Size2ById (315.46s)
=== CONT TestAccDigitalOceanLoadbalancer_sslTermination
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_Size2ByName (224.14s)
=== CONT TestAccDigitalOceanLoadbalancer_Firewall
--- PASS: TestAccDigitalOceanLoadbalancer_sslTermination (155.52s)
=== CONT TestAccDigitalOceanLoadbalancer_WithVPC
--- PASS: TestAccDigitalOceanLoadbalancer_Firewall (193.41s)
=== CONT TestAccDigitalOceanLoadbalancer_multipleRules
--- PASS: TestAccDigitalOceanLoadbalancer_multipleRules (146.46s)
=== CONT TestAccDigitalOceanLoadbalancer_resize
--- PASS: TestAccDigitalOceanLoadbalancer_WithVPC (228.56s)
=== CONT TestAccDigitalOceanLoadbalancer_sslCertByName
--- PASS: TestAccDigitalOceanLoadbalancer_resize (125.55s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_LargeByName
--- PASS: TestAccDigitalOceanLoadbalancer_sslCertByName (126.26s)
=== CONT TestAccDigitalOceanLoadbalancer_NonDefaultProject
--- PASS: TestAccDigitalOceanLoadbalancer_NonDefaultProject (151.69s)
=== CONT TestAccDigitalOceanLoadbalancer_stickySessions
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_LargeByName (227.66s)
=== CONT TestAccDigitalOceanLoadbalancer_minimalUDP
--- PASS: TestAccDigitalOceanLoadbalancer_stickySessions (211.34s)
=== CONT TestAccDigitalOceanLoadbalancer_minimal
--- PASS: TestAccDigitalOceanLoadbalancer_minimalUDP (201.57s)
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_BasicById
--- PASS: TestAccDigitalOceanLoadbalancer_minimal (191.97s)
=== CONT TestAccDigitalOceanLoadbalancer_dropletTag
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_BasicById (244.37s)
--- PASS: TestAccDigitalOceanLoadbalancer_dropletTag (186.60s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/loadbalancer 2342.976s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/937/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/937/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/937",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/937",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/937.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/937.patch",
"merged_at": "2023-02-10T16:07:33"
} | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.