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/729 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/729/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/729/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/729/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/729 | 1,035,232,601 | I_kwDOBZHfyM49tGVZ | 729 | Cannot create a Let's Encrypt certificate (any longer) | {
"login": "dcoraboeuf",
"id": 1206964,
"node_id": "MDQ6VXNlcjEyMDY5NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1206964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dcoraboeuf",
"html_url": "https://github.com/dcoraboeuf",
"followers_url": "https://api.github.com/users/dcoraboeuf/followers",
"following_url": "https://api.github.com/users/dcoraboeuf/following{/other_user}",
"gists_url": "https://api.github.com/users/dcoraboeuf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dcoraboeuf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dcoraboeuf/subscriptions",
"organizations_url": "https://api.github.com/users/dcoraboeuf/orgs",
"repos_url": "https://api.github.com/users/dcoraboeuf/repos",
"events_url": "https://api.github.com/users/dcoraboeuf/events{/privacy}",
"received_events_url": "https://api.github.com/users/dcoraboeuf/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 | [
"When running the apply run in debug mode, I can see that the request is logged OK:\r\n\r\n```\r\nCertificate Create: &godo.CertificateRequest{Name:\"ontrack-pro-ontrack-staging-nemerosa-net-cert-c26548f431cc0363\", DNSNames:[]string{\"ontrack-staging.nemerosa.net\"}, PrivateKey:\"\", LeafCertificate:\"\", Certific... | 2021-10-25T14:48:53 | 2021-10-27T16:32:22 | 2021-10-27T16:27:25 | NONE | null | # Bug Report
When creating a `lets_encrypt` `digitalocean_certificate` resource using Terraform, the creation of the resource fails with:
```
Error: Error creating Certificate: POST https://api.digitalocean.com/v2/certificates: 503 Failed to forward the request you made, please try again.
```
When I create the same certificate using Curl and the DO API:
```
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
-d '{"name": "test", "type": "letsencrypt", "domains":["test.nemerosa.net"]}' \
"https://api.digitalocean.com/v2/certificates"
```
it works like a charm.
Note: it was working fine until Friday, October 22 and then the error above started to appear.
### Affected Resource(s)
`digitalocean_certificate`
### Expected Behavior
The certificate is created.
### Actual Behavior
Resource creation failing with:
```
Error: Error creating Certificate: POST https://api.digitalocean.com/v2/certificates: 503 Failed to forward the request you made, please try again.
```
### Steps to Reproduce
**Terraform Configuration Files**
```
terraform {
required_version = "~> 1.0.0"
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.14.0"
}
}
}
variable "do_token" {
type = string
sensitive = true
}
provider "digitalocean" {
token = var.do_token
}
resource "digitalocean_certificate" "ontrack-lb-cert" {
name = "test"
type = "lets_encrypt"
domains = [
"test.nemerosa.net"
]
lifecycle {
create_before_destroy = true
}
}
```
Using Terraform 1.0.9
When run locally, no issue, failing with 503 when running with Terraform Cloud
**Debug Output**
https://gist.github.com/dcoraboeuf/88249affa94b52ca7b57e68274e4fb78
## Additional context
**Important Factoids**
Failing when using the Terraform code in Terraform Cloud.
When looking at the debug logs, I see that `dns_names` is set to an empty array whereas I give a list of `domains`. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/729/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/729/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/728 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/728/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/728/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/728/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/728 | 1,034,288,940 | I_kwDOBZHfyM49pf8s | 728 | Postgres database creation flakily fails with 404 | {
"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 | [
"Here's another session with the same behavior:\r\n\r\n```\r\ndigitalocean_database_cluster.redis: Creating...\r\ndigitalocean_database_cluster.postgres: Creating...\r\ndigitalocean_droplet.vm: Creating...\r\ndigitalocean_spaces_bucket.s3: Creating...\r\ndigitalocean_database_cluster.redis: Still creating... [10s e... | 2021-10-24T00:08:05 | 2022-01-03T16:30:04 | 2022-01-03T16:30:03 | NONE | null | # Bug Report
## Describe the bug
There seems to be some flakiness when creating a database cluster: the resource spins up fine, but Terraform sometimes errors as a request to get the status of the database cluster fails with a 404. If I add an explicit `depends_on` to artificially delay the creation of some of the resources, Terraform succeeds more often.
### Affected Resource(s)
- digitalocean_database_cluster
### Expected Behavior
Terraform runs successfully and exits with code 0 consistently.
### Actual Behavior
Terraform fails occasionally.
### Steps to Reproduce
1. Run `terraform apply`
2. Observe log output and crash:
```
digitalocean_spaces_bucket.s3: Creating...
digitalocean_loadbalancer.ingress: Creating...
digitalocean_database_cluster.postgres: Creating...
digitalocean_droplet.vm: Creating...
digitalocean_spaces_bucket.s3: Still creating... [10s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [10s elapsed]
digitalocean_database_cluster.postgres: Still creating... [10s elapsed]
digitalocean_droplet.vm: Still creating... [10s elapsed]
digitalocean_spaces_bucket.s3: Still creating... [20s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [20s elapsed]
digitalocean_droplet.vm: Still creating... [20s elapsed]
digitalocean_droplet.vm: Creation complete after 23s [id=270186882]
digitalocean_spaces_bucket.s3: Creation complete after 29s [id=<redacted>]
digitalocean_loadbalancer.ingress: Still creating... [30s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [40s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [50s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [1m0s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [1m10s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [1m20s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [1m30s elapsed]
digitalocean_loadbalancer.ingress: Still creating... [1m40s elapsed]
digitalocean_loadbalancer.ingress: Creation complete after 1m43s [id=5274591c-bb77-4302-9364-7e2024e515d3]
cloudflare_record.frontend: Creating...
cloudflare_record.backend: Creating...
cloudflare_record.frontend: Creation complete after 1s [id=3bb2d3de52ffac9f2bbfe2bf2f9cb21a]
cloudflare_record.backend: Creation complete after 1s [id=a9b83ee9d86bc4a10f58b9b6e5e5fe7d]
╷
│ Error: Error creating database cluster: Error trying to read database cluster state: GET https://api.digitalocean.com/v2/databases/fdfd4602-9601-4541-9c8f-c0c8109a5bec: 404 (request "bc8a92cd-6df0-4f92-8dad-3f3208a958de") cluster not found
│
│ with digitalocean_database_cluster.postgres,
│ on resources.tf line 80, in resource "digitalocean_database_cluster" "postgres":
│ 80: resource "digitalocean_database_cluster" "postgres" {
│
╵
```
**Terraform Configuration Files**
[files.zip](https://drive.google.com/file/d/1StClJrzpPJdqJYklwGIdLJVL7bcZU6yr/view?usp=sharing)
**Terraform version**
```
Terraform v1.0.9
on linux_amd64
+ provider registry.terraform.io/cloudflare/cloudflare v2.27.0
+ provider registry.terraform.io/digitalocean/digitalocean v2.14.0
```
**Debug Output**
I don't have a logfile as I can't consistently reproduce this issue running locally. However, it did happen multiple times on my Github Actions CI runs and the commonality is that the logs only ever contain a single line for `digitalocean_database_cluster.postgres: Still creating... [10s elapsed]` before the crash. If I get a second line like `digitalocean_database_cluster.postgres: Still creating... [20s elapsed]` the run will be successful, but occasionally another resource will "steal the spotlight" and log multiple lines in a row (like the load balancer in the example log output I provided above) and then the database creation fails. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/728/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/728/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/727 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/727/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/727/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/727/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/727 | 1,034,272,702 | I_kwDOBZHfyM49pb-- | 727 | Deleting doks PAT is not detected by provider | {
"login": "dmikalova",
"id": 324548,
"node_id": "MDQ6VXNlcjMyNDU0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/324548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmikalova",
"html_url": "https://github.com/dmikalova",
"followers_url": "https://api.github.com/users/dmikalova/followers",
"following_url": "https://api.github.com/users/dmikalova/following{/other_user}",
"gists_url": "https://api.github.com/users/dmikalova/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dmikalova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmikalova/subscriptions",
"organizations_url": "https://api.github.com/users/dmikalova/orgs",
"repos_url": "https://api.github.com/users/dmikalova/repos",
"events_url": "https://api.github.com/users/dmikalova/events{/privacy}",
"received_events_url": "https://api.github.com/users/dmikalova/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 | [
"Confirm! I got my PAT deleted yesterday, replaced it in provider config, but doks token do not renewed in state so all my attempts to use `kubernetes` provider lead to `Unauthorized` errors. Same for `helm` provider - `Kubernetes cluster unreachable: the server has asked for the client to provide credentials`.\r\n... | 2021-10-23T22:02:01 | 2024-03-27T11:07:42 | 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 cleaned out [my PATs](https://cloud.digitalocean.com/account/api/tokens) including the ones generated by doks. When rerunning terraform plan and apply, this is not noticed by the provider, so the kube_config output does not update.
### 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_kubernetes_cluster
### Expected Behavior
<!-- What should have happened? -->
After deleting the PAT that is output in kube_config, and then rerunning plan, the provider should notice that the PAT is gone and plan to generate a new one.
### Actual Behavior
<!-- What actually happened? -->
The PAT is not regenerated, and the old kube_config persists. Other modules using terraform_remote_state will get unauthorized errors. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/727/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/727/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/726 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/726/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/726/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/726/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/726 | 1,034,066,430 | I_kwDOBZHfyM49opn- | 726 | Destroying digitalocean_container_registry_docker_credentials does not delete API token in DO | {
"login": "dmikalova",
"id": 324548,
"node_id": "MDQ6VXNlcjMyNDU0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/324548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmikalova",
"html_url": "https://github.com/dmikalova",
"followers_url": "https://api.github.com/users/dmikalova/followers",
"following_url": "https://api.github.com/users/dmikalova/following{/other_user}",
"gists_url": "https://api.github.com/users/dmikalova/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dmikalova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dmikalova/subscriptions",
"organizations_url": "https://api.github.com/users/dmikalova/orgs",
"repos_url": "https://api.github.com/users/dmikalova/repos",
"events_url": "https://api.github.com/users/dmikalova/events{/privacy}",
"received_events_url": "https://api.github.com/users/dmikalova/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 | [] | 2021-10-23T04:39:26 | 2021-11-01T16:12:04 | 2021-11-01T16:12:04 | 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. -->
Creating an API token with the resource `digitalocean_container_registry_docker_credentials`, and then destroying that resource does not delete the API token.
### 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_container_registry_docker_credentials
### Expected Behavior
<!-- What should have happened? -->
When destroying the resource the token should be deleted from DO
### Actual Behavior
<!-- What actually happened? -->
The token remains in place.
### 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.-->
```
resource "digitalocean_container_registry_docker_credentials" "main" {
registry_name = var.container_registry_info.name
}
```
run `terraform apply; terraform destroy`, and then check your [API tokens](https://cloud.digitalocean.com/account/api/tokens?i=5437be).
### Version
```
Terraform v1.0.9
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.14.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.6.1
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/726/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/726/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/725 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/725/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/725/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/725/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/725 | 1,032,951,218 | PR_kwDOBZHfyM4thKfW | 725 | APICLI-900: update k8s HA test to check for endpoint attr | {
"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 | [
"Probably worth a mention in the docs https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/docs/resources/kubernetes_cluster.md#attributes-reference",
"> Probably worth a mention in the docs https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/docs/resources/kubernetes_cl... | 2021-10-21T21:19:40 | 2021-10-22T13:17:16 | 2021-10-22T13:17:16 | MEMBER | null | For clusters created with HA enabled on K8S v1.21, it looks like an Endpoint is set, but the IPv4 will not be set. The docs should be updated to reflect this, and the HA test case in Terraform should probably be updated to check for this as well. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/725/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/725/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/725",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/725",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/725.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/725.patch",
"merged_at": "2021-10-22T13:17:16"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/724 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/724/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/724/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/724/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/724 | 1,029,304,712 | PR_kwDOBZHfyM4tVjHc | 724 | Fixes an invalid droplet size in some acceptance tests | {
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://api.github.com/users/scotchneat/followers",
"following_url": "https://api.github.com/users/scotchneat/following{/other_user}",
"gists_url": "https://api.github.com/users/scotchneat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/scotchneat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scotchneat/subscriptions",
"organizations_url": "https://api.github.com/users/scotchneat/orgs",
"repos_url": "https://api.github.com/users/scotchneat/repos",
"events_url": "https://api.github.com/users/scotchneat/events{/privacy}",
"received_events_url": "https://api.github.com/users/scotchneat/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-10-18T15:55:00 | 2021-10-18T15:57:36 | 2021-10-18T15:57:33 | CONTRIBUTOR | null | Also adds an attribute to ignore in an import test. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/724/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/724/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/724",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/724",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/724.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/724.patch",
"merged_at": "2021-10-18T15:57:33"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/723 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/723/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/723/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/723/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/723 | 1,027,848,722 | PR_kwDOBZHfyM4tRVJz | 723 | load balancers: Support disabling automatic DNS records. | {
"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 | [] | 2021-10-15T21:55:34 | 2021-10-18T14:09:41 | 2021-10-18T14:09:37 | MEMBER | null | The DO API now [supports disabling automatic DNS record creation](https://docs.digitalocean.com/release-notes/#october-12) for load balancers using Let's Encrypt certificates.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/456 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/723/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/723/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/723",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/723",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/723.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/723.patch",
"merged_at": "2021-10-18T14:09:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/722 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/722/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/722/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/722/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/722 | 1,025,666,962 | PR_kwDOBZHfyM4tKlFX | 722 | WIP AppSpec Alerts | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@andrewsomething @danaelhe I'm still interested in getting this finished. I've been somewhat business with other things, but I have a bit of free time to get some progress into this PR. Basically, it's this issue #683 As mentioned, there's not really much documentation in the API pages. But it's supported through ... | 2021-10-13T20:27:31 | 2022-02-26T07:03:00 | 2022-02-25T23:35:36 | CONTRIBUTOR | null | I don't find the documentation for the alerts under https://docs.digitalocean.com/reference/api/api-reference/#operation/create_app
It's quite unfinished, and needs more work before I'll ask for a review or assistance! | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/722/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/722/timeline | null | null | true | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/722",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/722",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/722.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/722.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/721 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/721/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/721/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/721/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/721 | 1,020,484,976 | PR_kwDOBZHfyM4s6lEU | 721 | Prep release 2.14.0 | {
"login": "bentranter",
"id": 5421627,
"node_id": "MDQ6VXNlcjU0MjE2Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5421627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bentranter",
"html_url": "https://github.com/bentranter",
"followers_url": "https://api.github.com/users/bentranter/followers",
"following_url": "https://api.github.com/users/bentranter/following{/other_user}",
"gists_url": "https://api.github.com/users/bentranter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bentranter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bentranter/subscriptions",
"organizations_url": "https://api.github.com/users/bentranter/orgs",
"repos_url": "https://api.github.com/users/bentranter/repos",
"events_url": "https://api.github.com/users/bentranter/events{/privacy}",
"received_events_url": "https://api.github.com/users/bentranter/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-10-07T21:38:55 | 2021-10-07T22:15:50 | 2021-10-07T22:15:17 | MEMBER | null | Prepares to release 2.14.0. Includes release notes for 2.13.0. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/721/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/721/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/721",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/721",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/721.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/721.patch",
"merged_at": "2021-10-07T22:15:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/720 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/720/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/720/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/720/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/720 | 1,020,468,759 | PR_kwDOBZHfyM4s6hzv | 720 | Prep v2.13.0 release | {
"login": "bentranter",
"id": 5421627,
"node_id": "MDQ6VXNlcjU0MjE2Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5421627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bentranter",
"html_url": "https://github.com/bentranter",
"followers_url": "https://api.github.com/users/bentranter/followers",
"following_url": "https://api.github.com/users/bentranter/following{/other_user}",
"gists_url": "https://api.github.com/users/bentranter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bentranter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bentranter/subscriptions",
"organizations_url": "https://api.github.com/users/bentranter/orgs",
"repos_url": "https://api.github.com/users/bentranter/repos",
"events_url": "https://api.github.com/users/bentranter/events{/privacy}",
"received_events_url": "https://api.github.com/users/bentranter/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Closing and re-opening from a branch with an accurate name"
] | 2021-10-07T21:14:33 | 2021-10-07T21:37:29 | 2021-10-07T21:37:22 | MEMBER | null | Prepares for the `v2.13.0` release. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/720/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/720/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/720",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/720",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/720.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/720.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/719 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/719/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/719/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/719/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/719 | 1,019,218,559 | PR_kwDOBZHfyM4s2d9K | 719 | Shutdown droplet | {
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://api.github.com/users/scotchneat/followers",
"following_url": "https://api.github.com/users/scotchneat/following{/other_user}",
"gists_url": "https://api.github.com/users/scotchneat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/scotchneat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scotchneat/subscriptions",
"organizations_url": "https://api.github.com/users/scotchneat/orgs",
"repos_url": "https://api.github.com/users/scotchneat/repos",
"events_url": "https://api.github.com/users/scotchneat/events{/privacy}",
"received_events_url": "https://api.github.com/users/scotchneat/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Would be great to get a line added to the docs for this too https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/docs/resources/droplet.md#argument-reference"
] | 2021-10-06T20:59:50 | 2021-10-06T21:57:10 | 2021-10-06T21:57:03 | CONTRIBUTOR | null | Submitting this PR to get @gouyelliot 's changes from #658 merged with some extra fixes to an affected test.
From their PR:
> Currently, the provider directly delete the droplet on a destroy or replace operation, which might result in a loss of data in some our apps.
>
>I've added a simple param allowing to gracefully shutting down the droplet before deleting it. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/719/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/719/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/719",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/719",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/719.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/719.patch",
"merged_at": "2021-10-06T21:57:03"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/718 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/718/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/718/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/718/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/718 | 1,019,121,165 | PR_kwDOBZHfyM4s2Hpx | 718 | Add HA support to digitalocean_kubernetes_cluster | {
"login": "bentranter",
"id": 5421627,
"node_id": "MDQ6VXNlcjU0MjE2Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5421627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bentranter",
"html_url": "https://github.com/bentranter",
"followers_url": "https://api.github.com/users/bentranter/followers",
"following_url": "https://api.github.com/users/bentranter/following{/other_user}",
"gists_url": "https://api.github.com/users/bentranter/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bentranter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bentranter/subscriptions",
"organizations_url": "https://api.github.com/users/bentranter/orgs",
"repos_url": "https://api.github.com/users/bentranter/repos",
"events_url": "https://api.github.com/users/bentranter/events{/privacy}",
"received_events_url": "https://api.github.com/users/bentranter/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi 👋🏻 Is there somewhere I can read about this feature?",
"@46bit Hi, yes, we have a release announcement here https://www.digitalocean.com/blog/new-control-plane-digitalocean-managed-kubernetes/. "
] | 2021-10-06T20:05:56 | 2021-10-12T11:57:14 | 2021-10-07T20:51:22 | MEMBER | null | Adds support for the `ha` boolean attribute when creating Kubernetes clusters.
Also bumps the version of godo to the latest release. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/718/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/718/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/718",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/718",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/718.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/718.patch",
"merged_at": "2021-10-07T20:51:22"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/717 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/717/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/717/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/717/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/717 | 1,015,693,232 | PR_kwDOBZHfyM4sqkZw | 717 | Add digitalocean_database_ca 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 | [] | 2021-10-04T22:28:23 | 2021-10-05T13:58:03 | 2021-10-05T13:58:00 | MEMBER | null | This PR adds a data source for retrieving the CA certificate for a database cluster.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/388 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/717/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/717/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/717",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/717",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/717.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/717.patch",
"merged_at": "2021-10-05T13:58:00"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/716 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/716/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/716/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/716/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/716 | 1,014,471,791 | PR_kwDOBZHfyM4smzbo | 716 | Fix tag collection in digitalocean_tags data source | {
"login": "benwebber",
"id": 358027,
"node_id": "MDQ6VXNlcjM1ODAyNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/358027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/benwebber",
"html_url": "https://github.com/benwebber",
"followers_url": "https://api.github.com/users/benwebber/followers",
"following_url": "https://api.github.com/users/benwebber/following{/other_user}",
"gists_url": "https://api.github.com/users/benwebber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/benwebber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benwebber/subscriptions",
"organizations_url": "https://api.github.com/users/benwebber/orgs",
"repos_url": "https://api.github.com/users/benwebber/repos",
"events_url": "https://api.github.com/users/benwebber/events{/privacy}",
"received_events_url": "https://api.github.com/users/benwebber/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hey, @benwebber - Thanks a ton for this sweet PR! 😄\r\n\r\nWould you please shoot me an email when you get a chance?\r\nmcowley at digitalocean dot com 🎉"
] | 2021-10-03T17:40:42 | 2021-10-05T13:20:02 | 2021-10-04T14:46:52 | CONTRIBUTOR | null | Fixes a regression introduced in 35e97db3 (2.11.0). Previously, any use of `digitalocean_tags` would fail with an interface conversion error:
```
Stack trace from the terraform-provider-digitalocean_v2.12.1 plugin:
panic: interface conversion: interface {} is []godo.Tag, not godo.Tag
goroutine 27 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.flattenDigitalOceanTag(0xef8d80, 0xc000522f18, 0xf67880, 0xc00059ae40, 0xc000827aa0, 0x1, 0x0, 0x0)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/datasource_digitalocean_tags.go:79 +0x458
github.com/digitalocean/terraform-provider-digitalocean/internal/datalist.dataListResourceRead.func1(0x1242f78, 0xc000140d80, 0xc00019d200, 0xf67880, 0xc00059ae40, 0xc000762ab0, 0xc0003a5
948, 0x40e0f8)
github.com/digitalocean/terraform-provider-digitalocean/internal/datalist/schema.go:95 +0x3a3
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0001c88c0, 0x1242f08, 0xc0004ac480, 0xc00019d200, 0xf67880, 0xc00059ae40, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:347 +0x17f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ReadDataApply(0xc0001c88c0, 0x1242f08, 0xc0004ac480, 0xc0004ae460, 0xf67880, 0xc00059ae40, 0xc00059ae40, 0xc0004ae46
0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:558 +0xfd
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadDataSource(0xc00000c030, 0x1242f08, 0xc0004ac480, 0xc0004ae340, 0xc0004ac480, 0x40b965, 0x100ea00)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:1105 +0x4d6
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadDataSource(0xc00071d3a0, 0x1242fb0, 0xc0004ac480, 0xc000145040, 0xc00071d3a0, 0xc000826ff0, 0xc0004c0ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:247 +0xe5
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadDataSource_Handler(0x10508e0, 0xc00071d3a0, 0x1242fb0, 0xc000826ff0, 0xc000140720, 0x0, 0x1242fb0, 0xc0
00826ff0, 0xc00082a0c0, 0x35)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:416 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000a6380, 0x124c7b8, 0xc000103980, 0xc00063a300, 0xc00061e570, 0x17e2bf0, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0000a6380, 0x124c7b8, 0xc000103980, 0xc00063a300, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00049e1c0, 0xc0000a6380, 0x124c7b8, 0xc000103980, 0xc00063a300)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/716/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/716/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/716",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/716",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/716.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/716.patch",
"merged_at": "2021-10-04T14:46:52"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/715 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/715/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/715/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/715/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/715 | 1,013,385,574 | PR_kwDOBZHfyM4skCnQ | 715 | Prep v2.12.1 bugfix 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 | [] | 2021-10-01T14:01:46 | 2021-10-01T19:42:58 | 2021-10-01T19:42:54 | MEMBER | null | It's a bit annoying that the live docs can't be updated without cutting a release. Since this has tripped up a few people now, it's worth doing. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/715/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/715/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/715",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/715",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/715.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/715.patch",
"merged_at": "2021-10-01T19:42:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/714 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/714/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/714/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/714/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/714 | 1,013,150,196 | I_kwDOBZHfyM48Y3H0 | 714 | Wrong basic example for digitalocean_monitor_alert resource | {
"login": "lostintime",
"id": 722841,
"node_id": "MDQ6VXNlcjcyMjg0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/722841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lostintime",
"html_url": "https://github.com/lostintime",
"followers_url": "https://api.github.com/users/lostintime/followers",
"following_url": "https://api.github.com/users/lostintime/following{/other_user}",
"gists_url": "https://api.github.com/users/lostintime/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lostintime/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lostintime/subscriptions",
"organizations_url": "https://api.github.com/users/lostintime/orgs",
"repos_url": "https://api.github.com/users/lostintime/repos",
"events_url": "https://api.github.com/users/lostintime/events{/privacy}",
"received_events_url": "https://api.github.com/users/lostintime/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. It has been fixed in https://github.com/digitalocean/terraform-provider-digitalocean/pull/710 The way the Terraform registry works we'll need to cut a new release just to update the docs. "
] | 2021-10-01T10:00:38 | 2021-10-01T19:42:54 | 2021-10-01T19:42:54 | NONE | null | # Bug Report
Wrong resource type in basic example in `digitalocean_monitor_alert` resource documentation.
---
## Describe the bug
In the basic example for `digitalocean_monitor_alert` resource `digitalocean_monitoring` is used as resource type, should be `digitalocean_monitor_alert`:
```
# Create a new Web Droplet in the nyc2 region
resource "digitalocean_droplet" "web" {
image = "ubuntu-20-04-x64"
name = "web-1"
region = "nyc2"
size = "s-1vcpu-1gb"
}
resource "digitalocean_monitoring" "cpu_alert" { // ----> resource "digitalocean_monitor_alert" "cpu_alert"
alerts {
email = ["benny@digitalocean.com"]
slack {
channel = "Production Alerts"
url = "https://hooks.slack.com/services/T1234567/AAAAAAAA/ZZZZZZ"
}
window = "5m"
type = "v1/insights/droplet/cpu"
compare = "GreaterThan"
value = 95
enabled = true
entities = [digitalocean_droplet.web.id]
description = "Alert about CPU usage"
}
```
### Affected Resource(s)
- digitalocean_monitor_alert
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/714/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/714/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/713 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/713/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/713/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/713/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/713 | 1,012,469,297 | PR_kwDOBZHfyM4shToR | 713 | Update Floating IP Assignment status string | {
"login": "mpuckett159",
"id": 13648427,
"node_id": "MDQ6VXNlcjEzNjQ4NDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/13648427?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpuckett159",
"html_url": "https://github.com/mpuckett159",
"followers_url": "https://api.github.com/users/mpuckett159/followers",
"following_url": "https://api.github.com/users/mpuckett159/following{/other_user}",
"gists_url": "https://api.github.com/users/mpuckett159/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mpuckett159/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpuckett159/subscriptions",
"organizations_url": "https://api.github.com/users/mpuckett159/orgs",
"repos_url": "https://api.github.com/users/mpuckett159/repos",
"events_url": "https://api.github.com/users/mpuckett159/events{/privacy}",
"received_events_url": "https://api.github.com/users/mpuckett159/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"It appears that this was an error on DigitalOcean's part as the status return has been reverted back to the expected `completed` string instead of `done`. Guess this isn't needed anymore."
] | 2021-09-30T18:03:56 | 2021-09-30T18:18:02 | 2021-09-30T18:18:02 | NONE | null | closes #712
This commit fixes an issue caused by a change to the DigitalOcean Floating IP actions API status field from `completed` to `done`. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/713/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/713/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/713",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/713",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/713.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/713.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/712 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/712/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/712/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/712/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/712 | 1,012,446,912 | I_kwDOBZHfyM48WLbA | 712 | floating_ip_assignment error | {
"login": "opichon",
"id": 203745,
"node_id": "MDQ6VXNlcjIwMzc0NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/203745?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/opichon",
"html_url": "https://github.com/opichon",
"followers_url": "https://api.github.com/users/opichon/followers",
"following_url": "https://api.github.com/users/opichon/following{/other_user}",
"gists_url": "https://api.github.com/users/opichon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/opichon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/opichon/subscriptions",
"organizations_url": "https://api.github.com/users/opichon/orgs",
"repos_url": "https://api.github.com/users/opichon/repos",
"events_url": "https://api.github.com/users/opichon/events{/privacy}",
"received_events_url": "https://api.github.com/users/opichon/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 reporting this @opichon. The cause was an unexpected change to the DigitalOcean API which has been reverted. This should be working again. "
] | 2021-09-30T17:39:04 | 2021-09-30T19:37:47 | 2021-09-30T19:37:46 | 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
Floating_ip_assignment falis with this error:
`Error waiting for FloatingIP (143.198.248.229) to be Assigned: unexpected state 'done', wanted target 'completed'. last error: %!s(<nil>)`
```
resource "digitalocean_droplet" "this" {
image = var.image
ipv6 = var.ipv6
monitoring = var.monitoring
name = var.name
region = var.region
size = var.size
ssh_keys = [...]
tags = var.tags
vpc_uuid = var.vpc_id
}
resource "digitalocean_floating_ip_assignment" "floating_ip" {
count = var.floating_ip != null ? 1 : 0
depends_on = [digitalocean_droplet.this]
droplet_id = digitalocean_droplet.this.id
ip_address = var.floating_ip
provisioner "local-exec" {
when = destroy
command = "sed -i -e '/^${self.ip_address} .*/d' ~/.ssh/known_hosts"
}
}
```
---
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
### Affected Resource(s)
- digitalocean_floating_ip_assignment
-
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
Success instead of failure
### Actual Behavior
Droplet is created and IP address is assigned, but terraform reports a failure. Outputs are not generated.
### 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.-->
**Expected behavior**
<!-- 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**
https://gist.github.com/opichon/8b1d95ede224a33f0e375bb7a986c8f4
**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/712/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/712/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/711 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/711/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/711/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/711/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/711 | 1,012,443,124 | I_kwDOBZHfyM48WKf0 | 711 | Floating IP Assignment Action Status Update | {
"login": "mpuckett159",
"id": 13648427,
"node_id": "MDQ6VXNlcjEzNjQ4NDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/13648427?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mpuckett159",
"html_url": "https://github.com/mpuckett159",
"followers_url": "https://api.github.com/users/mpuckett159/followers",
"following_url": "https://api.github.com/users/mpuckett159/following{/other_user}",
"gists_url": "https://api.github.com/users/mpuckett159/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mpuckett159/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mpuckett159/subscriptions",
"organizations_url": "https://api.github.com/users/mpuckett159/orgs",
"repos_url": "https://api.github.com/users/mpuckett159/repos",
"events_url": "https://api.github.com/users/mpuckett159/events{/privacy}",
"received_events_url": "https://api.github.com/users/mpuckett159/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 | [
"It would appear that this change has been reverted on the DigitalOcean side already.... I guess someone pushed a change to prod before it was ready.",
"Thanks for reporting this @mpuckett159. It was indeed an error on the DigitalOcean API. The change has been reverted. ",
"Thanks for confirming I was questioni... | 2021-09-30T17:34:18 | 2021-09-30T19:38:20 | 2021-09-30T18:17:06 | NONE | null | # Bug Report
## Version Info
❯ terraform -v
Terraform v1.0.6
on windows_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.12.0
+ provider registry.terraform.io/hashicorp/random v3.1.0
## Describe the bug
When attempting to assign a `digitalocean_floating_ip_assignment` resource to a `digitalocean_droplet` resource I receive the following error:
`Error: Error waiting for FloatingIP (x.x.x.x) to be Assigned: unexpected state 'done', wanted target 'completed'. last error: %!s(<nil>)
│
│ with digitalocean_floating_ip_assignment.pub_ip,
│ on main.tf line 86, in resource "digitalocean_floating_ip_assignment" "pub_ip":
│ 86: resource "digitalocean_floating_ip_assignment" "pub_ip" {`
It would appear that the issue is that DigitalOcean returns the `status` field of for their `floating_ips/$floaing_ip/actions` API as `done` instead of `completed` which is what the provider is expecting. Please see the References section below for more details. The line specified just needs to be updated from `completed` to `done`. I'll probably make a PR to fix it but just creating the Issue so others can see if they search for it.
### Affected Resource(s)
- digitalocean_floating_ip_assignment
### Expected Behavior
The `digitalocean_floating_ip_assignment` should complete with no errors.
### Actual Behavior
I receive an error.
### Steps to Reproduce
1. Create Terraform configuration that uses the `digitalocean_floating_ip_assignment` resource that will be assigned to a `digitalocean_droplet` resource.
2. `terraform apply`
**Terraform Configuration Files**
`# Create droplet with userdata stored in cloud-config.yaml file
resource "digitalocean_droplet" "owncast" {
name = "owncast-droplet"
size = "c-4"
image = element(tolist(data.digitalocean_images.docker.images), 0).id
region = "sfo3"
ipv6 = false
user_data = local.user_data_local
tags = [digitalocean_tag.owncast_tag.id]
}
# Assign floating IP to new droplet
resource "digitalocean_floating_ip_assignment" "pub_ip" {
ip_address = "x.x.x.x"
droplet_id = digitalocean_droplet.owncast.id
}`
**Panic Output**
None
**References**
[DigitalOcean floating_ip action API reference](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_floating_ip_actions)
[Example current API response](https://gist.github.com/mpuckett159/9d6bf4f50edf8f1b0d9f4fd72fde8027)
[Line to update](https://github.com/digitalocean/terraform-provider-digitalocean/blob/cdad3198cbc922c11ed673a49138851ddd1c2103/digitalocean/resource_digitalocean_floating_ip_assignment.go#L55)
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/711/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/711/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/710 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/710/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/710/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/710/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/710 | 1,008,862,717 | PR_kwDOBZHfyM4sWYD1 | 710 | docs: Fix typo in digitalocean monitoring | {
"login": "jessedobbelaere",
"id": 1352979,
"node_id": "MDQ6VXNlcjEzNTI5Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1352979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jessedobbelaere",
"html_url": "https://github.com/jessedobbelaere",
"followers_url": "https://api.github.com/users/jessedobbelaere/followers",
"following_url": "https://api.github.com/users/jessedobbelaere/following{/other_user}",
"gists_url": "https://api.github.com/users/jessedobbelaere/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jessedobbelaere/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jessedobbelaere/subscriptions",
"organizations_url": "https://api.github.com/users/jessedobbelaere/orgs",
"repos_url": "https://api.github.com/users/jessedobbelaere/repos",
"events_url": "https://api.github.com/users/jessedobbelaere/events{/privacy}",
"received_events_url": "https://api.github.com/users/jessedobbelaere/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hey, @jessedobbelaere - Thanks a ton for this sweet PR! 😄\r\n\r\nWould you please shoot me an email when you get a chance?\r\nmcowley at digitalocean dot com 🎉"
] | 2021-09-28T00:15:11 | 2021-10-05T14:01:21 | 2021-09-28T14:18:44 | CONTRIBUTOR | null | Resource name in the docs should be `digitalocean_monitor_alert` instead of `digitalocean_monitoring` according to what https://github.com/digitalocean/terraform-provider-digitalocean/pull/679 introduced in v2.12.0 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/710/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/710/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/710",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/710",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/710.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/710.patch",
"merged_at": "2021-09-28T14:18:44"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/709 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/709/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/709/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/709/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/709 | 1,006,250,762 | PR_kwDOBZHfyM4sOrMS | 709 | Fix parentheses to make clickable links in CHANGELOG | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-09-24T09:09:02 | 2021-09-24T14:59:03 | 2021-09-24T14:09:02 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/709/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/709/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/709",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/709",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/709.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/709.patch",
"merged_at": "2021-09-24T14:09:02"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/708 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/708/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/708/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/708/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/708 | 1,005,003,720 | I_kwDOBZHfyM475yPI | 708 | Issues in upgrading DOKS using terraform | {
"login": "pgaijin66",
"id": 8869096,
"node_id": "MDQ6VXNlcjg4NjkwOTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8869096?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pgaijin66",
"html_url": "https://github.com/pgaijin66",
"followers_url": "https://api.github.com/users/pgaijin66/followers",
"following_url": "https://api.github.com/users/pgaijin66/following{/other_user}",
"gists_url": "https://api.github.com/users/pgaijin66/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pgaijin66/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pgaijin66/subscriptions",
"organizations_url": "https://api.github.com/users/pgaijin66/orgs",
"repos_url": "https://api.github.com/users/pgaijin66/repos",
"events_url": "https://api.github.com/users/pgaijin66/events{/privacy}",
"received_events_url": "https://api.github.com/users/pgaijin66/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 @pgaijin66, \r\n\r\nThat error message is a bit unclear. The \"path\" it is referring to is the path from one version to the next. In order to upgrade from one minor version to another (e.g. 1.20.x to 1.21.x), you must first upgrade to the latest patch release for your current version. \r\n\r\n```\r\n$ doctl ku... | 2021-09-23T04:26:53 | 2021-09-23T23:49:15 | 2021-09-23T15:10:39 | 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
We are using terraform to manage kubernetes infrastructure and using digital ocean provider ( digitalocean/digitalocean ) with version 2.11.1. While we try to upgrade the cluster, it throws an error
```
Error: Unable to upgrade cluster version: POST https://api.digitalocean.com/v2/kubernetes/clusters/6eREDACTED/upgrade: 422 (request "e69-REDACTED-fbfe73ee62") invalid upgrade path
```
Looks like during provider upgrade the API endpoint for kubernetes upgrade was changed or something and hence it is causing the error. Could you please provide instructions on how to resolve this issue.
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_kubernetes_cluster
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
Kubernetes cluster should have been upgraded from `1.20.7-do.0` to `1.21.3-do.0`
### Actual Behavior
Terraform throws an error stating invalid upgrade path
### Steps to Reproduce
1. Create doks cluster with version 1.20.7-do.0
2. Try to upgrade cluster to 1.21.3-do.0 via terraform apply
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/708/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/708/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/707 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/707/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/707/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/707/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/707 | 1,004,735,245 | PR_kwDOBZHfyM4sKD8s | 707 | Prep v2.12.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 | [] | 2021-09-22T20:15:24 | 2021-09-22T20:49:03 | 2021-09-22T20:48:23 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/707/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/707/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/707",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/707",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/707.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/707.patch",
"merged_at": "2021-09-22T20:48:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/706 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/706/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/706/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/706/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/706 | 1,003,097,443 | I_kwDOBZHfyM47yg1j | 706 | Mongo DB User password attribute is empty | {
"login": "brizzbuzz",
"id": 5607577,
"node_id": "MDQ6VXNlcjU2MDc1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5607577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brizzbuzz",
"html_url": "https://github.com/brizzbuzz",
"followers_url": "https://api.github.com/users/brizzbuzz/followers",
"following_url": "https://api.github.com/users/brizzbuzz/following{/other_user}",
"gists_url": "https://api.github.com/users/brizzbuzz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brizzbuzz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brizzbuzz/subscriptions",
"organizations_url": "https://api.github.com/users/brizzbuzz/orgs",
"repos_url": "https://api.github.com/users/brizzbuzz/repos",
"events_url": "https://api.github.com/users/brizzbuzz/events{/privacy}",
"received_events_url": "https://api.github.com/users/brizzbuzz/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 the report. This issue was fixed in https://github.com/digitalocean/terraform-provider-digitalocean/pull/697 and will be available in the next release.",
"Woooo amazing! Thanks"
] | 2021-09-21T19:06:59 | 2021-09-21T21:11:17 | 2021-09-21T21:11:17 | NONE | null | # Bug Report
## Describe the bug
Hi... The documentation for the provider states that a password attribute is exported for a `digitalocean_database_user`. However, this does not occur for the mongo db user. Or perhaps, it does, but the password is empty. It is unclear to me at the moment.
### Affected Resource(s)
- `digitalocean_database_user` (specifically for MongoDB)
### Expected Behavior
A password should be generated for a user declared in terraform code
### Actual Behavior
The password attribute is empty.
### Steps to Reproduce
Take the following
```hcl
resource "digitalocean_database_cluster" "example" {
name = "example"
engine = "mongodb"
version = "4"
size = "db-s-1vcpu-1gb"
region = "nyc1"
node_count = "1"
}
resource "digitalocean_database_db" "example" {
cluster_id = digitalocean_database_cluster.example.id
name = "example"
}
resource "digitalocean_database_user" "example" {
cluster_id = digitalocean_database_cluster.example.id
name = "example"
}
```
On apply, this seems to deploy no problem. However, on inspection of the terraform state, it is clear that the user password is either not generated at all or not passed along in the response. See this snippet of state
```json
{
"mode": "managed",
"type": "digitalocean_database_user",
"name": "example",
"provider": "provider[\"registry.terraform.io/digitalocean/digitalocean\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"cluster_id": "omitted",
"id": "omitted",
"mysql_auth_plugin": null,
"name": "example",
"password": "", // <---- 😭 😭 😭
"role": "normal"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"digitalocean_database_cluster.example"
]
}
]
}
```
This is _very_ blocking, as it basically renders managed mongodb not functional from a fully automated deployment perspective. Hope you guys can get this resolved ASAP. Was so excited to start leveraging this.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/706/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/706/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/705 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/705/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/705/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/705/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/705 | 1,002,802,553 | PR_kwDOBZHfyM4sDql1 | 705 | Output test_url to easily click and check that the example has worked | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"We managed to achieve this in a much cleaner way:\r\n\r\n```\r\nresource \"helm_release\" \"ingress\" {\r\n name = \"ingress\"\r\n repository = \"https://kubernetes.github.io/ingress-nginx\"\r\n chart = \"ingress-nginx\"\r\n namespace = \"ingress-nginx\"\r\n create_namespace = true\r\n\r\n set {\r... | 2021-09-21T16:17:22 | 2023-03-08T17:07:03 | 2023-03-08T17:07:03 | CONTRIBUTOR | null | - If IP address is not available yet, "[PENDING]" is shown, resolves #692 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/705/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/705/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/705",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/705",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/705.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/705.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/704 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/704/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/704/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/704/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/704 | 1,002,679,899 | PR_kwDOBZHfyM4sDPgr | 704 | Add increased timeout for the NGINX ingress Helm chart | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-09-21T15:09:45 | 2023-03-08T17:08:59 | 2023-03-08T17:08:59 | CONTRIBUTOR | null | - Sometimes the Helm chart takes longer than default 5 min timeout, resolves #694 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/704/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/704/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/704",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/704",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/704.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/704.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/703 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/703/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/703/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/703/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/703 | 1,002,658,973 | PR_kwDOBZHfyM4sDLBZ | 703 | Give a name to the kubernetes example load balancer | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-09-21T14:59:02 | 2021-10-06T19:16:51 | 2021-10-06T19:16:51 | CONTRIBUTOR | null | - Without specifying a name, a random one is given, resolves #691 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/703/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/703/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/703",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/703",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/703.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/703.patch",
"merged_at": "2021-10-06T19:16:51"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/702 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/702/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/702/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/702/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/702 | 1,002,032,394 | PR_kwDOBZHfyM4sBEJF | 702 | Expose TTL in digital_ocean.domain. | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"> Looks good! Can you add a line to the resource docs for it?\r\n> \r\n> https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/docs/resources/domain.md#attributes-reference\r\n\r\nDone."
] | 2021-09-21T08:15:07 | 2021-09-22T07:26:36 | 2021-09-21T15:32:38 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/702/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/702/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/702",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/702",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/702.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/702.patch",
"merged_at": "2021-09-21T15:32:38"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/701 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/701/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/701/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/701/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/701 | 1,001,345,611 | PR_kwDOBZHfyM4r-0dd | 701 | docs: Provide more context for apps' 'instance_size_slug' | {
"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 | [] | 2021-09-20T19:58:35 | 2021-09-20T20:51:51 | 2021-09-20T20:45:48 | MEMBER | null | This updates the docs to provide more context around an apps' `instance_size_slug`. This addresses the last two points in https://github.com/digitalocean/terraform-provider-digitalocean/issues/686 The alerts piece has its own issue (https://github.com/digitalocean/terraform-provider-digitalocean/issues/683) and the CORS piece will be closed in https://github.com/digitalocean/terraform-provider-digitalocean/pull/699. So I think we're good to close that issue.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/686 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/701/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/701/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/701",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/701",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/701.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/701.patch",
"merged_at": "2021-09-20T20:45:48"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/700 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/700/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/700/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/700/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/700 | 1,000,318,833 | I_kwDOBZHfyM47n6dx | 700 | Trying to destroy failed app deploy leads to crash | {
"login": "brizzbuzz",
"id": 5607577,
"node_id": "MDQ6VXNlcjU2MDc1Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5607577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brizzbuzz",
"html_url": "https://github.com/brizzbuzz",
"followers_url": "https://api.github.com/users/brizzbuzz/followers",
"following_url": "https://api.github.com/users/brizzbuzz/following{/other_user}",
"gists_url": "https://api.github.com/users/brizzbuzz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/brizzbuzz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brizzbuzz/subscriptions",
"organizations_url": "https://api.github.com/users/brizzbuzz/orgs",
"repos_url": "https://api.github.com/users/brizzbuzz/repos",
"events_url": "https://api.github.com/users/brizzbuzz/events{/privacy}",
"received_events_url": "https://api.github.com/users/brizzbuzz/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, @unredundant \r\n\r\nThis issue was solved in v2.12.0 release\r\nhttps://github.com/digitalocean/terraform-provider-digitalocean/blob/v2.12.0/digitalocean/resource_digitalocean_app.go#L122\r\n\r\nYou can use v2.12.0 or later version to prevent this issue",
"Thanks for pointing that out @opeco17. Looks like I... | 2021-09-19T13:49:46 | 2022-01-06T15:30:25 | 2022-01-06T15:30:25 | NONE | null | # Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
Hey 👋 Doing a bit of terraformin' on a beautiful sunday and ran into a relatively painless bug. It appears that, should a `terraform apply` fail to successfully deploy a digital ocean app to the app platform, in the event that the user tries to then run a `terraform destroy` the operation results in some glorious golang puke
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_app
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
Destroy should not crash when a borked app is part of the manifest
### Actual Behavior
Destroy does crash when a borked app is part of the manifest
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example: -->
1. Build a broken app
2. Try to deploy said broken app
3. Try to destroy said broken app
**Terraform Configuration Files**
Any broken app platform deploy should work
**Expected behavior**
<!-- 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. -->
No crashes :)
**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. -->
```
Stack trace from the terraform-provider-digitalocean_v2.10.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdce80e]
goroutine 37 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanAppRead(0x11f2ad8, 0xc000351f80, 0xc00066a980, 0xf28ec0, 0xc0005bac30, 0xc0007d0ca0, 0xc000707908, 0x40e0f8)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_app.go:111 +0x46e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0005d08c0, 0x11f2a68, 0xc0004b3c00, 0xc00066a980, 0xf28ec0, 0xc0005bac30, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:347 +0x17f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0005d08c0, 0x11f2a68, 0xc0004b3c00, 0xc0006b47e0, 0xf28ec0, 0xc0005bac30, 0xc0007d8198, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:624 +0x1cb
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00000c030, 0x11f2a68, 0xc0004b3c00, 0xc0004b3c40, 0xc0004b3c00, 0x40b965, 0xfc8d60)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/grpc_provider.go:575 +0x43b
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc00052b2c0, 0x11f2b10, 0xc0004b3c00, 0xc000350ea0, 0xc00052b2c0, 0xc000782780, 0xc000085ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x105
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0x1007700, 0xc00052b2c0, 0x11f2b10, 0xc000782780, 0xc000350e40, 0x0, 0x11f2b10, 0xc000782780, 0xc000788a00, 0x4e3)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000120000, 0x11fbfb8, 0xc0004a1680, 0xc000759600, 0xc0003a3110, 0x1769a90, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc000120000, 0x11fbfb8, 0xc0004a1680, 0xc000759600, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00051a230, 0xc000120000, 0x11fbfb8, 0xc0004a1680, 0xc000759600)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-digitalocean_v2.10.1 plugin crashed!
```
**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/700/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/700/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/699 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/699/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/699/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/699/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/699 | 999,764,594 | PR_kwDOBZHfyM4r6U0Q | 699 | apps: Support setting CORS policies. | {
"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 | [
"I had started a bit with this, but couldn't get the tests (`flatten` and `expand` problems) working. However, maybe copy-pasting the docs? https://github.com/atombrella/terraform-provider-digitalocean/commit/f8dd074312981f53ef6dabdf8c8b4740f4448f49#diff-2a77bc4b1d9ab16d12a37ea007beade1793d351c331bbb132899ffd61aa17... | 2021-09-17T22:32:00 | 2021-09-20T21:58:51 | 2021-09-20T21:42:37 | MEMBER | null | ~Opening this as a draft for now as it still needs docs and more tests.~
Related to: https://github.com/digitalocean/terraform-provider-digitalocean/issues/686 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/699/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/699/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/699",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/699",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/699.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/699.patch",
"merged_at": "2021-09-20T21:42:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/698 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/698/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/698/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/698/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/698 | 997,466,315 | PR_kwDOBZHfyM4rzV6t | 698 | apps: Make create timeout configurable (fixes: #628). | {
"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 | [
"@scotchneat Good call. Added a note to the docs for apps and other resources that support customized create timeouts."
] | 2021-09-15T20:03:25 | 2021-09-20T21:33:45 | 2021-09-20T21:33:42 | MEMBER | null | Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/628 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/698/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/698/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/698",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/698",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/698.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/698.patch",
"merged_at": "2021-09-20T21:33:41"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/697 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/697/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/697/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/697/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/697 | 997,170,301 | PR_kwDOBZHfyM4rya0o | 697 | database user: Handle passwords for MongoDB. | {
"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 | [] | 2021-09-15T14:43:27 | 2021-09-16T17:38:58 | 2021-09-16T17:38:58 | MEMBER | null | MongoDB clusters only return the password in response to the initial POST. We handle this in the database resource for the default user, but it looks like we missed it for new users created in with the database user resource.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/696
I was also seeing an expected diff preventing the tests from passing when seconds were being included in response for database maintenance windows, e.g: "13:00" -> "13:00:00". I've added a DiffSuppressFunc to handle this case. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/697/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/697/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/697",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/697",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/697.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/697.patch",
"merged_at": "2021-09-16T17:38:57"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/696 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/696/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/696/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/696/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/696 | 996,854,921 | I_kwDOBZHfyM47asyJ | 696 | Missing password in database user for mongodb | {
"login": "Lynncubus",
"id": 14966486,
"node_id": "MDQ6VXNlcjE0OTY2NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/14966486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lynncubus",
"html_url": "https://github.com/Lynncubus",
"followers_url": "https://api.github.com/users/Lynncubus/followers",
"following_url": "https://api.github.com/users/Lynncubus/following{/other_user}",
"gists_url": "https://api.github.com/users/Lynncubus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lynncubus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lynncubus/subscriptions",
"organizations_url": "https://api.github.com/users/Lynncubus/orgs",
"repos_url": "https://api.github.com/users/Lynncubus/repos",
"events_url": "https://api.github.com/users/Lynncubus/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lynncubus/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 | [] | 2021-09-15T09:22:48 | 2021-09-16T17:38:57 | 2021-09-16T17:38:57 | 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: -->
---
When creating a database user in a mongodb cluster, im missing the password attribute.
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
For example, creating a cluster and a new user:
```tf
resource "digitalocean_database_cluster" "mongodb" {
name = "mongodb-test"
engine = "mongodb"
version = 4
size = 1
region = "ams3"
node_count = 1
lifecycle {
prevent_destroy = true
}
}
resource "digitalocean_database_user" "user" {
cluster_id = digitalocean_database_cluster.mongodb.id
name = "user"
}
```
And then trying to access `digitalocean_database_user.user` or executing:
```sh
terraform state show digitalocean_database_user.user
```
Shows there is no password in our state.
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_database_user
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? -->
Password being available to log in to our database cluster.
### Actual Behavior
<!-- What actually happened? -->
No password is being set in our state for mongodb users.
### 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.-->
```tf
# main.tf
resource "digitalocean_database_cluster" "mongodb" {
name = "mongodb-test"
engine = "mongodb"
version = 4
size = 1
region = "ams3"
node_count = 1
lifecycle {
prevent_destroy = true
}
}
resource "digitalocean_database_user" "user" {
cluster_id = digitalocean_database_cluster.mongodb.id
name = "user"
}
```
**Expected behavior**
<!-- 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. -->
Again, a password for our user.
**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/696/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/696/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/695 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/695/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/695/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/695/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/695 | 996,413,798 | PR_kwDOBZHfyM4rwCBp | 695 | Add Kubernetes example cluster naming and test_url output | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"OK with merges that address multiple issues, or prefer breaking these into separate pull requests?",
"Hey @kriswuollett, thanks for finding and reporting those issues with the examples. And big thanks for spending time providing this contribution to suggest solutions to them. \r\n\r\nThis PR has some changes tha... | 2021-09-14T20:41:15 | 2022-05-12T17:41:59 | 2022-05-12T17:41:59 | CONTRIBUTOR | null | - Fixes cluster naming by replacing data dependency with an injected variable (fixes #693)
- Gives a name to load balancer, otherwise it is random (resolves #691)
- Output test_url to easily click and check that the example has worked (resolves #692)
- Add increased timeout for the NGINX ingress Helm chart (fixes #694) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/695/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/695/timeline | null | null | true | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/695",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/695",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/695.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/695.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/694 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/694/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/694/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/694/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/694 | 996,407,944 | I_kwDOBZHfyM47Y_qI | 694 | Helm chart in Kubernetes example can time out | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/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": 620326613,
"node_id": "MDU6TGFiZWw2MjAzMj... | open | false | null | [] | null | [] | 2021-09-14T20:32:28 | 2023-03-28T01:12:28 | null | CONTRIBUTOR | null | Without modification `apply` of the Kubernetes example can have the `helm_release` resource fail since creating the `nginx_ingress` can take more than the default 5 minute timeout at times. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/694/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/694/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/693 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/693/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/693/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/693/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/693 | 996,110,505 | I_kwDOBZHfyM47X3Cp | 693 | examples/kubernetes can't be modified to use a static cluster name | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/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 | [] | 2021-09-14T14:48:43 | 2023-03-28T01:12:14 | null | CONTRIBUTOR | null | To avoid the data lookup, should the example be modified to use the [dependency inversion](https://www.terraform.io/docs/language/modules/develop/composition.html#dependency-inversion) as described in the Terraform docs? For example, just have the main module pass a basic `primary_cluster` value between the submodules and remove the `data "digitalocean_kubernetes_cluster" "primary"` from the `kubernetes-config` submodule:
`examples/kubernetes/doks-cluster/outputs.tf`:
```
output "primary_cluster" {
value = {
id = digitalocean_kubernetes_cluster.primary.id
name = digitalocean_kubernetes_cluster.primary.name
endpoint = digitalocean_kubernetes_cluster.primary.endpoint
token = digitalocean_kubernetes_cluster.primary.kube_config[0].token
cluster_ca_certificate = digitalocean_kubernetes_cluster.primary.kube_config[0].cluster_ca_certificate
raw_config = digitalocean_kubernetes_cluster.primary.kube_config[0].raw_config
}
}
```
`examples/kubernetes/kubernetes-config/variables.tf`:
```
variable "primary_cluster" {
type = object({
id = string
name = string
endpoint = string
token = string
cluster_ca_certificate = string
raw_config = string
})
}
```
### Discussed in https://github.com/digitalocean/terraform-provider-digitalocean/discussions/690
<div type='discussions-op-text'>
<sup>Originally posted by **kriswuollett** September 13, 2021</sup>
Is there a particular reason why `cluster_name` being `tf-k8s-${random_id.cluster_name.hex}` was needed in #564? When I remove the `random_id` resource and just set `cluster_name` to `my_cluster`, the output of `terraform plan` has the error:
```
│ Error: Unable to find cluster with name: my-cluster
│
│ with module.kubernetes-config.data.digitalocean_kubernetes_cluster.primary,
│ on kubernetes-config/main.tf line 18, in data "digitalocean_kubernetes_cluster" "primary":
│ 18: data "digitalocean_kubernetes_cluster" "primary" {
```
I'm new to Terraform so would like to learn more about this issue if it is not technically a bug. Thanks!</div> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/693/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/693/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/692 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/692/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/692/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/692/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/692 | 995,516,487 | I_kwDOBZHfyM47VmBH | 692 | Kubernetes example should be able to output LoadBalancer external IP | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/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 | [
"It sort of makes sense that `test_ingress` gives the cluster member IP. And so I just tried the following that works:\r\n\r\n* `examples/kubernetes/outputs.tf`\r\n\r\n```\r\noutput \"test_url\" {\r\n value = module.kubernetes-config.test_url\r\n}\r\n```\r\n\r\n* `examples/kubernetes/kubernetes-config/main.tf`\r\n... | 2021-09-14T02:28:46 | 2021-09-14T03:17:32 | null | CONTRIBUTOR | null | I followed the Kubernetes example and tried adding the following outputs as seen in the [`kubernetes_service` data source](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/service#attributes-4):
```
output "load_balancer_hostname" {
value = kubernetes_ingress.test_ingress.status.0.load_balancer.0.ingress.0.hostname
}
output "load_balancer_ip" {
value = kubernetes_ingress.test_ingress.status.0.load_balancer.0.ingress.0.ip
}
```
The `load_balancer_ip` appears to be a droplet IP address and not the external IP of the Load Balancer that was created. I'm not too sure that is an actual bug, so perhaps it would be nice if the Kubernetes example showed how to output the external IP whether through the `kubernetes` or `digitialocean` providers. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/692/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/692/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/691 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/691/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/691/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/691/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/691 | 995,498,246 | I_kwDOBZHfyM47VhkG | 691 | Setting LB annotations in Kubernetes example would be helpful | {
"login": "kriswuollett",
"id": 1834192,
"node_id": "MDQ6VXNlcjE4MzQxOTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1834192?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kriswuollett",
"html_url": "https://github.com/kriswuollett",
"followers_url": "https://api.github.com/users/kriswuollett/followers",
"following_url": "https://api.github.com/users/kriswuollett/following{/other_user}",
"gists_url": "https://api.github.com/users/kriswuollett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kriswuollett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kriswuollett/subscriptions",
"organizations_url": "https://api.github.com/users/kriswuollett/orgs",
"repos_url": "https://api.github.com/users/kriswuollett/repos",
"events_url": "https://api.github.com/users/kriswuollett/events{/privacy}",
"received_events_url": "https://api.github.com/users/kriswuollett/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 | [] | 2021-09-14T01:52:24 | 2021-10-06T19:16:51 | 2021-10-06T19:16:51 | CONTRIBUTOR | null | I followed the Kubernetes example, and the load balancer that was created from the `nginx-ingress-controller` Helm chart had what seemed like a randomly generated name when I looked at the project on the web. It would be nice if the example included setting [service annotations](https://github.com/digitalocean/digitalocean-cloud-controller-manager/blob/master/docs/controllers/services/annotations.md) to show how it is done, e.g.:
```
resource "helm_release" "nginx_ingress" {
name = "nginx-ingress-controller"
namespace = kubernetes_namespace.test.metadata.0.name
repository = "https://charts.bitnami.com/bitnami"
chart = "nginx-ingress-controller"
set {
name = "service.type"
value = "LoadBalancer"
}
set {
name = "service.annotations.service\\.beta\\.kubernetes\\.io/do-loadbalancer-name"
value = var.cluster_name
}
set {
name = "service.annotations.service\\.beta\\.kubernetes\\.io/do-loadbalancer-size-slug"
value = "lb-small"
}
}
```
Did not manage to find the primary source of how to format those, but found a [blog post for it](https://medium.com/@nitinnbisht/annotation-in-helm-with-terraform-3fa04eb30b6e).
If desired, would there be any other desired changes to the example addition above? Input variable for `loadbalancer_size`?
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/691/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/691/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/689 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/689/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/689/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/689/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/689 | 995,051,318 | MDU6SXNzdWU5OTUwNTEzMTg= | 689 | Plugin crashes if first apply invocation fails | {
"login": "jasonaibrahim",
"id": 2200729,
"node_id": "MDQ6VXNlcjIyMDA3Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2200729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jasonaibrahim",
"html_url": "https://github.com/jasonaibrahim",
"followers_url": "https://api.github.com/users/jasonaibrahim/followers",
"following_url": "https://api.github.com/users/jasonaibrahim/following{/other_user}",
"gists_url": "https://api.github.com/users/jasonaibrahim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jasonaibrahim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jasonaibrahim/subscriptions",
"organizations_url": "https://api.github.com/users/jasonaibrahim/orgs",
"repos_url": "https://api.github.com/users/jasonaibrahim/repos",
"events_url": "https://api.github.com/users/jasonaibrahim/events{/privacy}",
"received_events_url": "https://api.github.com/users/jasonaibrahim/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"I was able to move past this by running `terraform state pull` and trying again. \r\n\r\nI won't close this just yet since there does appear to be a bug with the plugin, but if anyone else is encountering this issue, try viewing the disaster recovery docs here: https://www.terraform.io/docs/cli/state/recover.html"... | 2021-09-13T15:48:31 | 2022-01-31T15:37:13 | 2022-01-31T15:37: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. -->
When using a terraform configuration that includes a `digitalocean_app` declaration, if `terraform apply` fails the first time, subsequent invocations will crash the plugin.
### 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. -->
- digitailocean_app
### Expected Behavior
<!-- What should have happened? -->
The plugin should have completed the requested execution without crashing
### Actual Behavior
<!-- What actually happened? -->
The plugin crashed
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
1. create a terraform configuration with invalid `digitalocean_app` parameters. e.g. set `region` to `abc`
2. run `terraform apply` - the execution will fail but __not__ crash
3. change terraform configuration back to something valid, e.g. set `region` to `sfo`
4. run `terraform apply` - the plugin crashes
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
<summary>
<details>
Stack trace from the terraform-provider-digitalocean_v2.11.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdfe531]
goroutine 73 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanAppRead(0x123ae98, 0xc0005b7320, 0xc0005fd200, 0xf60860, 0xc0006aecc0, 0xc0005a7410, 0xc0008d5908, 0x40e0f8)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_app.go:111 +0x471
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0005d88c0, 0x123ae28, 0xc0003a6300, 0xc0005fd200, 0xf60860, 0xc0006aecc0, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:347 +0x17f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0005d88c0, 0x123ae28, 0xc0003a6300, 0xc0008ece70, 0xf60860, 0xc0006aecc0, 0xc000019198, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:624 +0x1cb
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00000c030, 0x123ae28, 0xc0003a6300, 0xc0003a6340, 0xc0003a6300, 0x40b965, 0x1007960)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:575 +0x43b
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc0004a0be0, 0x123aed0, 0xc0003a6300, 0xc00009b620, 0xc0004a0be0, 0xc0003a8900, 0xc000101ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x105
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0x1049820, 0xc0004a0be0, 0x123aed0, 0xc0003a8900, 0xc00009b5c0, 0x0, 0x123aed0, 0xc0003a8900, 0xc0008b7000, 0x7c7)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000d6000, 0x1244738, 0xc000083500, 0xc000160100, 0xc000096cf0, 0x17d8b90, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0000d6000, 0x1244738, 0xc000083500, 0xc000160100, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000524220, 0xc0000d6000, 0x1244738, 0xc000083500, 0xc000160100)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-digitalocean_v2.11.1 plugin crashed!
</details>
</summary>
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/689/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/689/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/688 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/688/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/688/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/688/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/688 | 993,989,714 | MDU6SXNzdWU5OTM5ODk3MTQ= | 688 | digitalocean_firewall: droplet tags | {
"login": "mr-menno",
"id": 5025196,
"node_id": "MDQ6VXNlcjUwMjUxOTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5025196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mr-menno",
"html_url": "https://github.com/mr-menno",
"followers_url": "https://api.github.com/users/mr-menno/followers",
"following_url": "https://api.github.com/users/mr-menno/following{/other_user}",
"gists_url": "https://api.github.com/users/mr-menno/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mr-menno/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mr-menno/subscriptions",
"organizations_url": "https://api.github.com/users/mr-menno/orgs",
"repos_url": "https://api.github.com/users/mr-menno/repos",
"events_url": "https://api.github.com/users/mr-menno/events{/privacy}",
"received_events_url": "https://api.github.com/users/mr-menno/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 | [
"Guess it's the \"tags\" attribute. I'll think about the documentation element to see if that can be clarified. Normally when you add \"tags\" to things, you're adding the tags, not specifying the tags you're selecting.",
"Hi @mr-menno, I can see where this can be confusing. Tags can be assigned to firewalls as... | 2021-09-11T23:53:41 | 2023-03-28T01:12:51 | null | NONE | null | The ability exists to add droplet_ids, but not tags.
In the case of kubernetes, you do not know the droplet_ids, but you do know the tag (k8s:GUID)
It would be great to specify droplet_tags, or allow droplet_ids to be tag names too. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/688/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/688/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/687 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/687/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/687/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/687/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/687 | 992,668,053 | MDU6SXNzdWU5OTI2NjgwNTM= | 687 | MongoDB Resource / Data should contain the CA certificate | {
"login": "itsjoekent",
"id": 897368,
"node_id": "MDQ6VXNlcjg5NzM2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/897368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itsjoekent",
"html_url": "https://github.com/itsjoekent",
"followers_url": "https://api.github.com/users/itsjoekent/followers",
"following_url": "https://api.github.com/users/itsjoekent/following{/other_user}",
"gists_url": "https://api.github.com/users/itsjoekent/gists{/gist_id}",
"starred_url": "https://api.github.com/users/itsjoekent/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itsjoekent/subscriptions",
"organizations_url": "https://api.github.com/users/itsjoekent/orgs",
"repos_url": "https://api.github.com/users/itsjoekent/repos",
"events_url": "https://api.github.com/users/itsjoekent/events{/privacy}",
"received_events_url": "https://api.github.com/users/itsjoekent/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 | [
"Hi, @itsjoekent thank you for bringing this up. This feature was recently added to the public API so a data source will need to be added to the provider. \r\n\r\nWhile our team is not able to provide a timeline for this to be implemented. We'll look into getting this added.\r\nMeanwhile, we gladly accept contribut... | 2021-09-09T21:48:23 | 2021-11-09T14:40:03 | 2021-11-09T14:40:03 | NONE | null | ### Is your feature request related to a problem? Please describe.
Connecting to a to managed MongoDB instances in Digital Ocean requires a CA certificate, but this can only be downloaded from the web UI after my first Terraform apply.

### Describe the solution you'd like
Given that the CA Certificate is mandatory for connecting, there should be an option to access this certificate within Terraform so I can plug the string value of it into my DO App or Droplet. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/687/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/687/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/686 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/686/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/686/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/686/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/686 | 992,657,157 | MDU6SXNzdWU5OTI2NTcxNTc= | 686 | digitalocean_app is missing numerous properties / documentation | {
"login": "itsjoekent",
"id": 897368,
"node_id": "MDQ6VXNlcjg5NzM2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/897368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itsjoekent",
"html_url": "https://github.com/itsjoekent",
"followers_url": "https://api.github.com/users/itsjoekent/followers",
"following_url": "https://api.github.com/users/itsjoekent/following{/other_user}",
"gists_url": "https://api.github.com/users/itsjoekent/gists{/gist_id}",
"starred_url": "https://api.github.com/users/itsjoekent/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itsjoekent/subscriptions",
"organizations_url": "https://api.github.com/users/itsjoekent/orgs",
"repos_url": "https://api.github.com/users/itsjoekent/repos",
"events_url": "https://api.github.com/users/itsjoekent/events{/privacy}",
"received_events_url": "https://api.github.com/users/itsjoekent/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 | [
"Thanks for all the feedback. We'll be working to get all of this covered, but I wanted to address these two related pieces:\r\n\r\n> The \"instance_size\" is not well documented anywhere I can find (in either the Terraform provider docs or the DO website)\r\n> I cannot change the default \"Basic Plan\" that my ap... | 2021-09-09T21:40:45 | 2021-09-20T20:45:48 | 2021-09-20T20:45:48 | NONE | null | ### Is your feature request related to a problem? Please describe.
- [ ] The `id` of the app is [used in tests](https://github.com/digitalocean/terraform-provider-digitalocean/blob/9f791e084b07bbf5aac27b84061b1492132c9d05/digitalocean/datasource_digitalocean_app_test.go#L82), but is not defined in the [resource documentation](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app). Having this ID is very useful/important when trying to connect the App to a DB Firewall.
- [ ] I am unable to configure alerts policies, (see https://github.com/digitalocean/terraform-provider-digitalocean/issues/683)
- [ ] I am unable to set CORS policies https://docs.digitalocean.com/products/app-platform/how-to/update-cors-policies/
- [ ] The "instance_size" is not well documented anywhere I can find (in either the Terraform provider docs or the DO website)
- [ ] I cannot change the default "Basic Plan" that my app is set to

### Describe the solution you'd like
Ideally all of the available config options work within Terraform, but at a minimum it would be great if the documentation was updated for the missing fields. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/686/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/686/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/685 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/685/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/685/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/685/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/685 | 988,587,809 | MDU6SXNzdWU5ODg1ODc4MDk= | 685 | digitalocean_droplet is not clear about SSH usage and password creation | {
"login": "root0day",
"id": 26130494,
"node_id": "MDQ6VXNlcjI2MTMwNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/26130494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/root0day",
"html_url": "https://github.com/root0day",
"followers_url": "https://api.github.com/users/root0day/followers",
"following_url": "https://api.github.com/users/root0day/following{/other_user}",
"gists_url": "https://api.github.com/users/root0day/gists{/gist_id}",
"starred_url": "https://api.github.com/users/root0day/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/root0day/subscriptions",
"organizations_url": "https://api.github.com/users/root0day/orgs",
"repos_url": "https://api.github.com/users/root0day/repos",
"events_url": "https://api.github.com/users/root0day/events{/privacy}",
"received_events_url": "https://api.github.com/users/root0day/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi @root0day,\r\n\r\nThe error message indicates that the `flatcar` image resource has not been created. The only image resource created in the main.tf above is a custom image referenced as `example`:\r\n\r\n```\r\nresource \"digitalocean_custom_image\" \"example\" {\r\n name = \"image-01\"\r\n url = \"http... | 2021-09-05T20:08:13 | 2021-09-21T17:31:29 | 2021-09-21T17:31:29 | NONE | null |
I can’t know what type of ssh_keys should be filled in
In addition, the document does not seem to say how to create an instance with a password
Operating system and software information
windows 10 lstc 1809
Terraform v1.0.5
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.0"
}
}
}
provider "digitalocean" {
token = "36049f*****"
}
resource "digitalocean_custom_image" "example" {
name = "image-01"
url = "https://cloud.debian.org/images/cloud/OpenStack/9.13.26-20210722/debian-9.13.26-20210722-openstack-amd64.qcow2"
regions = ["sfo3"]
}
resource "digitalocean_ssh_key" "example" {
name = "TerraformExample"
public_key = "ssh-rsa xxxxx"
}
resource "digitalocean_droplet" "example" {
image = digitalocean_custom_image.flatcar.id
name = "example-01"
region = "sfo3"
size = "s-1vcpu-1gb"
ipv6 = "false"
ssh_keys = digitalocean_ssh_key.example.id
}
Error message
╷
│ Error: Reference to undeclared resource
│
│ on main.tf line 29, in resource "digitalocean_droplet" "example":
│ 29: image = digitalocean_custom_image.flatcar.id
│
│ A managed resource "digitalocean_custom_image" "flatcar" has not been declared in the root module.
╵
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/685/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/685/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/684 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/684/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/684/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/684/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/684 | 987,156,741 | MDExOlB1bGxSZXF1ZXN0NzI2MjgxMDc5 | 684 | app: Error to prevent panic if no deployment found (fixes #678). | {
"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 | [] | 2021-09-02T20:55:52 | 2021-09-02T21:01:51 | 2021-09-02T21:01:49 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/684/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/684/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/684",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/684",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/684.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/684.patch",
"merged_at": "2021-09-02T21:01:48"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/683 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/683/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/683/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/683/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/683 | 986,472,137 | MDU6SXNzdWU5ODY0NzIxMzc= | 683 | Add `alerts` to digitalocean_app | {
"login": "nightvisi0n",
"id": 4653434,
"node_id": "MDQ6VXNlcjQ2NTM0MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4653434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nightvisi0n",
"html_url": "https://github.com/nightvisi0n",
"followers_url": "https://api.github.com/users/nightvisi0n/followers",
"following_url": "https://api.github.com/users/nightvisi0n/following{/other_user}",
"gists_url": "https://api.github.com/users/nightvisi0n/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nightvisi0n/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nightvisi0n/subscriptions",
"organizations_url": "https://api.github.com/users/nightvisi0n/orgs",
"repos_url": "https://api.github.com/users/nightvisi0n/repos",
"events_url": "https://api.github.com/users/nightvisi0n/events{/privacy}",
"received_events_url": "https://api.github.com/users/nightvisi0n/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 | [] | 2021-09-02T09:51:51 | 2021-09-08T15:31:59 | null | NONE | null | ### Describe the solution you'd like
The app spec of DO App Platform now supports the definition of alerts:
https://docs.digitalocean.com/products/app-platform/how-to/create-alerts/
Example:
```
alerts:
- operator: GREATER_THAN
rule: CPU_UTILIZATION
value: 80
window: FIVE_MINUTES
```
It would be great if `digitalocean_app` has support for this. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/683/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/683/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/682 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/682/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/682/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/682/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/682 | 986,054,077 | MDU6SXNzdWU5ODYwNTQwNzc= | 682 | Terraform cannot find Digital Ocean cluster after cluster upgrade | {
"login": "caalberts",
"id": 4749355,
"node_id": "MDQ6VXNlcjQ3NDkzNTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4749355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caalberts",
"html_url": "https://github.com/caalberts",
"followers_url": "https://api.github.com/users/caalberts/followers",
"following_url": "https://api.github.com/users/caalberts/following{/other_user}",
"gists_url": "https://api.github.com/users/caalberts/gists{/gist_id}",
"starred_url": "https://api.github.com/users/caalberts/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/caalberts/subscriptions",
"organizations_url": "https://api.github.com/users/caalberts/orgs",
"repos_url": "https://api.github.com/users/caalberts/repos",
"events_url": "https://api.github.com/users/caalberts/events{/privacy}",
"received_events_url": "https://api.github.com/users/caalberts/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 | [
"It seems linked to https://github.com/hashicorp/terraform-provider-kubernetes/blob/main/kubernetes/provider.go#L265-L277 where kubernetes provider would connect to localhost when given an incomplete/invalid configuration.\r\n\r\nI think in this case, when we specify a cluster version and enable auto upgrade, it is... | 2021-09-02T03:29:26 | 2023-03-28T01:17:01 | 2023-03-28T01:17:01 | 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
Digital Ocean kubernetes cluster resource is not found after an auto upgrade.
I had a cluster with version "1.21.2-do.1" with auto-upgrade and I'm using the cluster in the kubernetes provider.
After the cluster was auto-upgraded to "1.21.2-do.2", the kubernetes endpoint seems to have changed to localhost.
Given the terraform configuration file below, when I run `terraform plan`, it failed to get the namespace. Instead of using the kubernetes cluster endpoint, the request was made to localhost.
```
│ Error: Get "http://localhost/api/v1/namespaces/apps": dial tcp [::1]:80: connect: connection refused
```
The error is gone after I changed the version to the upgraded version "1.21.2-do.2".
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_kubernetes_cluster
### Expected Behavior
<!-- What should have happened? -->
No error when getting namespaces.
### Actual Behavior
<!-- What actually happened? -->
```
kubernetes_namespace.apps: Refreshing state... [id=apps]
╷
│ Error: Get "http://localhost/api/v1/namespaces/apps": dial tcp [::1]:80: connect: connection refused
│
│ with kubernetes_namespace.apps,
│ on main.tf line 36, in resource "kubernetes_namespace" "apps":
│ 36: resource "kubernetes_namespace" "apps" {
```
### Steps to Reproduce
1. Create a digital ocean cluster on a specific version with auto upgrade using terraform
2. Let auto upgrade happen, or manually upgrade from Digital Ocean
3. Run `terraform plan`
**Terraform Configuration Files**
```
resource "digitalocean_kubernetes_cluster" "my_cluster" {
name = "my-cluster"
region = "sgp1"
version = "1.21.2-do.1"
auto_upgrade = true
node_pool {
name = "my_cluster_pool"
size = "s-1vcpu-2gb"
node_count = 3
}
}
provider "kubernetes" {
host = digitalocean_kubernetes_cluster.my_cluster.endpoint
token = digitalocean_kubernetes_cluster.my_cluster.kube_config[0].token
cluster_ca_certificate = base64decode(digitalocean_kubernetes_cluster.my_cluster.kube_config[0].cluster_ca_certificate)
}
resource "kubernetes_namespace" "apps" {
metadata {
name = "apps"
}
depends_on = [
digitalocean_kubernetes_cluster.my_cluster
]
}
```
**Expected behavior**
Terraform v1.0.5
on darwin_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.8.0
+ provider registry.terraform.io/hashicorp/helm v2.1.2
+ provider registry.terraform.io/hashicorp/kubernetes v2.2.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/682/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/682/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/681 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/681/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/681/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/681/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/681 | 985,657,629 | MDExOlB1bGxSZXF1ZXN0NzI0OTMxMjM3 | 681 | Replace d.HasChange sequences with d.HasChanges | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-09-01T20:44:16 | 2021-09-02T08:04:54 | 2021-09-01T23:21:00 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/681/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/681/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/681",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/681",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/681.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/681.patch",
"merged_at": "2021-09-01T23:21:00"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/680 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/680/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/680/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/680/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/680 | 984,994,652 | MDU6SXNzdWU5ODQ5OTQ2NTI= | 680 | Running terraform plan manually rebuilds entire cluster and removes database | {
"login": "Wouter-J",
"id": 8821234,
"node_id": "MDQ6VXNlcjg4MjEyMzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8821234?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wouter-J",
"html_url": "https://github.com/Wouter-J",
"followers_url": "https://api.github.com/users/Wouter-J/followers",
"following_url": "https://api.github.com/users/Wouter-J/following{/other_user}",
"gists_url": "https://api.github.com/users/Wouter-J/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Wouter-J/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Wouter-J/subscriptions",
"organizations_url": "https://api.github.com/users/Wouter-J/orgs",
"repos_url": "https://api.github.com/users/Wouter-J/repos",
"events_url": "https://api.github.com/users/Wouter-J/events{/privacy}",
"received_events_url": "https://api.github.com/users/Wouter-J/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 | [
"@Wouter-J The screenshot you shared is of the project activity. A resource being removed from a project does not necessarily mean that is has been destroyed. Can you [use the API ](https://docs.digitalocean.com/reference/api/api-reference/#operation/list_database_clusters) to check the created at date for your dat... | 2021-09-01T10:43:47 | 2021-09-02T09:29:16 | 2021-09-02T09:29:16 | NONE | null | Last week I had to re-run my pipeline to refresh my SSL certificates; today I noticed that my entire cluster got deleted and re-created; instead of refreshed
In the digital ocean log this can be seen (I re-ran the pipeline to make sure that action was causing it)

My terraform plan output tells me this:
digitalocean_database_db.mbdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/MeerBouw]
digitalocean_database_user.hbuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/hb]
digitalocean_database_user.mbuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/mb]
digitalocean_database_user.olcuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/olc]
digitalocean_database_user.salesuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/salesUser]
digitalocean_database_user.huizeruser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/huizerUser]
digitalocean_database_user.loguser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/loggingUser]
digitalocean_database_firewall.firewall: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590-20200617192922960600000001]
digitalocean_database_db.salesdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/SALES005]
digitalocean_database_db.huizerdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/HuizerBouw]
digitalocean_database_user.ssuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/ss]
digitalocean_database_db.olcdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/OLC]
digitalocean_database_db.ssdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/StoringService]
digitalocean_database_db.hbdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/HuizerBouwer]
digitalocean_database_user.sbuser: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/user/sb]
digitalocean_database_db.logdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/UserLogs]
digitalocean_database_db.sbdb: Refreshing state... [id=14618c25-6161-4c54-a15d-da4f81676590/database/Sandbox]
And the plan says:

`Plan: 1 to add, 2 to change, 1 to destroy.`
The 1 being destroyed / recreated are the secrets which seems logical;
Finally the apply confirms this; but the DO result is as the first screenshot.
`Apply complete! Resources: 1 added, 2 changed, 1 destroyed.`
Additionally I do realise I am using an older version of terraform (0.14.5) but never had issues with it and it worked like expected before.
### Affected Resource(s)
- digitalocean_database_cluster
- digitalocean_database_db
- digitalocean_database_user
- digitalocean_loadbalancer
- digitalocean_app
### Expected Behavior
A refresh of the SSL certs
### Actual Behavior
A refresh of the certs did happen; but also the entire cluster was removed and re-created as a side effect
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/680/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/680/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/679 | 984,900,275 | MDExOlB1bGxSZXF1ZXN0NzI0MjgxMjEz | 679 | Add resource for monitor alerts | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"I enabled the new resource in provider.go, and you can now run the acceptance tests (I'll add more). This one fails. I doubt I'll have much time to work on this during next week.\r\n\r\n```\r\nmake testacc TESTARGS='-run=TestAccDigitalOceanMonitorAlertNoAlerts'\r\n```",
"It actually creates an alert for a drople... | 2021-09-01T09:04:56 | 2021-09-22T20:15:15 | 2021-09-22T19:57:25 | CONTRIBUTOR | null | It still needs a lot of work, but at least it's a start :) Hoping for a bit of help to get it pushed over the finish line. I'll start also on unit/acceptance tests.
- [x] Have Terraform create the alerts
- [x] Documentation. There is an example, attribute reference.
- [x] import acceptance test
- [x] More acceptance and uni test
#479 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/679/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/679",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/679",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/679.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/679.patch",
"merged_at": "2021-09-22T19:57:25"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/678 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/678/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/678/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/678/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/678 | 983,510,716 | MDU6SXNzdWU5ODM1MTA3MTY= | 678 | Panic in resourceDigitalOceanAppRead | {
"login": "nightvisi0n",
"id": 4653434,
"node_id": "MDQ6VXNlcjQ2NTM0MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4653434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nightvisi0n",
"html_url": "https://github.com/nightvisi0n",
"followers_url": "https://api.github.com/users/nightvisi0n/followers",
"following_url": "https://api.github.com/users/nightvisi0n/following{/other_user}",
"gists_url": "https://api.github.com/users/nightvisi0n/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nightvisi0n/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nightvisi0n/subscriptions",
"organizations_url": "https://api.github.com/users/nightvisi0n/orgs",
"repos_url": "https://api.github.com/users/nightvisi0n/repos",
"events_url": "https://api.github.com/users/nightvisi0n/events{/privacy}",
"received_events_url": "https://api.github.com/users/nightvisi0n/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\nWould it be possible to include your terraform config file? Has this config file always been erroring out or has it ever been successful?\r\n\r\nThanks!",
"Hi, after further investigation it seems like this only happens if the initial deployment fails (e.g. due to a missing image in DOCR). \r\n... | 2021-08-31T06:54:49 | 2021-09-02T21:01:50 | 2021-09-02T21:01:50 | NONE | null | # Bug Report
Today I tried to apply my terraform config, which ended in the following error:
```
Stack trace from the terraform-provider-digitalocean_v2.11.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xdfe531]
goroutine 72 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanAppRead(0x123ae98, 0xc0000ad620, 0xc00052a000, 0xf60860, 0xc0005af740, 0xc000437920, 0xc00062b908, 0x40e0f8)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_app.go:111 +0x471
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0001888c0, 0x123ae28, 0xc0003c7700, 0xc00052a000, 0xf60860, 0xc0005af740, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:347 +0x17f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0001888c0, 0x123ae28, 0xc0003c7700, 0xc0003ac7e0, 0xf60860, 0xc0005af740, 0xc0004967a0, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:624 +0x1cb
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc0000b0090, 0x123ae28, 0xc0003c7700, 0xc0003c7740, 0xc0003c7700, 0x40b965, 0x1007960)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:575 +0x43b
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc0000ba380, 0x123aed0, 0xc0003c7700, 0xc0008923c0, 0xc0000ba380, 0xc000739620, 0xc000815ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x105
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0x1049820, 0xc0000ba380, 0x123aed0, 0xc000739620, 0xc000892360, 0x0, 0x123aed0, 0xc000739620, 0xc00042ec00, 0x1065)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000d6540, 0x1244738, 0xc000642f00, 0xc000820000, 0xc0005ae120, 0x17d8b90, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0000d6540, 0x1244738, 0xc000642f00, 0xc000820000, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0000b61c0, 0xc0000d6540, 0x1244738, 0xc000642f00, 0xc000820000)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-digitalocean_v2.11.1 plugin crashed!
```
It seems this bug occurs in any operation where the current state from the DO App Platform has to be read.
The terraform config uses the following resources:
- digitalocean_database_cluster
- digitalocean_database_db
- digitalocean_database_user
- digitalocean_app
If you need any more info please let me know. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/678/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/678/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/677 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/677/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/677/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/677/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/677 | 980,308,975 | MDExOlB1bGxSZXF1ZXN0NzIwNTcxNTU4 | 677 | adding doc per #676 | {
"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 | [] | 2021-08-26T14:23:50 | 2021-08-26T14:26:39 | 2021-08-26T14:26:39 | MEMBER | null | editing documentation to include private_networking has been deprecated. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/677/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/677/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/677",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/677",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/677.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/677.patch",
"merged_at": "2021-08-26T14:26:39"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/676 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/676/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/676/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/676/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/676 | 979,608,116 | MDU6SXNzdWU5Nzk2MDgxMTY= | 676 | private_networking = false, seems to be ignored | {
"login": "cameronelliott",
"id": 868689,
"node_id": "MDQ6VXNlcjg2ODY4OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/868689?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cameronelliott",
"html_url": "https://github.com/cameronelliott",
"followers_url": "https://api.github.com/users/cameronelliott/followers",
"following_url": "https://api.github.com/users/cameronelliott/following{/other_user}",
"gists_url": "https://api.github.com/users/cameronelliott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cameronelliott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cameronelliott/subscriptions",
"organizations_url": "https://api.github.com/users/cameronelliott/orgs",
"repos_url": "https://api.github.com/users/cameronelliott/repos",
"events_url": "https://api.github.com/users/cameronelliott/events{/privacy}",
"received_events_url": "https://api.github.com/users/cameronelliott/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 reaching out. The `private_networking` has been marked deprecated and `vpc_uuid` should be used instead to specify a VPC network for the Droplet. This has been stated [here](https://docs.digitalocean.com/release-notes/api/#october-1), but I can see how that documentation is not obvious ... | 2021-08-25T20:48:25 | 2021-09-15T16:34:58 | 2021-09-15T16:34:58 | NONE | null |
## Describe the bug
Creating an instance with `private_networking = false` appears to have the private networking enabled anyway,
both in reality and in the `terraform show` output.
I'm sorta new to Terraform, so if this is somehow a user mistake (or my mistake), my apologies.
### Affected Resource(s)
- digitalocean_droplet
### Expected Behavior
I would think the output of `terraform show|grep priv` would show that private networking would be false, not true, given the apply preview and the .tf file show private_networking = false.
### Actual Behavior
`terraform show` indicates that private networking was enabled.
```
c@macmini ~/D/t/d/bug> terraform show|grep priv
ipv4_address_private = "10.132.0.3"
private_networking = true
c@macmini ~/D/t/d/bug>
```
### Steps to Reproduce
`terraform init`
`terraform apply -var "do_token=$DIGITALOCEAN_ACCESS_TOKEN" -var "pvt_key=$HOME/.ssh/id_rsa" -auto-approve`
Full log at gist link, with .tf files.
**Terraform Configuration Files**
https://gist.github.com/cameronelliott/9ef23e442572891937b0ed1c0c843f3f
**Terraform version**
```
c@macmini ~/D/t/d/bug> terraform -v
Terraform v1.0.5
on darwin_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.11.1
c@macmini ~/D/t/d/bug>
```
**Captured log Output**
https://gist.github.com/cameronelliott/9ef23e442572891937b0ed1c0c843f3f
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/676/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/676/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/675 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/675/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/675/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/675/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/675 | 977,097,849 | MDExOlB1bGxSZXF1ZXN0NzE3ODkwMDMw | 675 | Protect against panic when importing Droplet errors. | {
"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 | [] | 2021-08-23T14:27:48 | 2021-08-23T17:07:55 | 2021-08-23T15:01:36 | MEMBER | null | Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/674 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/675/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/675/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/675",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/675",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/675.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/675.patch",
"merged_at": "2021-08-23T15:01:36"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/674 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/674/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/674/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/674/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/674 | 976,234,216 | MDU6SXNzdWU5NzYyMzQyMTY= | 674 | panic when importing a droplet | {
"login": "kevinburke",
"id": 234019,
"node_id": "MDQ6VXNlcjIzNDAxOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevinburke",
"html_url": "https://github.com/kevinburke",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": "https://api.github.com/users/kevinburke/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kevinburke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kevinburke/subscriptions",
"organizations_url": "https://api.github.com/users/kevinburke/orgs",
"repos_url": "https://api.github.com/users/kevinburke/repos",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"received_events_url": "https://api.github.com/users/kevinburke/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 | [] | 2021-08-21T22:26:40 | 2021-08-23T15:01:36 | 2021-08-23T15:01:36 | NONE | null | Steps to reproduce:
- run `terraform init` with a blank slate
- add `resource "digitalocean_droplet" "mydroplet" { ... }`
- Try to run `terraform import digitalocean_droplet.website <id>`
I see the following panic:
```
Stack trace from the terraform-provider-digitalocean_v2.11.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1a1ec80]
goroutine 42 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanDropletImport(0xc000435780, 0x1b5f560, 0xc0001665a0, 0x14, 0xc000111d70, 0x1, 0x30, 0x2700108)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/resource_digitalocean_droplet.go:377 +0x180
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).ImportState(0xc000076190, 0x1e3a568, 0xc000418940, 0xc000715aa8, 0xc00057c130, 0x9, 0x203000, 0x203000, 0x203000, 0x0, ...)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/provider.go:369 +0x328
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ImportResourceState(0xc00000c060, 0x1e3a568, 0xc000418940, 0xc0006675e0, 0xc000418940, 0x1c48720, 0xc000166700)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:1021 +0xe5
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ImportResourceState(0xc000663d80, 0x1e3a610, 0xc000418940, 0xc0004bb270, 0xc000663d80, 0xc000166780, 0xc000298ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:349 +0xdc
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ImportResourceState_Handler(0x1c48720, 0xc000663d80, 0x1e3a610, 0xc000166780, 0xc000075b60, 0x0, 0x1e3a610, 0xc000166780, 0xc000040360, 0x21)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:398 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0000c8380, 0x1e44038, 0xc000001e00, 0xc0005c6100, 0xc0005ab0b0, 0x23dbcb8, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0000c8380, 0x1e44038, 0xc000001e00, 0xc0005c6100, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00003a3b0, 0xc0000c8380, 0x1e44038, 0xc000001e00, 0xc0005c6100)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-digitalocean_v2.11.1 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.
```
My guess is the problem is that you're not checking the error code of the API response (or whether `resp` is nil) here: https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/digitalocean/resource_digitalocean_droplet.go#L376-L377
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/674/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/674/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/673 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/673/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/673/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/673/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/673 | 975,019,265 | MDExOlB1bGxSZXF1ZXN0NzE2MjM2OTM1 | 673 | Prep v2.11.1 bugfix 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 | [] | 2021-08-19T20:22:36 | 2021-08-20T14:13:18 | 2021-08-20T14:13:15 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/673/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/673/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/673",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/673",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/673.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/673.patch",
"merged_at": "2021-08-20T14:13:15"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/672 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/672/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/672/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/672/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/672 | 974,827,146 | MDExOlB1bGxSZXF1ZXN0NzE2MDc2Nzc3 | 672 | Fix unexpected diffs for when TXT records are for the apex domain | {
"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 | [] | 2021-08-19T16:10:25 | 2021-08-19T16:48:33 | 2021-08-19T16:48:30 | MEMBER | null | Fixes: #664
`@` is synonymous with for the current domain. There are some places in the API where the full value may be supplied but `@` is returned. We need to compensate for that using a `DiffSuppressFunc`. We have something similar in place for the `value` attribute, but for some record types this behavior can be with the `name` attribute as well.
https://github.com/digitalocean/terraform-provider-digitalocean/blob/4fdccb665316809b4e797bd263b019142ac1af85/digitalocean/resource_digitalocean_record.go#L89-L93
This also required a change to the `constructFqdn` function to prevent output like `@.example.com` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/672/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/672/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/672",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/672",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/672.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/672.patch",
"merged_at": "2021-08-19T16:48:29"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/671 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/671/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/671/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/671/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/671 | 972,122,884 | MDExOlB1bGxSZXF1ZXN0NzEzNzY1MDIz | 671 | record: Move validation by type out of CustomizeDiff. | {
"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 | [
"> @andrewsomething does this happen when running a plan for the first time since the interpolated values won't be known until after the apply is run? Or does it happen on every plan?\r\n> Is there a case where the referenced value would be known when running plan?\r\n\r\n@scotchneat It only happens if the resourc... | 2021-08-16T21:43:47 | 2021-08-19T18:18:35 | 2021-08-19T18:18:32 | MEMBER | null | Fixes: #670
We're doing validation inside of a `CustomizeDiff` function. The interpolated values are not available there on plan. This prevents user from doing things like referencing a database cluster's port in a SRV record. This is similar to hashicorp/terraform-provider-consul#260 This PR moves that validation to later in the process.
This has one side effect. The reason for using a `CustomizeDiff` for something like this is that it allows you to error out early before any of the plan runs. Now the error will not happen until the record is being created. I don't love that, but not sure I see a better way to do it. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/671/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/671/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/671",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/671",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/671.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/671.patch",
"merged_at": "2021-08-19T18:18:32"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/670 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/670/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/670/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/670/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/670 | 967,614,915 | MDU6SXNzdWU5Njc2MTQ5MTU= | 670 | Assigning database cluster resource's port to an SRV record's port does not seem to work. | {
"login": "aphistic",
"id": 149495,
"node_id": "MDQ6VXNlcjE0OTQ5NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/149495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aphistic",
"html_url": "https://github.com/aphistic",
"followers_url": "https://api.github.com/users/aphistic/followers",
"following_url": "https://api.github.com/users/aphistic/following{/other_user}",
"gists_url": "https://api.github.com/users/aphistic/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aphistic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aphistic/subscriptions",
"organizations_url": "https://api.github.com/users/aphistic/orgs",
"repos_url": "https://api.github.com/users/aphistic/repos",
"events_url": "https://api.github.com/users/aphistic/events{/privacy}",
"received_events_url": "https://api.github.com/users/aphistic/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 reporting this @aphistic!\r\n\r\nIt looks like we're doing validation inside of a `CustomizeDiff` function. The interpolated values are not available there on plan. This is similar to https://github.com/hashicorp/terraform-provider-consul/issues/260 Looks like we'll need to move that validation to later... | 2021-08-11T22:59:28 | 2021-08-19T18:18:32 | 2021-08-19T18:18:32 | NONE | null | # Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
I'm trying to create a `digitalocean_record` SRV record that references one of my newly provisioned database clusters (done in the same plan/apply) by pointing the `digitalocean_database_cluster`'s `port` output to the `digitalocean_record`'s `port` field but when I try to do a `terraform plan` it tells me "'port' is required for when type is 'SRV'".
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_database_cluster
- digitalocean_record
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
- digitalocean_database_cluster
- digitalocean_record
### Expected Behavior
<!-- What should have happened? -->
I'd expect the SRV record to have the database cluster's port value after the cluster has been provisioned.
### Actual Behavior
<!-- What actually happened? -->
Terraform gives me the following error:
```
│ Error: `port` is required for when type is `SRV`
│
│ with digitalocean_record.pgsql_default_pub_srv,
│ on pgsql.tf line 21, in resource "digitalocean_record" "pgsql_default_pub_srv":
│ 21: resource "digitalocean_record" "pgsql_default_pub_srv" {
```
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
1. Create a `digitalocean_database_cluster` resource.
2. Create a `digitalocean_record` resource with type `SRV` and the port referencing the database cluster's port.
3. Run `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
data "terraform_remote_state" "core" {
backend = "remote"
config = {
organization = var.tf_core_org
workspaces = {
name = var.tf_core_workspace
}
}
}
resource "digitalocean_database_cluster" "pgsql_default" {
name = "${var.do_project}-pgsql"
engine = "pg"
version = "11"
size = "db-s-1vcpu-1gb"
region = var.do_region
node_count = 1
private_network_uuid = data.terraform_remote_state.core.outputs.vpc.id
tags = ["default"]
}
resource "digitalocean_record" "pgsql_default_pub" {
domain = data.terraform_remote_state.core.outputs.domain.name
type = "A"
name = "pub.default.pg.${data.terraform_remote_state.core.outputs.domain.env}"
value = digitalocean_database_cluster.pgsql_default.host
}
resource "digitalocean_record" "pgsql_default_pub_srv" {
domain = data.terraform_remote_state.core.outputs.domain.name
type = "SRV"
name = "_postgresql_.tcp.${digitalocean_record.pgsql_default_pub.fqdn}"
priority = 0
weight = 0
port = digitalocean_database_cluster.pgsql_default.port
value = digitalocean_record.pgsql_default_pub.fqdn
}
```
<!-- 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.0.4
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.10.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. -->
https://gist.github.com/aphistic/f6c6f36e9d699d6c3649e8e85efb9526
## Additional context
<!-- Add any other context about the problem here. -->
When troubleshooting I also tried to set the `digitalocean_record`'s to a static value of `1234` and that worked fine. When I changed it back to use the `port` field from the database cluster it failed with the same error message again. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/670/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/670/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/669 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/669/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/669/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/669/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/669 | 964,310,231 | MDExOlB1bGxSZXF1ZXN0NzA2Nzg2NTkz | 669 | Prep v2.11.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 | [] | 2021-08-09T19:38:50 | 2021-08-19T20:18:54 | 2021-08-09T19:42:27 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/669/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/669/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/669",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/669",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/669.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/669.patch",
"merged_at": "2021-08-09T19:42:27"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/668 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/668/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/668/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/668/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/668 | 964,275,003 | MDExOlB1bGxSZXF1ZXN0NzA2NzU3NDQ5 | 668 | database firewalls: Allow setting app as a type (fixes: #666). | {
"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 | [] | 2021-08-09T18:51:53 | 2021-08-09T19:35:14 | 2021-08-09T19:15:43 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/668/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/668/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/668",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/668",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/668.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/668.patch",
"merged_at": "2021-08-09T19:15:43"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/667 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/667/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/667/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/667/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/667 | 964,212,300 | MDExOlB1bGxSZXF1ZXN0NzA2NzA1MjAx | 667 | droplet: Support setting the droplet_agent attribute. | {
"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 | [] | 2021-08-09T17:27:30 | 2021-08-09T18:37:16 | 2021-08-09T18:37:14 | MEMBER | null | Corresponding change for: https://github.com/digitalocean/openapi/pull/535 and https://github.com/digitalocean/godo/pull/454 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/667/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/667/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/667",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/667",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/667.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/667.patch",
"merged_at": "2021-08-09T18:37:14"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/666 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/666/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/666/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/666/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/666 | 963,563,905 | MDU6SXNzdWU5NjM1NjM5MDU= | 666 | Add support for app platform type on digitalocean_database_firewall resources | {
"login": "saccy",
"id": 15975108,
"node_id": "MDQ6VXNlcjE1OTc1MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/15975108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saccy",
"html_url": "https://github.com/saccy",
"followers_url": "https://api.github.com/users/saccy/followers",
"following_url": "https://api.github.com/users/saccy/following{/other_user}",
"gists_url": "https://api.github.com/users/saccy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/saccy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saccy/subscriptions",
"organizations_url": "https://api.github.com/users/saccy/orgs",
"repos_url": "https://api.github.com/users/saccy/repos",
"events_url": "https://api.github.com/users/saccy/events{/privacy}",
"received_events_url": "https://api.github.com/users/saccy/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 | [] | 2021-08-09T01:09:14 | 2021-08-09T19:15:44 | 2021-08-09T19:15:44 | NONE | null | ### Is your feature request related to a problem? Please describe.
DigitalOcean now supports app platform as a trusted source for database clusters but this option is not available in terraform
### Describe the solution you'd like
An option to use `app_platform` as a recognised `type` when defining a trusted source for a DO database cluster in terraform. If this is already available then doco needs to be updated.
### Additional context
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_firewall
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/666/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/666/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/665 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/665/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/665/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/665/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/665 | 962,565,731 | MDU6SXNzdWU5NjI1NjU3MzE= | 665 | VPC private_network_uuid is not saved for mongo cluster and force recreation each time | {
"login": "gentiltoto",
"id": 36506036,
"node_id": "MDQ6VXNlcjM2NTA2MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/36506036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gentiltoto",
"html_url": "https://github.com/gentiltoto",
"followers_url": "https://api.github.com/users/gentiltoto/followers",
"following_url": "https://api.github.com/users/gentiltoto/following{/other_user}",
"gists_url": "https://api.github.com/users/gentiltoto/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gentiltoto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gentiltoto/subscriptions",
"organizations_url": "https://api.github.com/users/gentiltoto/orgs",
"repos_url": "https://api.github.com/users/gentiltoto/repos",
"events_url": "https://api.github.com/users/gentiltoto/events{/privacy}",
"received_events_url": "https://api.github.com/users/gentiltoto/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
},
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5N... | closed | false | null | [] | null | [
"Hi @gentiltoto,\r\n\r\nThanks for reporting this issue. We have identified the problem as an issue with the DigtialOcean API specific to MongoDB clusters. The response body for GET requests is missing the `private_network_uuid` attribute with the ID of the VPC where the cluster is located. As Terraform does not kn... | 2021-08-06T09:26:40 | 2022-03-25T19:00:15 | 2022-03-25T19:00:14 | NONE | null | # Bug Report
After creating a mongodb cluster with a vpc, the private_network_uuid is not saved to the state. But the API is working and the cluster is in the vpc.
In consequence, every time I run `terraform plan` it destroys and recreates the cluster (see below)
---
## Describe the bug
I have detected a warning in the output of terraform causing the private_network_uuid going from the id to an empty string.
### Affected Resource(s)
- digitalocean_database_cluster
- digitalocean_vpc
### Expected Behavior
To save the private_network_uuid to the state. It works for other types of databases.
### Actual Behavior
private_network_uuid not saved.
### Steps to Reproduce
First we run the initial `terraform plan terraform plan -var do_token="token" -out="tfplan"` then `TF_LOG=TRACE TF_LOG_PATH=logs_first_run.txt terraform apply "tfplan"` to see the output.
You should find something like this in the logs:
```
2021-08-06T10:53:17.368+0200 [WARN] Provider "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" produced an unexpected new value for digitalocean_database_cluster.mongo_cluster, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .private_network_uuid: was cty.StringVal("[redacted_id]"), but now cty.StringVal("")
```
Then with `terraform plan terraform plan -var do_token="token" -out="tfplan"` it force the recreation of the cluster
```
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_database_cluster.mongo_cluster must be replaced
-/+ resource "digitalocean_database_cluster" "mongo_cluster" {
~ database = "admin" -> (known after apply)
~ host = "[redacted]" -> (known after apply)
~ id = "[redacted]" -> (known after apply)
name = "cluster-do-mongo-error"
~ password = (sensitive value)
~ port = 27017 -> (known after apply)
~ private_host = "[redacted]" -> (known after apply)
+ private_network_uuid = "1aa88176-9ba4-482e-a3ec-2755796068e8" # forces replacement
~ private_uri = (sensitive value)
- tags = [] -> null
~ uri = (sensitive value)
~ urn = "[redacted]" -> (known after apply)
~ user = "doadmin" -> (known after apply)
# (5 unchanged attributes hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
```
**Terraform Configuration Files**
```
terraform {
# backend "http" {
# }
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.4.0"
}
}
}
variable do_token {}
provider digitalocean {
token = var.do_token
}
resource "digitalocean_vpc" "vpc"{
name = "vpc-do-mongo-error"
region = "ams3"
timeouts {
delete = "5m"
}
}
resource "digitalocean_database_cluster" "mongo_cluster" {
name = "cluster-do-mongo-error"
engine = "mongodb"
version= "4"
size = "db-s-1vcpu-1gb"
region = "ams3"
node_count = 1
private_network_uuid = digitalocean_vpc.vpc.id
}
```
**Expected behavior**
To save the vpc id or not force recreation.
**Terraform version**
```
Terraform v1.0.3
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.10.1
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/665/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/665/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/664 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/664/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/664/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/664/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/664 | 959,114,288 | MDU6SXNzdWU5NTkxMTQyODg= | 664 | TXT DNS records for the apex domain are re-written over and over | {
"login": "ghomem",
"id": 3352900,
"node_id": "MDQ6VXNlcjMzNTI5MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3352900?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghomem",
"html_url": "https://github.com/ghomem",
"followers_url": "https://api.github.com/users/ghomem/followers",
"following_url": "https://api.github.com/users/ghomem/following{/other_user}",
"gists_url": "https://api.github.com/users/ghomem/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ghomem/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghomem/subscriptions",
"organizations_url": "https://api.github.com/users/ghomem/orgs",
"repos_url": "https://api.github.com/users/ghomem/repos",
"events_url": "https://api.github.com/users/ghomem/events{/privacy}",
"received_events_url": "https://api.github.com/users/ghomem/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 a lot for fixing this.\r\n\r\nWill the fix be available on release v2.12.0 ?",
"@ghomem We'll be looking to cut a release soon. Since as of right now the only planned changes are bugfix only, the version would be v2.11.1",
"Thanks for the clarification and for the fix @andrewsomething .",
"@ghomem The... | 2021-08-03T13:23:59 | 2021-08-20T14:27:31 | 2021-08-19T16:48:30 | NONE | null | # Bug Report
Nothing changes on the code but TXT DNS records for the apex domain are re-written over and over. Every time we run `terraform plan` the "changes" are proposed. Everytime we run` terraform apply `the "changes" are applied. The "changes", however, do not change anything (see below).
## Describe the bug
The problem is there is some kind of false positive on the change detection
### Affected Resource(s)
- digitalocean_record
### Expected Behavior
I expected no changes proposed and no changes applied.
### Actual Behavior
Changes proposed and changes applied.
### Steps to Reproduce
Create a record like this one:
```
resource "digitalocean_record" "acme-spf-TXT" {
domain = digitalocean_domain.acme.name
type = "TXT"
name = "acme.io."
value = "v=spf1 a:smtp01.acme.io a:smtp02.acme.io a:smtp.acme.io a:mailserver01.acme.io a:mail.acme.io -all"
}
```
And run terraform plan + terraform apply multiple times. The output will be:
```
# digitalocean_record.acme-spf-TXT will be updated in-place
~ resource "digitalocean_record" "acme-spf-TXT" {
id = "164360618"
~ name = "@" -> "acme.io."
# (9 unchanged attributes hidden)
}
```
**Terraform Configuration Files**
```
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "2.10.1"
}
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
}
}
# configure the providers
provider "digitalocean" {
token = var.do_token
}
version = "2.10.1"
}
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
}
}
# configure the providers
provider "digitalocean" {
token = var.do_token
}
```
**Expected behavior**
The expected behaviour would be no changes reported or applied.
**Terraform version**
```
Terraform v1.0.3
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.10.1
+ provider registry.terraform.io/hashicorp/aws v3.52.0
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/664/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/664/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/663 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/663/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/663/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/663/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/663 | 954,235,868 | MDExOlB1bGxSZXF1ZXN0Njk4MTYyNzEx | 663 | add option to override user_data | {
"login": "voigt",
"id": 2982698,
"node_id": "MDQ6VXNlcjI5ODI2OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2982698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voigt",
"html_url": "https://github.com/voigt",
"followers_url": "https://api.github.com/users/voigt/followers",
"following_url": "https://api.github.com/users/voigt/following{/other_user}",
"gists_url": "https://api.github.com/users/voigt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voigt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voigt/subscriptions",
"organizations_url": "https://api.github.com/users/voigt/orgs",
"repos_url": "https://api.github.com/users/voigt/repos",
"events_url": "https://api.github.com/users/voigt/events{/privacy}",
"received_events_url": "https://api.github.com/users/voigt/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"I totally understand the use case and why the current user experience is poor here, but I'm not 100% sure on this change.\r\n\r\nWhen set, it would it completely ignore any changes to the provided `user_data` including in additional applies. That does seem to work for what you are doing currently. Though Terraform... | 2021-07-27T20:19:48 | 2023-03-21T14:35:10 | 2023-03-21T14:35:10 | NONE | null | This is a proposal to solve #659: an issue that resulted in `Error: Provider produced inconsistent final plan` if a droplets `user_data` is altered between plan and apply phase of terraform.
This PR introduces an additional boolean field `force_override_userdata` which enforces the new user_data value.
More description can be found in #659.
If there is a decision that the proposed solution is good to go, I will add additional tests and docs. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/663/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/663/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/663",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/663",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/663.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/663.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/662 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/662/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/662/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/662/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/662 | 953,815,421 | MDU6SXNzdWU5NTM4MTU0MjE= | 662 | Size of database_connection_pool cannot be edited without recreate | {
"login": "sundowndev",
"id": 16480203,
"node_id": "MDQ6VXNlcjE2NDgwMjAz",
"avatar_url": "https://avatars.githubusercontent.com/u/16480203?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sundowndev",
"html_url": "https://github.com/sundowndev",
"followers_url": "https://api.github.com/users/sundowndev/followers",
"following_url": "https://api.github.com/users/sundowndev/following{/other_user}",
"gists_url": "https://api.github.com/users/sundowndev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sundowndev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sundowndev/subscriptions",
"organizations_url": "https://api.github.com/users/sundowndev/orgs",
"repos_url": "https://api.github.com/users/sundowndev/repos",
"events_url": "https://api.github.com/users/sundowndev/events{/privacy}",
"received_events_url": "https://api.github.com/users/sundowndev/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": 620326613,
"node_id": "MDU6TGFiZWw2MjAzMj... | open | false | null | [] | null | [
"I don't think Edit Connection Pool Api exists.\r\n\r\nYou can only add a new connection pool\r\nhttps://docs.digitalocean.com/reference/api/api-reference/#operation/add_connection_pool",
"Just wanted to follow up here to mention that this feedback has been passed on to the Database as a Service team at DigitalOc... | 2021-07-27T12:08:50 | 2023-03-28T01:25:29 | 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
Modifying size of connection pool make Terraform to recreate the connection pool. So I have to edit that field on webui then edit in my HCL file for now.
Is that normal ? What will happen for alive connections when the pool will be recreated ?
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_database_connection_pool
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
Terraform to edit the existing resource.
### Actual Behavior
Terraform recreates the connection pool.
### Steps to Reproduce
1. Create a database connection pool, apply
```hcl
resource "digitalocean_database_connection_pool" "pool-01" {
cluster_id = digitalocean_database_cluster.postgres-example.id
name = "pool-01"
mode = "transaction"
size = 8
db_name = "defaultdb"
user = "doadmin"
}
```
2. Increase the size of the pool, run plan
```diff
- size = 8
+ size = 10
db_name = "defaultdb"
user = "doadmin"
}
```
Let me know if you need further information | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/662/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/662/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/661 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/661/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/661/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/661/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/661 | 952,987,097 | MDExOlB1bGxSZXF1ZXN0Njk3MDk5MzEy | 661 | docs: Update links to API documentation. | {
"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 | [] | 2021-07-26T14:49:55 | 2021-08-09T19:19:53 | 2021-08-09T19:19:05 | MEMBER | null | Actually surprised by how little of these there are. We should probably add some more cross-references. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/661/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/661/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/661",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/661",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/661.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/661.patch",
"merged_at": "2021-08-09T19:19:05"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/660 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/660/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/660/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/660/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/660 | 952,794,713 | MDU6SXNzdWU5NTI3OTQ3MTM= | 660 | digitalocean_container_registry does not support kubernetes integration | {
"login": "Troush",
"id": 1163074,
"node_id": "MDQ6VXNlcjExNjMwNzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1163074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Troush",
"html_url": "https://github.com/Troush",
"followers_url": "https://api.github.com/users/Troush/followers",
"following_url": "https://api.github.com/users/Troush/following{/other_user}",
"gists_url": "https://api.github.com/users/Troush/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Troush/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Troush/subscriptions",
"organizations_url": "https://api.github.com/users/Troush/orgs",
"repos_url": "https://api.github.com/users/Troush/repos",
"events_url": "https://api.github.com/users/Troush/events{/privacy}",
"received_events_url": "https://api.github.com/users/Troush/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 | [
"Thanks for describing this; I'd been digging through the docs thinking I was missing something.",
"I'd love this option as well!",
"A workaround for this, is to patch the ImagePullSecrets for the default ServiceAccount to use the `kubernetes.io/dockerconfigjson` secret, which can be created inside of your clus... | 2021-07-26T11:18:57 | 2023-04-17T15:03:01 | 2023-04-17T15:03:01 | NONE | null | ### Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is.
Ex. I'm always frustrated when [...] -->
Now you can integrate Registry with kubernetes, but this option is not provided by terraform provider. Only from cloud UI
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
I would like to be able to set registry secrets integration with the kubernetes. By setting cluster name or `all` to enable this integration inside the definition of `digitalocean_container_registry` resource
### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've
considered. -->
Option described in this resource https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/container_registry_docker_credentials is limited in away that you can set docker secrets for specific kubernetes namespace. Not cluster wide
### Additional context
<!-- Add any other context or screenshots about the feature request here.
Include links to other
[Issues](https://github.com/digitalocean/terraform-provider-digitalocean/issues)
or
[Discussions](https://github.com/digitalocean/terraform-provider-digitalocean/discussions) -->

| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/660/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/660/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/659 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/659/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/659/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/659/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/659 | 938,266,928 | MDU6SXNzdWU5MzgyNjY5Mjg= | 659 | digitalocean_droplet.userdata hash validation leading to conflict with resources created on the fly | {
"login": "voigt",
"id": 2982698,
"node_id": "MDQ6VXNlcjI5ODI2OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2982698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voigt",
"html_url": "https://github.com/voigt",
"followers_url": "https://api.github.com/users/voigt/followers",
"following_url": "https://api.github.com/users/voigt/following{/other_user}",
"gists_url": "https://api.github.com/users/voigt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voigt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voigt/subscriptions",
"organizations_url": "https://api.github.com/users/voigt/orgs",
"repos_url": "https://api.github.com/users/voigt/repos",
"events_url": "https://api.github.com/users/voigt/events{/privacy}",
"received_events_url": "https://api.github.com/users/voigt/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 | [
"Hi again,\r\n\r\nafter I wasn't satisfied with a workaround of splitting my setup into two separate terraform steps (and therefore creating two terraform states), I tried to understand the error better. I even found the reason why `Error: Provider produced inconsistent final plan` is thrown.\r\n\r\nFirst: `Error: ... | 2021-07-06T21:16:38 | 2021-07-31T22:10:19 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
I have the following Terraform manifest. Note that the `local-exec` provisioner creates the `controlplane.yaml` based on the loadbalancers IP, which is later consumed by `digitalocean_droplet.userdata`.
This leads to the fact, that the file hash at planning time is a different than at apply time.
```
resource "digitalocean_loadbalancer" "public" {
name = "talos-digital-ocean-tutorial-lb"
region = "fra1"
forwarding_rule {
entry_port = 443
entry_protocol = "tcp"
target_port = 6443
target_protocol = "tcp"
}
healthcheck {
port = 6443
protocol = "tcp"
check_interval_seconds = 10
response_timeout_seconds = 5
healthy_threshold = 5
unhealthy_threshold = 3
}
droplet_tag = "control-plane"
provisioner "local-exec" {
command = "talosctl gen config talos-reply-dev https://${self.ip}:443" <-- creates controlplane.yaml
}
}
resource "digitalocean_droplet" "master" {
count = 3
name = "talos-control-plane-${count.index+1}"
size = "s-2vcpu-4gb"
image = var.talos_image_id
region = "fra1"
private_networking = true
ssh_keys = ["30756593"]
user_data = "${file("controlplane.yaml")}" <-- consumes controlplane.yaml
tags = ["control-plane", "master", "reply", "test", "talos"]
// must only be created after the talos configs have been generated
// in digitalocean_loadbalancer.public local-exec provisioner
depends_on = [
digitalocean_loadbalancer.public,
]
}
output "loadbalancer_ip" {
value = digitalocean_loadbalancer.public.ip
}
```
The resulting error looks like this:
```
[...]
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for digitalocean_droplet.master[2] to
│ include new values learned so far during apply, provider
│ "registry.terraform.io/digitalocean/digitalocean" produced an
│ invalid new value for .user_data: was
│ cty.StringVal("a02e5d67fcb9b37bccfc1bb032304e35be70ae71"), but
│ now cty.StringVal("cbb80b0212f7146f87743a7bc1d925f4a295a4e4").
│
│ This is a bug in the provider, which should be reported in the
│ provider's own issue tracker.
[...]
```
### Describe the solution you'd like
I think generating a userdata file based on resources yet to be created is not uncommon and should be supported.
A quick and dirty fix would be an option to omit userdata hash validation, though I leave this to the experts to decide.
### Describe alternatives you've considered
Right now I separated terraform state in two steps: first create LB + userdata, second create nodes consuming the generated userdata.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/659/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/659/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/658 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/658/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/658/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/658/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/658 | 937,944,144 | MDExOlB1bGxSZXF1ZXN0Njg0NDE2MTM3 | 658 | Allow graceful shutdown of droplet on destroy/replace | {
"login": "gouyelliot",
"id": 10670887,
"node_id": "MDQ6VXNlcjEwNjcwODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/10670887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gouyelliot",
"html_url": "https://github.com/gouyelliot",
"followers_url": "https://api.github.com/users/gouyelliot/followers",
"following_url": "https://api.github.com/users/gouyelliot/following{/other_user}",
"gists_url": "https://api.github.com/users/gouyelliot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gouyelliot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gouyelliot/subscriptions",
"organizations_url": "https://api.github.com/users/gouyelliot/orgs",
"repos_url": "https://api.github.com/users/gouyelliot/repos",
"events_url": "https://api.github.com/users/gouyelliot/events{/privacy}",
"received_events_url": "https://api.github.com/users/gouyelliot/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"So I wasn't sure how to test that the droplet is actually shutdown before being destroyed, as both operations are done in the same function.\r\n\r\nPlease let me know if the test I added is relevant enough for you",
"@scotchneat Can you take another look at this.",
"FYI, we released a fork of this provider wit... | 2021-07-06T14:13:56 | 2021-10-06T22:02:46 | 2021-10-06T22:02:46 | CONTRIBUTOR | null | Currently, the provider directly delete the droplet on a destroy or replace operation, which might result in a loss of data in some our apps.
I've added a simple param allowing to gracefully shutting down the droplet before deleting it. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/658/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/658/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/658",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/658",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/658.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/658.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/657 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/657/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/657/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/657/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/657 | 936,945,922 | MDExOlB1bGxSZXF1ZXN0NjgzNTc3NzQ3 | 657 | Update to Context-aware API v2 functions | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"These are the remaining ones. @andrewsomething @scotchneat\r\n\r\n```\r\n❯ staticcheck . | grep SA1019\r\nconfig.go:73:29: oauth2.NoContext is deprecated: Use context.Background() or context.TODO() instead. (SA1019)\r\n}).WaitForState is deprecated: Please use WaitForStateContext to ensure proper plugin shutdown... | 2021-07-05T10:29:12 | 2021-07-08T11:40:00 | 2021-07-07T20:36:23 | CONTRIBUTOR | null | All of them found with `staticcheck . | grep SA1019`
This is just a subset of API v2 deprecation updates. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/657/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/657/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/657",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/657",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/657.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/657.patch",
"merged_at": "2021-07-07T20:36:23"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/656 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/656/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/656/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/656/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/656 | 935,770,318 | MDExOlB1bGxSZXF1ZXN0NjgyNjI4Njc5 | 656 | Simplified some loops based on go-staticcheck S1011 | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@scotchneat @andrewsomething Maybe you can also take a look at this. It's less \"controversial\" than #657 "
] | 2021-07-02T13:25:18 | 2021-07-14T06:53:47 | 2021-07-13T14:25:16 | CONTRIBUTOR | null | More details about the pattern are given in https://staticcheck.io/docs/checks#S1011
I found the matches with `staticcheck . | grep S1011` inside the digitalocean directory.
**Edit**: Same with S1031. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/656/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/656/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/656",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/656",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/656.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/656.patch",
"merged_at": "2021-07-13T14:25:16"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/655 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/655/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/655/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/655/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/655 | 933,496,029 | MDU6SXNzdWU5MzM0OTYwMjk= | 655 | Provider produced inconsistent final plan | {
"login": "carlpett",
"id": 214867,
"node_id": "MDQ6VXNlcjIxNDg2Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/214867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carlpett",
"html_url": "https://github.com/carlpett",
"followers_url": "https://api.github.com/users/carlpett/followers",
"following_url": "https://api.github.com/users/carlpett/following{/other_user}",
"gists_url": "https://api.github.com/users/carlpett/gists{/gist_id}",
"starred_url": "https://api.github.com/users/carlpett/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carlpett/subscriptions",
"organizations_url": "https://api.github.com/users/carlpett/orgs",
"repos_url": "https://api.github.com/users/carlpett/repos",
"events_url": "https://api.github.com/users/carlpett/events{/privacy}",
"received_events_url": "https://api.github.com/users/carlpett/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 @carlpett. I haven't been able to reproduce this issue using Terraform v1.0 with either v2.10.1 or v1.23.0 of the provider. What version of Terraform itself are you using?\r\n\r\nIs this something you've hit on multiple occasions? Wondering if there was a temporary issue with the load balancer API that has clea... | 2021-06-30T09:34:37 | 2023-03-28T06:58:33 | 2023-03-28T06:58:32 | NONE | null | # Bug Report
---
## Describe the bug
When destroying droplets and updating the loadbalancer with the new, reduced, list of droplets, several "inconsistent plan" errors are produced (one per droplet removed, and one for the load balancer):
```
Error: Provider produced inconsistent final plan
When expanding the plan for
module.web-service.module.loadbalancer.digitalocean_loadbalancer.loadbalancer[0]
to include new values learned so far during apply, provider
"registry.terraform.io/-/digitalocean" produced an invalid new value for
.droplet_ids: actual set element cty.NumberIntVal(2.47554157e+08) does not
correlate with any element in plan.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
... repeated once per destroyed droplet
Error: Provider produced inconsistent final plan
When expanding the plan for
module.web-service.module.loadbalancer.digitalocean_loadbalancer.loadbalancer[0]
to include new values learned so far during apply, provider
"registry.terraform.io/-/digitalocean" produced an invalid new value for
.droplet_ids: length changed from 18 to 24.
```
### Affected Resource(s)
- digitalocean_loadbalancer
### Expected Behavior
No errors
### Actual Behavior
Errors described above
### Steps to Reproduce
1. Reduce droplet count
1. `terraform apply`
**Terraform Configuration Files**
```tf
resource "digitalocean_droplet" "droplet" {
count = var.droplet_count
...
}
resource "digitalocean_loadbalancer" "loadbalancer" {
droplet_ids = digitalocean_droplet.droplet.*.id
...
}
```
## Additional context
This appears to have been a recent change in the DigitalOcean APIs? We've been doing the same operation for a long time without errors.
We are unfortunately stuck on 1.23, so this might be something which has been long deprecated and was finally removed? If so, this would just be a "FYI"-type of issue.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/655/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/655/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/654 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/654/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/654/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/654/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/654 | 932,920,561 | MDExOlB1bGxSZXF1ZXN0NjgwMjA2ODcx | 654 | Add code fence to docs for MongoDB. 🤦 | {
"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 | [
"Also updates the changelog so we can do a quick point release. Unfortunately the live docs can not be updated without a release."
] | 2021-06-29T17:00:50 | 2021-06-29T20:16:49 | 2021-06-29T20:16:46 | MEMBER | null | https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_cluster#create-a-new-mongodb-database-cluster | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/654/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/654/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/654",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/654",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/654.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/654.patch",
"merged_at": "2021-06-29T20:16:46"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/653 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/653/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/653/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/653/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/653 | 932,856,679 | MDExOlB1bGxSZXF1ZXN0NjgwMTUyODk1 | 653 | Prep v2.10.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 | [] | 2021-06-29T15:49:42 | 2021-06-29T15:55:16 | 2021-06-29T15:54:48 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/653/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/653/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/653",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/653",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/653.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/653.patch",
"merged_at": "2021-06-29T15:54:48"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/652 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/652/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/652/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/652/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/652 | 932,831,219 | MDExOlB1bGxSZXF1ZXN0NjgwMTMwMzIz | 652 | dbaas: Protect against setting empty tags. | {
"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 | [
"nice catch"
] | 2021-06-29T15:28:31 | 2021-06-29T15:42:46 | 2021-06-29T15:42:42 | MEMBER | null | There seems to have been a change in the DBaaS API. It is now returning:
```
"tags": [
""
]
```
in the response body for MongoDB clusters without any tags applied. This is wrong, but we should still protect against this here. Without doing so, we end up with a diff and a failing acceptance test:
```
$ make testacc TESTARGS='-run=TestAccDigitalOceanDatabaseCluster_MongoDBPassword'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDigitalOceanDatabaseCluster_MongoDBPassword -timeout 120m
? github.com/digitalocean/terraform-provider-digitalocean [no test files]
=== RUN TestAccDigitalOceanDatabaseCluster_MongoDBPassword
=== PAUSE TestAccDigitalOceanDatabaseCluster_MongoDBPassword
=== CONT TestAccDigitalOceanDatabaseCluster_MongoDBPassword
resource_digitalocean_database_cluster_test.go:409: Step 1/1 error: After applying this test step, the plan was not empty.
stdout:
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# digitalocean_database_cluster.foobar will be updated in-place
~ resource "digitalocean_database_cluster" "foobar" {
id = "1f706e9a-ada4-434c-9058-b7086a2a79e4"
name = "tf-acc-test-xda03f78tl"
~ tags = [
- "",
]
# (14 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
testing_new.go:63: Error running post-test destroy, there may be dangling resources: DatabaseCluster still exists
--- FAIL: TestAccDigitalOceanDatabaseCluster_MongoDBPassword (385.09s)
```
These changes applied resolve that problem. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/652/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/652/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/652",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/652",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/652.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/652.patch",
"merged_at": "2021-06-29T15:42:42"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/651 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/651/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/651/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/651/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/651 | 932,775,880 | MDExOlB1bGxSZXF1ZXN0NjgwMDgxMTc0 | 651 | Add MongoDB to database cluster 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 | [] | 2021-06-29T14:44:30 | 2021-08-28T21:07:56 | 2021-06-29T15:10:02 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/651/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/651/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/651",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/651",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/651.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/651.patch",
"merged_at": "2021-06-29T15:10:02"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/650 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/650/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/650/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/650/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/650 | 930,489,386 | MDExOlB1bGxSZXF1ZXN0Njc4MTY4ODIx | 650 | Make create timeouts configurable for DBaaS and K8s clusters. | {
"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 | [] | 2021-06-25T20:41:05 | 2021-06-28T15:46:02 | 2021-06-28T15:46:02 | MEMBER | null | DBaaS and K8s clusters can take awhile to come online. This PR makes the timeouts for them user configurable. It also bumps up the default K8s create timeout to 30 minutes.
Fixes: #329 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/650/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/650/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/650",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/650",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/650.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/650.patch",
"merged_at": "2021-06-28T15:46:01"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/649 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/649/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/649/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/649/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/649 | 926,181,369 | MDU6SXNzdWU5MjYxODEzNjk= | 649 | Inconsistent state after manually removing a kuberenetes_node_pool | {
"login": "kieranajp",
"id": 681426,
"node_id": "MDQ6VXNlcjY4MTQyNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/681426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kieranajp",
"html_url": "https://github.com/kieranajp",
"followers_url": "https://api.github.com/users/kieranajp/followers",
"following_url": "https://api.github.com/users/kieranajp/following{/other_user}",
"gists_url": "https://api.github.com/users/kieranajp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kieranajp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kieranajp/subscriptions",
"organizations_url": "https://api.github.com/users/kieranajp/orgs",
"repos_url": "https://api.github.com/users/kieranajp/repos",
"events_url": "https://api.github.com/users/kieranajp/events{/privacy}",
"received_events_url": "https://api.github.com/users/kieranajp/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 | [] | 2021-06-21T12:48:11 | 2023-03-28T01:33:41 | null | NONE | null | # Bug Report
When removing a kubernetes cluster's default node pool from the web UI, Terraform enters an inconsistent state.
Not sure how important it is in terms of actually breaking stuff, but this kind of thing makes me nervous :)
---
## Describe the bug
I wanted to resize the default node_pool attached to the cluster, which I know isn't possible directly (see #424), but I wanted to experiment. My plan was:
- Create a second node pool with the TF provider
- Head into the DO web UI and delete the primary node pool
- Run `terraform plan` and see what happens :)
I was expecting Terraform to attempt to recreate the node pool. However, when the plan finished, Terraform reported nothing to change.
Therefore, I now have a k8s cluster in a weird state - where the default node pool exists in Terraform state, yet the node pool has been deleted.
While I of course didn't do this on a production cluster (:clown_face:) this is a concerning state to be in, especially if it causes the cluster to be destroyed and reprovisioned entirely in future.
### Affected Resource(s)
- digitalocean_kubernetes_cluster
- digitalocean_kubernetes_node_pool
### Expected Behavior
Upon running `terraform plan` after removing the primary node pool, Terraform should have reported `1 to create` and attempted to recreate that node pool.
### Actual Behavior
Terraform was unable to detect that this node pool is now missing. I don't yet know if the node pool will be recreated if, for example, a Kubernetes upgrade is released.
I am also unable to find a way of getting back to a consistent state without destroying the cluster.
### Steps to Reproduce
This was run with Terraform 1.0.0 and provider version 2.9.0 (something to add to your template?)
1. Have a Kube cluster with 2 node pools. Something like this:
```hcl
resource "digitalocean_kubernetes_cluster" "staging_cluster" {
name = "staging-cluster"
region = "sfo2"
auto_upgrade = true
surge_upgrade = true
version = data.digitalocean_kubernetes_versions.staging.latest_version
node_pool {
name = "staging-node-pool"
size = "s-2vcpu-4gb"
node_count = 3
}
}
resource "digitalocean_kubernetes_node_pool" "staging_test_node_pool" {
cluster_id = digitalocean_kubernetes_cluster.staging_cluster.id
name = "staging-test-node-pool"
size = "s-4vcpu-8gb"
node_count = 3
}
```
2. Head into the DigitalOcean web UI and delete the primary node pool (`staging-node-pool` in this case)
3. Run `terraform apply` expecting to see an attempt to recreate the deleted node pool - instead see no changes required.
Worth noting that the DigitalOcean API correctly returns only one node pool when calling `/v2/kubernetes/clusters/<id>` directly:
```json
"node_pools": [
{
"id": "xxxx",
"name": "staging-test-node-pool",
// .....
"nodes": [
{
"id": "xxxx",
"name": "staging-test-node-pool-xxx",
"status": {
"state": "running"
},
"droplet_id": "xxx",
"created_at": "2021-06-21T12:21:55Z",
"updated_at": "2021-06-21T12:22:39Z"
}
// .... 3x
]
}
],
```
**References**
#424
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/649/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/649/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/648 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/648/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/648/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/648/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/648 | 923,865,784 | MDExOlB1bGxSZXF1ZXN0NjcyNTgxODEw | 648 | Fixes Firewall Resource exported attributes documentation to match actual. | {
"login": "ziazon",
"id": 1675902,
"node_id": "MDQ6VXNlcjE2NzU5MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1675902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ziazon",
"html_url": "https://github.com/ziazon",
"followers_url": "https://api.github.com/users/ziazon/followers",
"following_url": "https://api.github.com/users/ziazon/following{/other_user}",
"gists_url": "https://api.github.com/users/ziazon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ziazon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ziazon/subscriptions",
"organizations_url": "https://api.github.com/users/ziazon/orgs",
"repos_url": "https://api.github.com/users/ziazon/repos",
"events_url": "https://api.github.com/users/ziazon/events{/privacy}",
"received_events_url": "https://api.github.com/users/ziazon/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hey, @jubairsaidi - Thanks a ton for this PR! 😄\r\n\r\nWould you please shoot me an email when you get a chance?\r\nmcowley at digitalocean dot com 🎉"
] | 2021-06-17T12:26:25 | 2021-06-23T13:28:30 | 2021-06-21T16:30:55 | CONTRIBUTOR | null | Corrects documentation of inbound and outbound rules exported attributes. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/648/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/648/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/648",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/648",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/648.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/648.patch",
"merged_at": "2021-06-21T16:30:55"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/647 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/647/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/647/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/647/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/647 | 912,725,806 | MDExOlB1bGxSZXF1ZXN0NjYyODYyMDgz | 647 | Added note about dev_overrides | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-06-06T08:47:32 | 2021-06-07T17:53:03 | 2021-06-07T14:00:04 | CONTRIBUTOR | null | Fixes #646 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/647/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/647/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/647",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/647",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/647.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/647.patch",
"merged_at": "2021-06-07T14:00:03"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/646 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/646/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/646/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/646/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/646 | 912,125,412 | MDU6SXNzdWU5MTIxMjU0MTI= | 646 | Add CONTRIBUTING.md, or a section in the README.md file | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/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 | [] | 2021-06-05T06:56:04 | 2021-06-07T14:00:03 | 2021-06-07T14:00:03 | CONTRIBUTOR | null | ### Describe the solution you'd like
Add documentation on how to contribute, and test new features locally. Mostly how to run a version that you compiled yourself.
I'm new to Golang and also to Terraform SDK. The contributing documentation for Terraform that's referenced in the `README.md` file does not discuss this. The documentation just discusses testing and acceptance testing.
### Additional context
https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/README.md#developer-using-the-locally-compiled-azure-provider-binary
Instructs quite well what to do, adding some stuff to `~/.terraformrc` file. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/646/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/646/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/645 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/645/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/645/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/645/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/645 | 910,319,234 | MDU6SXNzdWU5MTAzMTkyMzQ= | 645 | Idea: Provider Region Code | {
"login": "designermonkey",
"id": 221344,
"node_id": "MDQ6VXNlcjIyMTM0NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/221344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/designermonkey",
"html_url": "https://github.com/designermonkey",
"followers_url": "https://api.github.com/users/designermonkey/followers",
"following_url": "https://api.github.com/users/designermonkey/following{/other_user}",
"gists_url": "https://api.github.com/users/designermonkey/gists{/gist_id}",
"starred_url": "https://api.github.com/users/designermonkey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/designermonkey/subscriptions",
"organizations_url": "https://api.github.com/users/designermonkey/orgs",
"repos_url": "https://api.github.com/users/designermonkey/repos",
"events_url": "https://api.github.com/users/designermonkey/events{/privacy}",
"received_events_url": "https://api.github.com/users/designermonkey/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 | [
"Thanks for the suggestion. There is a related issue that has some more context around this: https://github.com/digitalocean/terraform-provider-digitalocean/issues/226 I do think a provider level default would be useful. Though there are some complications around how to implement that with Terraform. That issue and... | 2021-06-03T09:47:35 | 2021-06-03T14:59:28 | 2021-06-03T14:59:28 | NONE | null | I am wondering if it would be possible to add a feature of being able to specify the region code in the provider config. In a similar vein to how AWS have it configured, if the region were specified in the provider, each resource would check for that value, or demand it in it's own config.
I feel this would make it easy to use the provider in modules for example, where currently I am having to specify the region code into the module, where instead I could simply pass the relevant provider by region.
What do you think? | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/645/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/645/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/644 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/644/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/644/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/644/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/644 | 905,887,255 | MDExOlB1bGxSZXF1ZXN0NjU2OTM0MTEy | 644 | Prep v2.9.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 | [] | 2021-05-28T18:49:12 | 2021-05-28T18:57:52 | 2021-05-28T18:57:50 | MEMBER | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/644/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/644/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/644",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/644",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/644.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/644.patch",
"merged_at": "2021-05-28T18:57:50"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/643 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/643/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/643/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/643/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/643 | 905,540,552 | MDExOlB1bGxSZXF1ZXN0NjU2NjExNjI1 | 643 | Cover required_providers in the main 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 | [] | 2021-05-28T14:46:32 | 2021-05-28T14:53:40 | 2021-05-28T14:53:37 | MEMBER | null | The example on the index page of our docs does not show the needed `required_providers` block.
This also adds a note for module developers about the need to include the `required_providers` block in children modules. Rather than go into detail on module development here, I link out to the main Terraform module development docs as the cover it in much more depth than we can or should on this page.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/636 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/643/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/643/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/643",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/643",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/643.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/643.patch",
"merged_at": "2021-05-28T14:53:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/642 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/642/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/642/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/642/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/642 | 904,457,468 | MDExOlB1bGxSZXF1ZXN0NjU1NjA5MzA3 | 642 | Upgrade Terraform SDK to v2.6.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 | [] | 2021-05-28T00:51:40 | 2021-11-08T22:13:19 | 2021-05-28T16:16:45 | MEMBER | null | In addition to upgrading the Terraform SDK to v2.6.1, this PR:
- Removes our internal copy of `setutil` in favor of SDK version which was added in the newer version
- Uses stable IDs for 'datalist' data sources. This fixes the problems seen in https://github.com/digitalocean/terraform-provider-digitalocean/pull/511#issuecomment-775504225 when using a Terraform 0.13.x binary with an SDK version >= v2.1.0
- Updates a number of tests where needed | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/642/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/642/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/642",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/642",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/642.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/642.patch",
"merged_at": "2021-05-28T16:16:45"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/641 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/641/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/641/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/641/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/641 | 903,856,286 | MDExOlB1bGxSZXF1ZXN0NjU1MDcxODMz | 641 | Add certificate_name to load balancer 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 | [] | 2021-05-27T14:33:57 | 2022-08-12T15:23:55 | 2021-05-28T18:35:29 | MEMBER | null | The load balancer data source and resource share a common `flattenForwardingRules` method:
https://github.com/digitalocean/terraform-provider-digitalocean/blob/a6eac978a441954b14512f7e829e7135030f7cff/digitalocean/loadbalancer.go#L190
When using the load balancer data source with a load balancer that has a TLS certificate, we're seeing errors setting the data to state. This is because the shared method adds `certificate_name` to the forwarding rule, but currently only the resource uses that. This PR adds the attribute to the data source as well.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/569
```
$ make testacc TESTARGS='-run=TestAccDataSourceDigitalOceanLoadBalancer_tlsCert'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccDataSourceDigitalOceanLoadBalancer_tlsCert -timeout 120m
? github.com/digitalocean/terraform-provider-digitalocean [no test files]
=== RUN TestAccDataSourceDigitalOceanLoadBalancer_tlsCert
=== PAUSE TestAccDataSourceDigitalOceanLoadBalancer_tlsCert
=== CONT TestAccDataSourceDigitalOceanLoadBalancer_tlsCert
--- PASS: TestAccDataSourceDigitalOceanLoadBalancer_tlsCert (130.70s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean 130.714s
testing: warning: no tests to run
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/internal/datalist (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/internal/mutexkv (cached) [no tests to run]
testing: warning: no tests to run
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/internal/setutil (cached) [no tests to run]
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/641/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/641/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/641",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/641",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/641.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/641.patch",
"merged_at": "2021-05-28T18:35:29"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/640 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/640/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/640/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/640/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/640 | 899,883,808 | MDExOlB1bGxSZXF1ZXN0NjUxNTE5Nzc1 | 640 | changing SSH key will ForceNew on Droplet | {
"login": "MasonEgger",
"id": 11214847,
"node_id": "MDQ6VXNlcjExMjE0ODQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/11214847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MasonEgger",
"html_url": "https://github.com/MasonEgger",
"followers_url": "https://api.github.com/users/MasonEgger/followers",
"following_url": "https://api.github.com/users/MasonEgger/following{/other_user}",
"gists_url": "https://api.github.com/users/MasonEgger/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MasonEgger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MasonEgger/subscriptions",
"organizations_url": "https://api.github.com/users/MasonEgger/orgs",
"repos_url": "https://api.github.com/users/MasonEgger/repos",
"events_url": "https://api.github.com/users/MasonEgger/events{/privacy}",
"received_events_url": "https://api.github.com/users/MasonEgger/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/612"
] | 2021-05-24T18:06:23 | 2021-05-27T14:57:41 | 2021-05-27T14:57:38 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/640/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/640/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/640",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/640",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/640.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/640.patch",
"merged_at": "2021-05-27T14:57:38"
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/639 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/639/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/639/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/639/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/639 | 896,099,809 | MDU6SXNzdWU4OTYwOTk4MDk= | 639 | Urn missing in database_replica | {
"login": "nicolasdalbroi",
"id": 81831534,
"node_id": "MDQ6VXNlcjgxODMxNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/81831534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicolasdalbroi",
"html_url": "https://github.com/nicolasdalbroi",
"followers_url": "https://api.github.com/users/nicolasdalbroi/followers",
"following_url": "https://api.github.com/users/nicolasdalbroi/following{/other_user}",
"gists_url": "https://api.github.com/users/nicolasdalbroi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nicolasdalbroi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nicolasdalbroi/subscriptions",
"organizations_url": "https://api.github.com/users/nicolasdalbroi/orgs",
"repos_url": "https://api.github.com/users/nicolasdalbroi/repos",
"events_url": "https://api.github.com/users/nicolasdalbroi/events{/privacy}",
"received_events_url": "https://api.github.com/users/nicolasdalbroi/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 @nicolasdalbroi \r\nThank you so much for bringing this up to us! We've also monitored the other similar Github issue to this (#590 ) and are currently investigating it. Will give an update as soon as we can. ",
"Hi there,\r\n\r\nThank you for bringing this to our attention. This has been addressed in #921 a... | 2021-05-20T00:31:12 | 2023-01-30T20:38:04 | 2023-01-30T20:38:04 | NONE | null | Hello,
I'm experiencing some issues when I try to obtain the database replica urn while importing the resource. If I import the resource as a database_cluster it shows the urn, but it is not a database cluster. The urn is needed for the plan to not delete the resource.
Terraform v0.15.1 provider registry.terraform.io/digitalocean/digitalocean v2.8.0
Can I get some help with this?
Regards. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/639/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/639/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/637 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/637/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/637/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/637/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/637 | 895,700,493 | MDExOlB1bGxSZXF1ZXN0NjQ3ODg5MDYx | 637 | Updating Provider Doc for Dummies like me | {
"login": "ElijahGartin",
"id": 1342956,
"node_id": "MDQ6VXNlcjEzNDI5NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1342956?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ElijahGartin",
"html_url": "https://github.com/ElijahGartin",
"followers_url": "https://api.github.com/users/ElijahGartin/followers",
"following_url": "https://api.github.com/users/ElijahGartin/following{/other_user}",
"gists_url": "https://api.github.com/users/ElijahGartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ElijahGartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ElijahGartin/subscriptions",
"organizations_url": "https://api.github.com/users/ElijahGartin/orgs",
"repos_url": "https://api.github.com/users/ElijahGartin/repos",
"events_url": "https://api.github.com/users/ElijahGartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/ElijahGartin/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"#636 ",
"@ElijahGartin we greatly appreciate the time you put into this contribution. \r\n\r\nSince there was a [note to module developers](https://github.com/digitalocean/terraform-provider-digitalocean/pull/643/files#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6R40) added in #643 regard... | 2021-05-19T17:25:39 | 2021-09-20T21:40:34 | 2021-09-20T21:40:25 | NONE | null | Updated the Docs/Index.md file to add detail about utilizing digitalocean provider for dummies like me who came from AWS, Azure, and GCP.
I added a module example with a more explicit declaration for the digital ocean provider.
Thank you @tdyas and @andrewsomething for helping me understand this in more depth. I've taken for granted hashicorp maintained providers in the past and appreciate you both clearing this up for me. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/637/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/637/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/637",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/637",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/637.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/637.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/636 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/636/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/636/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/636/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/636 | 894,888,895 | MDU6SXNzdWU4OTQ4ODg4OTU= | 636 | Error finding provider registry.terraform.io/hashicorp/digitalocean | {
"login": "ElijahGartin",
"id": 1342956,
"node_id": "MDQ6VXNlcjEzNDI5NTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1342956?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ElijahGartin",
"html_url": "https://github.com/ElijahGartin",
"followers_url": "https://api.github.com/users/ElijahGartin/followers",
"following_url": "https://api.github.com/users/ElijahGartin/following{/other_user}",
"gists_url": "https://api.github.com/users/ElijahGartin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ElijahGartin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ElijahGartin/subscriptions",
"organizations_url": "https://api.github.com/users/ElijahGartin/orgs",
"repos_url": "https://api.github.com/users/ElijahGartin/repos",
"events_url": "https://api.github.com/users/ElijahGartin/events{/privacy}",
"received_events_url": "https://api.github.com/users/ElijahGartin/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 | [
"You need to add the `terraform { required_providers { ... } }` block to the module. It looks like Terraform is resolving `hashicorp/digitalocean` for the module instead of `digitalocean/digitalocean`. Using the `required_providers` block there would tell Terraform to explicitly use `digitalocean/digitalocean` inst... | 2021-05-19T00:43:51 | 2021-05-28T14:53:37 | 2021-05-28T14:53:37 | NONE | null | # Bug Report
Hello,
I ran into an issue while working on migrating a terraform code base from GCP to DO. Similar issues have seemingly to have popped up a few times from what I found (in the References area at the bottom), albeit my issue is slightly different considering I already had the "solution code" in my provider information and it is still throwing an error.
---
## Describe the bug
When I attempt to build a `digitalocean_vpc`, it errors out being unable to find the provider for this resource. It was my first module other than connecting via my API token. Hoping I don't run into similar issues with firewalls and droplets.
### Affected Resource(s)
- digitalocean_vpc
### Expected Behavior
Terraform should have initialized.
### Actual Behavior
Terraform Errored out claiming it couldn't find the provider for the vpc resource.
```
> terraform -v
Terraform v0.15.3
on linux_amd64
```
```
> terraform init
Initializing modules...
- network in modules/network
Initializing the backend...
Initializing provider plugins...
- Finding latest version of hashicorp/digitalocean...
- Finding digitalocean/digitalocean versions matching ">= 2.8.0"...
- Installing digitalocean/digitalocean v2.8.0...
- Installed digitalocean/digitalocean v2.8.0 (signed by a HashiCorp partner, key ID F82037E524B9C0E8)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/digitalocean:
│ provider registry registry.terraform.io does not have a provider named
│ registry.terraform.io/hashicorp/digitalocean
│
│ Did you intend to use digitalocean/digitalocean? If so, you must specify that source
│ address in each module which requires that provider. To see which modules are currently
│ depending on hashicorp/digitalocean, run the following command:
│ terraform providers
╵
```
```
terraform providers
Providers required by configuration:
.
├── provider[registry.terraform.io/digitalocean/digitalocean] >= 2.8.0
└── module.network
└── provider[registry.terraform.io/hashicorp/digitalocean]
```
### Steps to Reproduce
1. `terraform init`
**Terraform Configuration Files**
### ROOT: Provider.tf
```
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.8.0"
}
}
}
provider "digitalocean" {
token = var.token
}
```
### ROOT: Main.tf
```
module "network" {
source = "./modules/network"
region = var.region
}
```
### Network Module:Main.tf
```
resource "digitalocean_vpc" "valheimvpc" {
name = "valheim-vpc"
region = var.region
ip_range = "10.10.10.0/24"
}
```
**Expected behavior**
Terraform initializes the resources needed from the DO provider.
**Debug Output**
https://gist.github.com/ElijahGartin/9474417826692d676a70c6004e9aa5b9
**Panic Output**
N/A
**References**
[Issue 621](https://github.com/digitalocean/terraform-provider-digitalocean/issues/621)
[Issue 270](https://github.com/rancher/terraform-provider-rke/issues/270)
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/636/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/636/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/635 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/635/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/635/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/635/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/635 | 892,000,189 | MDExOlB1bGxSZXF1ZXN0NjQ0Nzc4MDYw | 635 | move config.yaml to proper directory | {
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://api.github.com/users/scotchneat/followers",
"following_url": "https://api.github.com/users/scotchneat/following{/other_user}",
"gists_url": "https://api.github.com/users/scotchneat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/scotchneat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scotchneat/subscriptions",
"organizations_url": "https://api.github.com/users/scotchneat/orgs",
"repos_url": "https://api.github.com/users/scotchneat/repos",
"events_url": "https://api.github.com/users/scotchneat/events{/privacy}",
"received_events_url": "https://api.github.com/users/scotchneat/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-05-14T15:07:44 | 2021-05-17T14:53:21 | 2021-05-17T14:53:17 | CONTRIBUTOR | null | I noticed the new issue templates (from #633) didn't display the custom choice options I added to the `config.yml`.
It turns out I created the file in the wrong directory. This fixes that. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/635/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/635/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/635",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/635",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/635.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/635.patch",
"merged_at": "2021-05-17T14:53:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/634 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/634/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/634/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/634/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/634 | 876,134,299 | MDU6SXNzdWU4NzYxMzQyOTk= | 634 | Add support for price_* attributes with resources other than digitalocean_droplet | {
"login": "colinwilson",
"id": 12916656,
"node_id": "MDQ6VXNlcjEyOTE2NjU2",
"avatar_url": "https://avatars.githubusercontent.com/u/12916656?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/colinwilson",
"html_url": "https://github.com/colinwilson",
"followers_url": "https://api.github.com/users/colinwilson/followers",
"following_url": "https://api.github.com/users/colinwilson/following{/other_user}",
"gists_url": "https://api.github.com/users/colinwilson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/colinwilson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/colinwilson/subscriptions",
"organizations_url": "https://api.github.com/users/colinwilson/orgs",
"repos_url": "https://api.github.com/users/colinwilson/repos",
"events_url": "https://api.github.com/users/colinwilson/events{/privacy}",
"received_events_url": "https://api.github.com/users/colinwilson/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 | [
"Hi there,\r\n\r\nThanks for surfacing up this important use case. As of now, the \"price_monthly\" and \"price_hourly\" are specific attributes to droplets so we wouldn't be able to export them via other resources just yet. There is tremendous value in the use case you've laid out, and because of that we have rela... | 2021-05-05T07:09:11 | 2021-05-14T14:46:45 | 2021-05-14T14:46:45 | CONTRIBUTOR | null | ### Terraform Version
Terraform v0.15.0
### Affected Resource(s)
- digitalocean_database_cluster
- digitalocean_loadbalancer
- ....
Hi,
The `digitalocean_droplet` resource exports both a `price_monthly` and `price_hourly` attribute.
### Suggestion
It would be useful (if feasible?) to output these two attributes for other billable resources too.
### Use case
My particular use case is to declare an output totalling the price of all billable resources provisioned by `terraform apply`.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/634/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/634/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/633 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/633/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/633/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/633/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/633 | 875,902,709 | MDExOlB1bGxSZXF1ZXN0NjMwMTUxODgz | 633 | Update issue templates | {
"login": "scotchneat",
"id": 8887224,
"node_id": "MDQ6VXNlcjg4ODcyMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8887224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scotchneat",
"html_url": "https://github.com/scotchneat",
"followers_url": "https://api.github.com/users/scotchneat/followers",
"following_url": "https://api.github.com/users/scotchneat/following{/other_user}",
"gists_url": "https://api.github.com/users/scotchneat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/scotchneat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scotchneat/subscriptions",
"organizations_url": "https://api.github.com/users/scotchneat/orgs",
"repos_url": "https://api.github.com/users/scotchneat/repos",
"events_url": "https://api.github.com/users/scotchneat/events{/privacy}",
"received_events_url": "https://api.github.com/users/scotchneat/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-05-04T22:56:34 | 2021-05-07T19:53:02 | 2021-05-06T16:35:04 | CONTRIBUTOR | null | Updates the issue templates to the new GitHub format. Includes instructions to contact support for 500 level API responses | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/633/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/633/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/633",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/633",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/633.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/633.patch",
"merged_at": "2021-05-06T16:35:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/632 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/632/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/632/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/632/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/632 | 874,646,102 | MDExOlB1bGxSZXF1ZXN0NjI5MTU5NDky | 632 | Use hashicorp/ghaction-import-gpg in release 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 | [] | 2021-05-03T14:54:20 | 2021-05-03T15:43:02 | 2021-05-03T15:42:59 | MEMBER | null | HashiCorp forked the action we are using to import our GPG key to sign releases. This moves to it so that it is controlled by a trusted organization, not an individual.
Context: https://github.com/hashicorp/terraform-provider-scaffolding/issues/22 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/632/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/632/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/632",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/632",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/632.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/632.patch",
"merged_at": "2021-05-03T15:42:59"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/631 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/631/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/631/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/631/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/631 | 874,004,057 | MDExOlB1bGxSZXF1ZXN0NjI4NjUwNDQ3 | 631 | Add support for Kubernetes maintenance policy | {
"login": "atombrella",
"id": 6141390,
"node_id": "MDQ6VXNlcjYxNDEzOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6141390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atombrella",
"html_url": "https://github.com/atombrella",
"followers_url": "https://api.github.com/users/atombrella/followers",
"following_url": "https://api.github.com/users/atombrella/following{/other_user}",
"gists_url": "https://api.github.com/users/atombrella/gists{/gist_id}",
"starred_url": "https://api.github.com/users/atombrella/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/atombrella/subscriptions",
"organizations_url": "https://api.github.com/users/atombrella/orgs",
"repos_url": "https://api.github.com/users/atombrella/repos",
"events_url": "https://api.github.com/users/atombrella/events{/privacy}",
"received_events_url": "https://api.github.com/users/atombrella/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@scotchneat Could you please have a look to see if this is moving in the right direction? Thanks.",
"Hi @atombrella, thanks for your patience. I'll take a look at it shortly.",
"@atombrella I just wanted to drop an update to let you know we haven't forgotten about your contribution. \r\n\r\nWhile reviewing it,... | 2021-05-02T17:56:53 | 2021-06-08T07:57:19 | 2021-06-07T23:43:10 | CONTRIBUTOR | null | I'm not too familiar with GoLang, but maybe this is a good opportunity to work a bit with it. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/631/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/631/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/631",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/631",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/631.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/631.patch",
"merged_at": "2021-06-07T23:43:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/630 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/630/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/630/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/630/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/630 | 868,911,030 | MDExOlB1bGxSZXF1ZXN0NjI0MzU3NDkx | 630 | Upgrade to digitalocean/godo v1.60.0 | {
"login": "stack72",
"id": 227823,
"node_id": "MDQ6VXNlcjIyNzgyMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/227823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stack72",
"html_url": "https://github.com/stack72",
"followers_url": "https://api.github.com/users/stack72/followers",
"following_url": "https://api.github.com/users/stack72/following{/other_user}",
"gists_url": "https://api.github.com/users/stack72/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stack72/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stack72/subscriptions",
"organizations_url": "https://api.github.com/users/stack72/orgs",
"repos_url": "https://api.github.com/users/stack72/repos",
"events_url": "https://api.github.com/users/stack72/events{/privacy}",
"received_events_url": "https://api.github.com/users/stack72/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hey Paul! Guessing you're looking to expose the URN for K8s clusters? :smile: If so, I already have a PR open for that that brings in the new godo.",
"I should have realised :D Thanks!! Looking forward to 2.9.0 ;)"
] | 2021-04-27T14:33:13 | 2021-04-27T14:39:27 | 2021-04-27T14:39:24 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/630/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/630/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/630",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/630",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/630.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/630.patch",
"merged_at": null
} | true | |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/629 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/629/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/629/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/629/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/629 | 868,907,724 | MDExOlB1bGxSZXF1ZXN0NjI0MzU0NzMw | 629 | digitalocean_spaces_bucket: Provide better error on malformated 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 | [] | 2021-04-27T14:29:47 | 2021-04-27T14:40:45 | 2021-04-27T14:40:42 | MEMBER | null | Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/627 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/629/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/629/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/629",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/629",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/629.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/629.patch",
"merged_at": "2021-04-27T14:40:42"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/628 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/628/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/628/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/628/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/628 | 867,998,642 | MDU6SXNzdWU4Njc5OTg2NDI= | 628 | DO Apps fail to due to the fixed timeout | {
"login": "liarco",
"id": 1532277,
"node_id": "MDQ6VXNlcjE1MzIyNzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1532277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liarco",
"html_url": "https://github.com/liarco",
"followers_url": "https://api.github.com/users/liarco/followers",
"following_url": "https://api.github.com/users/liarco/following{/other_user}",
"gists_url": "https://api.github.com/users/liarco/gists{/gist_id}",
"starred_url": "https://api.github.com/users/liarco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liarco/subscriptions",
"organizations_url": "https://api.github.com/users/liarco/orgs",
"repos_url": "https://api.github.com/users/liarco/repos",
"events_url": "https://api.github.com/users/liarco/events{/privacy}",
"received_events_url": "https://api.github.com/users/liarco/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-04-26T18:28:31 | 2021-09-20T21:33:41 | 2021-09-20T21:33:41 | NONE | null | Hi, I'm experiencing extremely long build times (sometimes even over 30mins) so my deployments with terraform fail almost always and I need to untaint the resource after the deployment is successful. I think that having a custom timeout may help until builds get faster.
https://github.com/digitalocean/terraform-provider-digitalocean/blob/9f791e084b07bbf5aac27b84061b1492132c9d05/digitalocean/resource_digitalocean_app.go#L159-L162
FYI: in my case the same build run (locally or with GH actions) takes less then 10mins.
Thank you for your time. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/628/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/628/timeline | null | completed | null | null | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.