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/1146 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1146/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1146/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1146/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1146 | 2,261,429,803 | I_kwDOBZHfyM6Gyq4r | 1,146 | App Platform image credentials set as required | {
"login": "davidsbond",
"id": 6227720,
"node_id": "MDQ6VXNlcjYyMjc3MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6227720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidsbond",
"html_url": "https://github.com/davidsbond",
"followers_url": "https://api.github.com/users/davidsbond/followers",
"following_url": "https://api.github.com/users/davidsbond/following{/other_user}",
"gists_url": "https://api.github.com/users/davidsbond/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davidsbond/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidsbond/subscriptions",
"organizations_url": "https://api.github.com/users/davidsbond/orgs",
"repos_url": "https://api.github.com/users/davidsbond/repos",
"events_url": "https://api.github.com/users/davidsbond/events{/privacy}",
"received_events_url": "https://api.github.com/users/davidsbond/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [] | 2024-04-24T14:22:39 | 2024-04-24T14:22:39 | null | CONTRIBUTOR | 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
With the inclusion of https://github.com/digitalocean/terraform-provider-digitalocean/pull/1137 in the latest release the provider now throws an error if the `registry_credentials` string is not set. Previously, if you're using images within the DO registry, you don't need to provide credentials.
I don't think the `registry_credentials` field in the spec should be required.
### Affected Resource(s)
<!-- Please list the resources, for example:
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
- digitalocean_app
### Expected Behavior
Not including the `registry_credentials` property should not error when using a DO registry image or public image.
### Actual Behavior
You get the error:
```
The argument "registry_credentials" is required, but no definition was found.
```
### Steps to Reproduce
Attempt to deploy a digitalocean app via terraform using a public image or something in the DO registry.
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
<!-- Run `terraform -v` to show the version. If you are not running the latest
version of Terraform, please upgrade because your issue may have already been
fixed. -->
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- If Terraform produced a panic, please provide a link to a GitHub Gist
containing the output of the `crash.log`. -->
## Additional context
<!-- Add any other context about the problem here. -->
**Important Factoids**
<!-- Droplets use custom images or kernels. -->
**References**
<!-- Include links to other GitHub issues (open or closed) or Pull Requests
that relate to this issue. -->
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1146/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1145 | 2,259,826,688 | PR_kwDOBZHfyM5thrth | 1,145 | chore: fix header of changelog | {
"login": "yordis",
"id": 4237280,
"node_id": "MDQ6VXNlcjQyMzcyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4237280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yordis",
"html_url": "https://github.com/yordis",
"followers_url": "https://api.github.com/users/yordis/followers",
"following_url": "https://api.github.com/users/yordis/following{/other_user}",
"gists_url": "https://api.github.com/users/yordis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yordis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yordis/subscriptions",
"organizations_url": "https://api.github.com/users/yordis/orgs",
"repos_url": "https://api.github.com/users/yordis/repos",
"events_url": "https://api.github.com/users/yordis/events{/privacy}",
"received_events_url": "https://api.github.com/users/yordis/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-04-23T21:44:55 | 2024-04-23T21:44:55 | null | NONE | null | ## Context
Just making the file aligned with previous format (or maybe we should change the previous format) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1145/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1145",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1145",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1145.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1145.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1144 | 2,259,740,034 | PR_kwDOBZHfyM5thYkm | 1,144 | chore: remove go.mod replace for old unused pkg | {
"login": "yordis",
"id": 4237280,
"node_id": "MDQ6VXNlcjQyMzcyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4237280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yordis",
"html_url": "https://github.com/yordis",
"followers_url": "https://api.github.com/users/yordis/followers",
"following_url": "https://api.github.com/users/yordis/following{/other_user}",
"gists_url": "https://api.github.com/users/yordis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yordis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yordis/subscriptions",
"organizations_url": "https://api.github.com/users/yordis/orgs",
"repos_url": "https://api.github.com/users/yordis/repos",
"events_url": "https://api.github.com/users/yordis/events{/privacy}",
"received_events_url": "https://api.github.com/users/yordis/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-04-23T20:47:19 | 2024-04-23T20:47:19 | null | NONE | null | ## Context
I am working on [Crossplane DigitalOcean No Fork Upjet Provider](https://github.com/straw-hat-team/provider-digitalocean/pull/4) that requires me to add this package as a dependency. I noticed this old package being pinned to an old version, so I had to deal with adding the `replace` statement to then realize that this package does not seem to be used. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1144/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1144",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1144",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1144.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1144.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1143 | 2,254,303,600 | I_kwDOBZHfyM6GXfFw | 1,143 | `digitalocean_project` created on failure, absent from TF state | {
"login": "aasseman",
"id": 33075224,
"node_id": "MDQ6VXNlcjMzMDc1MjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/33075224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aasseman",
"html_url": "https://github.com/aasseman",
"followers_url": "https://api.github.com/users/aasseman/followers",
"following_url": "https://api.github.com/users/aasseman/following{/other_user}",
"gists_url": "https://api.github.com/users/aasseman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aasseman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aasseman/subscriptions",
"organizations_url": "https://api.github.com/users/aasseman/orgs",
"repos_url": "https://api.github.com/users/aasseman/repos",
"events_url": "https://api.github.com/users/aasseman/events{/privacy}",
"received_events_url": "https://api.github.com/users/aasseman/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [] | 2024-04-20T01:09:39 | 2024-04-20T01:09:39 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
On `digitalocean_project` resource creation, if there is a resource type error (for example trying to add a VPC to the project), project still get created, but it does not get registered in the terraform state.
Thus after fixing the resources and applying again, terraform fails because it tries to crate the project again while it already exists on DO.
### Affected Resource(s)
- digitalocean_project
### Expected Behavior
Either:
- The project is created without any resources (current result) *and* it gets registered in tf's state
- The project is not created at all
### Actual Behavior
Project is created on DO, TF a failure to create the project and does not add it to the state.
### Steps to Reproduce
1. `terraform apply`
```
Error: Error creating project: Error assigning resources: POST https://api.digitalocean.com/v2/projects/xxx/resources: 400 (request "xxx") resource types must be one of the following: AppPlatformApp Bucket Database Domain DomainRecord Droplet Firewall FloatingIp Image Kubernetes LoadBalancer MarketplaceApp Saas Volume
```
3. Remove erroneous resource from project (such as a VPC)
4. `terraform apply`
```
Error: Error creating Project: POST https://api.digitalocean.com/v2/projects: 409 (request "xxx") name is already in use (duplicate)
```
**Terraform Configuration Files**
```tf
resource "digitalocean_vpc" "test" {
name = "test"
region = local.region
ip_range = "10.8.0.0/16"
}
resource "digitalocean_project" "test" {
name = "test"
resources = [
digitalocean_vpc.test.urn,
]
}
```
**Terraform version**
```
$ tofu -v
OpenTofu v1.6.2
on linux_amd64
+ provider registry.opentofu.org/digitalocean/digitalocean v2.36.0
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1143/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1142 | 2,252,840,872 | PR_kwDOBZHfyM5tKhq6 | 1,142 | build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | open | false | null | [] | null | [] | 2024-04-19T12:21:22 | 2024-04-19T12:21:23 | null | CONTRIBUTOR | null | Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/net/commit/c48da131589f122489348be5dfbcb6457640046f"><code>c48da13</code></a> http2: fix TestServerContinuationFlood flakes</li>
<li><a href="https://github.com/golang/net/commit/762b58d1cf6e0779780decad89c6c1523386638d"><code>762b58d</code></a> http2: fix tipos in comment</li>
<li><a href="https://github.com/golang/net/commit/ba872109ef2dc8f1da778651bd1fd3792d0e4587"><code>ba87210</code></a> http2: close connections when receiving too many headers</li>
<li><a href="https://github.com/golang/net/commit/ebc8168ac8ac742194df729305175940790c55a2"><code>ebc8168</code></a> all: fix some typos</li>
<li><a href="https://github.com/golang/net/commit/3678185f8a652e52864c44049a9ea96b7bcc066a"><code>3678185</code></a> http2: make TestCanonicalHeaderCacheGrowth faster</li>
<li><a href="https://github.com/golang/net/commit/448c44f9287b6745f958d74aa2a17ec7761c2f13"><code>448c44f</code></a> http2: remove clientTester</li>
<li><a href="https://github.com/golang/net/commit/c7877ac4213b2f859831366f5a35b353e0dc9f66"><code>c7877ac</code></a> http2: convert the remaining clientTester tests to testClientConn</li>
<li><a href="https://github.com/golang/net/commit/d8870b0bf2f2426fc8d19a9332f652da5c25418f"><code>d8870b0</code></a> http2: use synthetic time in TestIdleConnTimeout</li>
<li><a href="https://github.com/golang/net/commit/d73acffdc9493532acb85777105bb4a351eea702"><code>d73acff</code></a> http2: only set up deadline when Server.IdleTimeout is positive</li>
<li><a href="https://github.com/golang/net/commit/89f602b7bbf237abe0467031a18b42fc742ced08"><code>89f602b</code></a> http2: validate client/outgoing trailers</li>
<li>Additional commits viewable in <a href="https://github.com/golang/net/compare/v0.17.0...v0.23.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1142/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1142",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1142",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1142.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1142.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1141 | 2,251,320,726 | PR_kwDOBZHfyM5tFYds | 1,141 | Prep v2.37.0 | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-04-18T18:39:54 | 2024-04-23T14:05:34 | 2024-04-23T14:05:33 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1141/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1141",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1141",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1141.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1141.patch",
"merged_at": "2024-04-23T14:05:33"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1140 | 2,245,659,374 | PR_kwDOBZHfyM5syGE_ | 1,140 | Terraform Provider updates for Opensearch | {
"login": "bhardwajRahul",
"id": 7105473,
"node_id": "MDQ6VXNlcjcxMDU0NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7105473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhardwajRahul",
"html_url": "https://github.com/bhardwajRahul",
"followers_url": "https://api.github.com/users/bhardwajRahul/followers",
"following_url": "https://api.github.com/users/bhardwajRahul/following{/other_user}",
"gists_url": "https://api.github.com/users/bhardwajRahul/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bhardwajRahul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bhardwajRahul/subscriptions",
"organizations_url": "https://api.github.com/users/bhardwajRahul/orgs",
"repos_url": "https://api.github.com/users/bhardwajRahul/repos",
"events_url": "https://api.github.com/users/bhardwajRahul/events{/privacy}",
"received_events_url": "https://api.github.com/users/bhardwajRahul/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [
"#### ️✅ There are no secrets present in this pull request anymore.\n\nIf these secrets were true positive and are still valid, we highly recommend you to revoke them.\nOnce a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.\nFind [here](https://d... | 2024-04-16T10:10:05 | 2024-04-23T15:38:57 | null | MEMBER | null | This PR aims at adding support for Opensearch in Terraform Provider. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1140/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1140",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1140",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1140.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1140.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1139 | 2,245,547,000 | PR_kwDOBZHfyM5sxthR | 1,139 | Add PostgreSQL configuration resource and test | {
"login": "linuxluigi",
"id": 8136842,
"node_id": "MDQ6VXNlcjgxMzY4NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8136842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linuxluigi",
"html_url": "https://github.com/linuxluigi",
"followers_url": "https://api.github.com/users/linuxluigi/followers",
"following_url": "https://api.github.com/users/linuxluigi/following{/other_user}",
"gists_url": "https://api.github.com/users/linuxluigi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/linuxluigi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/linuxluigi/subscriptions",
"organizations_url": "https://api.github.com/users/linuxluigi/orgs",
"repos_url": "https://api.github.com/users/linuxluigi/repos",
"events_url": "https://api.github.com/users/linuxluigi/events{/privacy}",
"received_events_url": "https://api.github.com/users/linuxluigi/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Taking a look now- thank you so much!\r\n\r\nAlso, running `make terrafmt` and pushing up the changes will fix that CI test",
"Thanks for reviewing. I applied your suggestions.",
"Thanks! Still working through the review- looks great though!!",
"I had some time today so I pushed up some changes as well. Most... | 2024-04-16T09:13:53 | 2024-04-22T07:18:10 | 2024-04-18T18:27:01 | CONTRIBUTOR | null | This pull request adds a new PostgreSQL configuration resource and a corresponding test. The resource allows users to configure various PostgreSQL settings for a DigitalOcean database cluster, similar like to MySQL.
I tried to implement all options from [godo](https://github.com/digitalocean/terraform-provider-digitalocean/blob/629bb3b8b4717cc2d6e96acf02207009d22790d7/vendor/github.com/digitalocean/godo/databases.go#L512). For the test I'm not sure if they are working correct, I guess here it will need some more work. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1139/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1139",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1139",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1139.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1139.patch",
"merged_at": "2024-04-18T18:27:01"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1138 | 2,239,869,534 | I_kwDOBZHfyM6FgbJe | 1,138 | digitalocean_spaces_bucket_cors_configuration: Does not allow to order CORS rules | {
"login": "joaomnmoreira",
"id": 3534117,
"node_id": "MDQ6VXNlcjM1MzQxMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3534117?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joaomnmoreira",
"html_url": "https://github.com/joaomnmoreira",
"followers_url": "https://api.github.com/users/joaomnmoreira/followers",
"following_url": "https://api.github.com/users/joaomnmoreira/following{/other_user}",
"gists_url": "https://api.github.com/users/joaomnmoreira/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joaomnmoreira/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joaomnmoreira/subscriptions",
"organizations_url": "https://api.github.com/users/joaomnmoreira/orgs",
"repos_url": "https://api.github.com/users/joaomnmoreira/repos",
"events_url": "https://api.github.com/users/joaomnmoreira/events{/privacy}",
"received_events_url": "https://api.github.com/users/joaomnmoreira/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [] | 2024-04-12T11:10:57 | 2024-04-12T11:10:57 | null | NONE | null | Resource does not respect rules order, nor does have an order argument:
cors_rule {
allowed_headers = ["*"]
allowed_methods = ["GET"]
allowed_origins = ["*"]
max_age_seconds = 3000
}
cors_rule {
allowed_headers = ["*"]
allowed_methods = ["PUT", "POST", "DELETE"]
allowed_origins = ["https://${digitalocean_record.project-dns-ipv4-app1.fqdn}"]
max_age_seconds = 3000
}
In DO UI GET was second in the list and assets were issuing CORS error. After manually changing order everything was ok. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1138/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1137 | 2,238,244,495 | PR_kwDOBZHfyM5sY283 | 1,137 | apps: included registry_credentials option for images | {
"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 | [] | 2024-04-11T17:51:27 | 2024-04-11T17:56:21 | 2024-04-11T17:56:20 | MEMBER | null | This unblocks users of private non-DOCR registries with App Platform (https://github.com/digitalocean/terraform-provider-digitalocean/issues/1132).
`registry_credentials` is currently documented here: https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-container-images/#deploy-container-using-the-apps-spec
This unfortunately has the same draw back as other App Platform secret values when used with Terraform:
> The registry_credentials field requires you to initially submit your access credentials in clear text, but App Platform then encrypts and stores these values similar to secret environment variables. After submitting the spec, App Platform replaces the values in the spec with encrypted values. Once the values are encrypted, you can safely store the spec in the app’s repo.
So it requires manually changing the value in the Terraform configuration to the returned encrypted one or using a `lifecycle` block to ignore the changes. E.g.
```hcl
lifecycle {
ignore_changes = [
spec.0.service.0.image["registry_credentials"]
]
}
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1137/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1137",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1137",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1137.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1137.patch",
"merged_at": "2024-04-11T17:56:20"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1136 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1136/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1136/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1136/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1136 | 2,237,150,322 | I_kwDOBZHfyM6FWDRy | 1,136 | Add Postgres database attributes | {
"login": "linuxluigi",
"id": 8136842,
"node_id": "MDQ6VXNlcjgxMzY4NDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8136842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/linuxluigi",
"html_url": "https://github.com/linuxluigi",
"followers_url": "https://api.github.com/users/linuxluigi/followers",
"following_url": "https://api.github.com/users/linuxluigi/following{/other_user}",
"gists_url": "https://api.github.com/users/linuxluigi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/linuxluigi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/linuxluigi/subscriptions",
"organizations_url": "https://api.github.com/users/linuxluigi/orgs",
"repos_url": "https://api.github.com/users/linuxluigi/repos",
"events_url": "https://api.github.com/users/linuxluigi/events{/privacy}",
"received_events_url": "https://api.github.com/users/linuxluigi/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5326124780,
"node_id": "LA_kwDOBZHfyM8AAAABPXY27A",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/api-parity",
"name": "api-parity",
"color": "65F9AC",
"default": false,
"description": "Feature supported in the DigitalOcean API not yet i... | closed | false | null | [] | null | [
"Hi there,\r\n\r\nThank you for the write up. Good news is that since this is already supported in Godo, this can be supported in our terraform-provider. \r\n\r\nBasically, we'd have to follow the same pattern we did for `digitalocean_database_mysql_config` and `digitalocean_database_redis_config` by creating anoth... | 2024-04-11T08:04:38 | 2024-04-18T18:27:19 | 2024-04-18T18:27:19 | CONTRIBUTOR | 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 [...] -->
I need to configure `work_mem` and `shared_buffers_percentage` for a Postgres cluster. Right now I can only do it via the API, not even with the UI.
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
Add a way to configure a Postgres cluster like it can be done for MySQL. It looks like the attributes from Postgres are already mapped in [databases.go](https://github.com/digitalocean/terraform-provider-digitalocean/blob/629bb3b8b4717cc2d6e96acf02207009d22790d7/vendor/github.com/digitalocean/godo/databases.go#L512).
### 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) -->
I started my [request](https://github.com/pulumi/pulumi-digitalocean/issues/679) at the Pulumi provider, since the Terraform provider mapped already those attributes.
Thanks for you time! I'm also happy to contribute when I got some hint what to do. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1136/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/1136/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1135 | 2,229,987,920 | I_kwDOBZHfyM6E6upQ | 1,135 | digitalocean_cdn custom domain certificate fails "invalid certificate issued by Cloudflare origin CA" | {
"login": "SkeLLLa",
"id": 2273103,
"node_id": "MDQ6VXNlcjIyNzMxMDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2273103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SkeLLLa",
"html_url": "https://github.com/SkeLLLa",
"followers_url": "https://api.github.com/users/SkeLLLa/followers",
"following_url": "https://api.github.com/users/SkeLLLa/following{/other_user}",
"gists_url": "https://api.github.com/users/SkeLLLa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SkeLLLa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SkeLLLa/subscriptions",
"organizations_url": "https://api.github.com/users/SkeLLLa/orgs",
"repos_url": "https://api.github.com/users/SkeLLLa/repos",
"events_url": "https://api.github.com/users/SkeLLLa/events{/privacy}",
"received_events_url": "https://api.github.com/users/SkeLLLa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [
"After hundreds of retries I was able to setup the certificate manually through web UI and now terraform resource shows that it wants to change the cdn resource because\r\n```\r\n ~ resource \"digitalocean_cdn\" \"bucket_cdn\" {\r\n ~ certificate_name = \"needs-cloudflare-cert\" -> \"correct-cert-name\"\r\n ... | 2024-04-07T22:32:07 | 2024-04-09T21:57:35 | 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
Trying to add custom domain to CDN resource on DO leads to an error: "invalid certificate issued by Cloudflare origin CA"
### Affected Resource(s)
- digitalocean_cdn
### Expected Behavior
No error, cdn is enabled.
### Actual Behavior
Certificate is added to DO successfully. But CDN creation failed with error: 422 invalid certificate issued by Cloudflare origin CA (type: invalid-cert, retryable: false): invalid certificate issued by Cloudflare origin CA
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. Create an origin certificate on using cloudflare provider
2. Create `digitalocean_spaces_bucket` resource.
3. Using output values from it create `digitalocean_certificate` resource with name `bucket_cdn_cert`.
4. Create `digitalocean_cdn` resource with following config
```
resource "digitalocean_cdn" "bucket_cdn" {
depends_on = [digitalocean_spaces_bucket.bucket]
origin = digitalocean_spaces_bucket.bucket.bucket_domain_name
custom_domain = "cdn.custom_domain.com"
certificate_name = digitalocean_certificate.bucket_cdn_cert.name
}
```
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
Terraform: 1.7.2
DO Provider: 2.36.0
**Debug Output**
```
---[ REQUEST ]---------------------------------------
POST /v2/cdn/endpoints HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.7.2-dev godo/1.109.0
Content-Length: 173
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{
"origin": "bucketname.ams3.digitaloceanspaces.com",
"ttl": 0,
"custom_domain": "cdn.custom_domain.com",
"certificate_id": "9818a4d2-33c3-43fa-aff7-a40cdedbe1ae"
}
-----------------------------------------------------: timestamp="2024-04-08T00:16:32.410+0200"
---[ RESPONSE ]--------------------------------------
HTTP/2.0 422 Unprocessable Entity
Content-Length: 184
Cf-Cache-Status: DYNAMIC
Cf-Ray: 870d61f2a97d2d30-KBP
Content-Type: application/json; charset=utf-8
Date: Sun, 07 Apr 2024 22:16:42 GMT
Ratelimit-Limit: 5
Ratelimit-Remaining: 3
Ratelimit-Reset: 1712528202
Server: cloudflare
X-Request-Id: b025a649-ae04-41a3-be48-b45eea491ece
X-Response-From: service
{
"id": "unprocessable_entity",
"message": "invalid certificate issued by Cloudflare origin CA (type: invalid-cert, retryable: false): invalid certificate issued by Cloudflare origin CA"
}
-----------------------------------------------------: timestamp="2024-04-08T00:16:42.752+0200"
```
## Additional context
<!-- Add any other context about the problem here. -->
See provider request ids and certificate id (those are not changed).
**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. -->
Might be related to #1095, #1086.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1135/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1134 | 2,226,818,349 | I_kwDOBZHfyM6Euo0t | 1,134 | feature: resource for firewall rule | {
"login": "KylePeterDavies",
"id": 12613678,
"node_id": "MDQ6VXNlcjEyNjEzNjc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12613678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KylePeterDavies",
"html_url": "https://github.com/KylePeterDavies",
"followers_url": "https://api.github.com/users/KylePeterDavies/followers",
"following_url": "https://api.github.com/users/KylePeterDavies/following{/other_user}",
"gists_url": "https://api.github.com/users/KylePeterDavies/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KylePeterDavies/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KylePeterDavies/subscriptions",
"organizations_url": "https://api.github.com/users/KylePeterDavies/orgs",
"repos_url": "https://api.github.com/users/KylePeterDavies/repos",
"events_url": "https://api.github.com/users/KylePeterDavies/events{/privacy}",
"received_events_url": "https://api.github.com/users/KylePeterDavies/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-04-05T02:06:34 | 2024-04-05T02:06:59 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
I would like a separate Terraform Resource for Firewall Rules. Over just a Terraform Resource for Firewall. I have found this useful in AWS. As downstream Infrastructure As Code can just add and remove rules.
### Describe the solution you'd like
```terraform
resource "digitalocean_firewall" "firewall" {
name = "firewall"
}
```
```terraform
resource "digitalocean_firewall_rule" "firewall_rue" {
firewall = "firewall"
type = "inbound"
port = 22
protocol = "tcp"
addresses = ["0.0.0.0/0"]
}
```
### Describe alternatives you've considered
N/A
### Additional context
See [AWS Security Group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) and [AWS Security Group Rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule)
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1134/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1133 | 2,223,182,751 | PR_kwDOBZHfyM5rlM6z | 1,133 | Add config options for global load balancers | {
"login": "asaha2",
"id": 5553898,
"node_id": "MDQ6VXNlcjU1NTM4OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5553898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/asaha2",
"html_url": "https://github.com/asaha2",
"followers_url": "https://api.github.com/users/asaha2/followers",
"following_url": "https://api.github.com/users/asaha2/following{/other_user}",
"gists_url": "https://api.github.com/users/asaha2/gists{/gist_id}",
"starred_url": "https://api.github.com/users/asaha2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asaha2/subscriptions",
"organizations_url": "https://api.github.com/users/asaha2/orgs",
"repos_url": "https://api.github.com/users/asaha2/repos",
"events_url": "https://api.github.com/users/asaha2/events{/privacy}",
"received_events_url": "https://api.github.com/users/asaha2/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"cc @andrewsomething for reviews 👀 "
] | 2024-04-03T15:04:16 | 2024-04-16T16:29:04 | 2024-04-16T16:29:04 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1133/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1133",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1133",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1133.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1133.patch",
"merged_at": "2024-04-16T16:29:04"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1132 | 2,203,976,973 | I_kwDOBZHfyM6DXgUN | 1,132 | Missing registry_credentials in digitalocean_app.service.image for registry_type = "GHCR" | {
"login": "matthiasbruns",
"id": 1906627,
"node_id": "MDQ6VXNlcjE5MDY2Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1906627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matthiasbruns",
"html_url": "https://github.com/matthiasbruns",
"followers_url": "https://api.github.com/users/matthiasbruns/followers",
"following_url": "https://api.github.com/users/matthiasbruns/following{/other_user}",
"gists_url": "https://api.github.com/users/matthiasbruns/gists{/gist_id}",
"starred_url": "https://api.github.com/users/matthiasbruns/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matthiasbruns/subscriptions",
"organizations_url": "https://api.github.com/users/matthiasbruns/orgs",
"repos_url": "https://api.github.com/users/matthiasbruns/repos",
"events_url": "https://api.github.com/users/matthiasbruns/events{/privacy}",
"received_events_url": "https://api.github.com/users/matthiasbruns/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 | [
"Can I help somehow? I wasn't able to find anything about the credentials in the api docs for the DO api. Maybe I am blind, if there is something, can you point me to it? Implementing this should be easy then.,",
"Hi @matthiasbruns, \r\n\r\nSorry for the delayed response. It looks like `registry_credentials` is o... | 2024-03-23T17:41:26 | 2024-04-15T11:18:34 | 2024-04-11T17:56:37 | NONE | null | ### Is your feature request related to a problem? Please describe.
I am using GitHub packages to deploy to DigitalOcean App Platform. I want to switch from manual UI configuration to terraform but hit a roadblock.
Since our packages registry is private, I used to configure the deployment with "username:api_key" for the GitHub access.
There is no such option in the [app provider](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/app).
### Describe the solution you'd like
```terraform
resource "digitalocean_app" "backend" {
spec {
name = local.app_name
service {
//...
image {
registry = "registry
registry_type = "GHCR"
repository = "repository"
tag = "main"
**registry_credentials= "username:password"** //<-- add something like this
}
}
}
lifecycle {
prevent_destroy = true
}
}
```
### Describe alternatives you've considered
My current solution is to deploy the app via terraform, let the build fail on DigitalOcean and configure the credentials in the UI afterwards. But when the Spec has to change due to a change in terraform, this will break and registry_credentials will be gone again.
### Additional context
[digitalocean_app](https://github.com/digitalocean/terraform-provider-digitalocean/discussions)
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1132/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1131 | 2,198,442,090 | PR_kwDOBZHfyM5qRUvJ | 1,131 | Databases: Set Kafka Connection Attributes (port, uri, private_uri) | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-03-20T19:56:25 | 2024-03-21T17:45:26 | null | MEMBER | null | Addresses #1121
Database team is working on a ticket to address this in the API layer, but in the meantime this sets the port, uri, and private uri at the terraform layer so users can easily collect connection details for their kafka clusters.
Default port will be the public SASL port, 25073. This is consistent with the UI. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1131/timeline | null | null | true | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1131",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1131",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1131.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1131.patch",
"merged_at": null
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1130 | 2,193,690,096 | I_kwDOBZHfyM6CwQ3w | 1,130 | Add optional "signature" field for `digitalocean_custom_image` resources | {
"login": "Tythos",
"id": 600046,
"node_id": "MDQ6VXNlcjYwMDA0Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/600046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tythos",
"html_url": "https://github.com/Tythos",
"followers_url": "https://api.github.com/users/Tythos/followers",
"following_url": "https://api.github.com/users/Tythos/following{/other_user}",
"gists_url": "https://api.github.com/users/Tythos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tythos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tythos/subscriptions",
"organizations_url": "https://api.github.com/users/Tythos/orgs",
"repos_url": "https://api.github.com/users/Tythos/repos",
"events_url": "https://api.github.com/users/Tythos/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tythos/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [] | 2024-03-18T23:49:39 | 2024-03-19T14:24:52 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
Referencing custom images via URL is inherently insecure; a mechanism is needed to verify such network.
### Describe the solution you'd like
Adding an optional "signature" field would let developers encode verification within their deployment.
### Describe alternatives you've considered
One alternative might be to virtualize (or containerize) the desired runtime environment within an existing image, where (for example) `cloud-init` could be used to do so procedurally and with a step for verifying that reference before it is initialized. This does, however, compromise the potential advantages of performance and reduction in resource overhead from minimizing system abstraction layers.
Another alternative is to upload (or manage) the image using a spaces bucket, for which credentials would be shared internally between Terraform resources. (This is the approach I am currently exploring, but I think you'll agree it's a little more onerous than would be ideal.)
Another alternative that just occurred to me is, to manually upload the image using the DigitalOcean API via `curl` command (see: https://docs.digitalocean.com/products/images/custom-images/how-to/upload/ ); automation-friendly solutions are definitely advantageous here, though hardly idea when custom images resources are already supported by the Terraform provider.
### Additional context
AWS and Azure both have mechanisms to verify custom image integrity:
https://docs.aws.amazon.com/signer/latest/developerguide/image-verification.html
https://learn.microsoft.com/en-us/azure/aks/image-integrity?tabs=azure-cli
GCP does not, to the best of my knowledge (and quick-searching).
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1130/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1129 | 2,190,738,209 | I_kwDOBZHfyM6ClAMh | 1,129 | digitalocean_spaces_bucket_cors_configuration: Updating allowed origins has no effect | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [
"Oh yes, I'm able to reproduce it as well:\r\n```\r\n # digitalocean_spaces_bucket_cors_configuration.test will be updated in-place\r\n ~ resource \"digitalocean_spaces_bucket_cors_configuration\" \"test\" {\r\n id = \"seyedries\"\r\n # (2 unchanged attributes hidden)\r\n\r\n - cors_rule {\... | 2024-03-17T15:55:35 | 2024-03-21T19:32:10 | null | NONE | null | Consider the below scenario for an update to digitalocean_spaces_bucket_cors_configuration of a spaces bucket (cdn enabled).
From documentation and platform UI, it becomes clear that adding multiple cors origins is possible. Using terraform, the update does not go through, even though the apply states success.
```
~ resource "digitalocean_spaces_bucket_cors_configuration" "cors" {
id = "my-id"
# (2 unchanged attributes hidden)
- cors_rule {
- allowed_headers = [
- "*",
] -> null
- allowed_methods = [
- "GET",
- "HEAD",
] -> null
- allowed_origins = [
- "https://*.example.com",
] -> null
- expose_headers = [
- "*",
] -> null
- max_age_seconds = 300 -> null
}
+ cors_rule {
+ allowed_headers = [
+ "*",
]
+ allowed_methods = [
+ "GET",
+ "HEAD",
]
+ allowed_origins = [
+ "https://*.example.com",
+ "sub.another.com",
+ "www.sub.another.com",
]
+ expose_headers = [
+ "*",
]
+ max_age_seconds = 300
}
}
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1129/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1128 | 2,187,077,062 | PR_kwDOBZHfyM5pq2fV | 1,128 | Update database_firewall example | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-03-14T18:59:39 | 2024-03-26T14:27:51 | 2024-03-26T14:27:50 | MEMBER | null | Running into the following when running the example:
`│ Error: Error creating database cluster: POST https://api.digitalocean.com/v2/databases: 422 (request "-dde0-4cb0-9f12-") invalid cluster engine version` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1128/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1128",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1128",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1128.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1128.patch",
"merged_at": "2024-03-26T14:27:50"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1127 | 2,186,439,679 | PR_kwDOBZHfyM5popzZ | 1,127 | Load Balancer: Deprecate "algorithm" attribute | {
"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 | [] | 2024-03-14T13:50:25 | 2024-03-14T14:09:23 | 2024-03-14T14:09:22 | MEMBER | null | This field has been deprecated. You can no longer specify an algorithm for load balancers.
https://docs.digitalocean.com/reference/api/api-reference/#operation/loadBalancers_create | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1127/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1127",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1127",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1127.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1127.patch",
"merged_at": "2024-03-14T14:09:22"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1126 | 2,185,395,800 | I_kwDOBZHfyM6CQn5Y | 1,126 | Add droplet monitor alert for cloud-init completion | {
"login": "Tythos",
"id": 600046,
"node_id": "MDQ6VXNlcjYwMDA0Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/600046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tythos",
"html_url": "https://github.com/Tythos",
"followers_url": "https://api.github.com/users/Tythos/followers",
"following_url": "https://api.github.com/users/Tythos/following{/other_user}",
"gists_url": "https://api.github.com/users/Tythos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Tythos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tythos/subscriptions",
"organizations_url": "https://api.github.com/users/Tythos/orgs",
"repos_url": "https://api.github.com/users/Tythos/repos",
"events_url": "https://api.github.com/users/Tythos/events{/privacy}",
"received_events_url": "https://api.github.com/users/Tythos/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | [] | 2024-03-14T04:26:43 | 2024-03-14T04:26:43 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
Currently, cloud-init passed via user_data continues for some time beyond when Terraform considers applying a droplet to be "completed. This is reasonable and expected. However, there are a variety of other actions that may require specific cloud-init actions to have completed (package installation, asset fetching from spaces buckets, etc.). Instead of using a provisioner workaround (which is described by Hashicorp as a "last resort" on https://developer.hashicorp.com/terraform/language/resources/provisioners/syntax and has similar issues with signaling execution completion), a more robust path forward would be to leverage the existing monitor alert system.
### Describe the solution you'd like
Adding a 'cloud-init-complete' (or similar) feature would let Terraform procedurally construct such alerts as part of the deployment workflow. Currently, this would result in email or slack notifications, which introduces a manual dependency to the deployment path. Optimally, this could be used by on-system scripts or other resource activities (in a way that would currently be checked by "while..." assertion of `ps -e | grep cloud` results). So, there are two specific modifications I think are relevant:
1. Addition of a `v1/insights/cloud_init_complete` to the monitor alert resource types (listed on https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/monitor_alert ); under the hood, this can be triggered with a simple check against `ps -e | grep cloud` results.
1. An additional (third) `alerts` block option for appropriate triggers--the most straightforward and simple example I can think of is a path to a shell script to invoke, as such a script could be configured/installed as part of the cloud-init specification. (Why couldn't this just be called from the cloud-init specification itself? Good question. I think such scripts wouldn't focus on continued in-environment execution as much as they would be used to propagate actions to/from other systems. For example, `null_resource` checks could be used by the Terraform executor to trigger subsequent resource applications.)
### Describe alternatives you've considered
Alternatives include:
* Adding a poll ("while...") loop in an external script
* Triggering an explicit alert from the end of the cloud-init commands themselves
* Forgoing cloud-init / user_data entirely and forwarding system configuration responsibilities to Ansible, Chef, Puppet, etc. (though setup of such tools would still be needed)
### Additional context
Related to #280 , as such alerts could be used to explicitly trigger other downstream dependencies that would otherwise require a "last resort" provisioner. But more specifically, this is intended to expose downstream dependencies for more automated deployment workflows. Common triggers for post-cloudinit actions include following up with Ansible playbooks or other configuration management assertions. More sophisticated triggers could include Terraform callbacks via `null_resource` checks.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1126/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1125 | 2,185,042,517 | PR_kwDOBZHfyM5pj9BY | 1,125 | build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-03-13T22:59:49 | 2024-03-25T20:04:52 | 2024-03-25T20:04:52 | CONTRIBUTOR | null | Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1125/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1125",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1125",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1125.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1125.patch",
"merged_at": "2024-03-25T20:04:52"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1124 | 2,179,186,976 | PR_kwDOBZHfyM5pPxC7 | 1,124 | Prep v2.36.0 Release | {
"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 | [
"One note....did notice `github-changelog-generator` didn't pick up any changes:\r\n```\r\nx@ terraform-provider-digitalocean % github-changelog-generator -org digitalocean -repo terraform-provider-digitalocean\r\nx@ terraform-provider-digitalocean % github-changelog-generator -org digitalocean -repo doctl\r\n- #15... | 2024-03-11T13:49:21 | 2024-03-11T16:43:25 | 2024-03-11T16:43:24 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1124/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1124",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1124",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1124.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1124.patch",
"merged_at": "2024-03-11T16:43:24"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1123 | 2,177,941,297 | I_kwDOBZHfyM6B0L8x | 1,123 | Release v2.35.0 | {
"login": "virtualroot",
"id": 1007429,
"node_id": "MDQ6VXNlcjEwMDc0Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1007429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/virtualroot",
"html_url": "https://github.com/virtualroot",
"followers_url": "https://api.github.com/users/virtualroot/followers",
"following_url": "https://api.github.com/users/virtualroot/following{/other_user}",
"gists_url": "https://api.github.com/users/virtualroot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/virtualroot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/virtualroot/subscriptions",
"organizations_url": "https://api.github.com/users/virtualroot/orgs",
"repos_url": "https://api.github.com/users/virtualroot/repos",
"events_url": "https://api.github.com/users/virtualroot/events{/privacy}",
"received_events_url": "https://api.github.com/users/virtualroot/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 for us! I've published the release:\r\n\r\nhttps://github.com/digitalocean/terraform-provider-digitalocean/releases/tag/v2.35.0"
] | 2024-03-10T22:50:40 | 2024-03-11T00:20:32 | 2024-03-11T00:20:32 | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
## Describe the bug
<!-- A clear and concise description of what the bug is. -->
[v2.35.0](https://github.com/digitalocean/terraform-provider-digitalocean/releases/tag/v2.35.0) was tagged but [never released](https://github.com/digitalocean/terraform-provider-digitalocean/releases).
### Expected Behavior
For the latest version (v2.35.0) to appear in [Terraform](https://registry.terraform.io/providers/digitalocean/digitalocean/latest) and [OpenTofu](https://registry.opentofu.org/v1/providers/digitalocean/digitalocean/versions) registries. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1123/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1122 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1122/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1122/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1122/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1122 | 2,177,894,491 | I_kwDOBZHfyM6B0Ahb | 1,122 | digitalocean_database_firewall to support multiple droplet ids | {
"login": "AAverin",
"id": 1481332,
"node_id": "MDQ6VXNlcjE0ODEzMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1481332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AAverin",
"html_url": "https://github.com/AAverin",
"followers_url": "https://api.github.com/users/AAverin/followers",
"following_url": "https://api.github.com/users/AAverin/following{/other_user}",
"gists_url": "https://api.github.com/users/AAverin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AAverin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AAverin/subscriptions",
"organizations_url": "https://api.github.com/users/AAverin/orgs",
"repos_url": "https://api.github.com/users/AAverin/repos",
"events_url": "https://api.github.com/users/AAverin/events{/privacy}",
"received_events_url": "https://api.github.com/users/AAverin/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi there,\r\n\r\nThanks for the write up. I can definitely see the value in passing in multiple `droplet_ids` via an array, similar to `digitalocean_firewall`. Unfortunately, the API is set up to only accept a string not an array. However, here's a workaround that you could do using dynamic blocks:\r\n\r\n```\r\nl... | 2024-03-10T20:37:27 | 2024-03-19T08:37:14 | 2024-03-18T14:06:13 | NONE | null | ### Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is.
`digitalocean_database_firewall`.rule with type "droplet" supports only one droplet id. This makes it difficult to assign firewall rules to a set of droplets.
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
Having many similar type instances that all need to connect to the database, I would like to set database_firewall in a simple way like `digitalocean_firewall` is now working – setting `source_droplet_ids` as an array.
### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've
considered. -->
I have tried using terraform.forEach, but it doesn't work as resource ids are not determined before applying.
### 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/1122/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/1122/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1121 | 2,170,095,531 | I_kwDOBZHfyM6BWQer | 1,121 | digitalocean_database_cluster kafka missing attributes | {
"login": "SkeLLLa",
"id": 2273103,
"node_id": "MDQ6VXNlcjIyNzMxMDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2273103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SkeLLLa",
"html_url": "https://github.com/SkeLLLa",
"followers_url": "https://api.github.com/users/SkeLLLa/followers",
"following_url": "https://api.github.com/users/SkeLLLa/following{/other_user}",
"gists_url": "https://api.github.com/users/SkeLLLa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SkeLLLa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SkeLLLa/subscriptions",
"organizations_url": "https://api.github.com/users/SkeLLLa/orgs",
"repos_url": "https://api.github.com/users/SkeLLLa/repos",
"events_url": "https://api.github.com/users/SkeLLLa/events{/privacy}",
"received_events_url": "https://api.github.com/users/SkeLLLa/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
},
{
"id": 5326124780,
"node_id": "LA_kwDOBZHfyM8AAA... | open | false | null | [] | null | [
"Thank you for bringing this to our attention. \r\n\r\nFor Kafka, we do not expect those attributes and the provider shouldn't have returned them at all. I've created a ticket internally for our team to ensure the provider only returns the attributes expected from Kafka. I'll keep this issue open until it is addres... | 2024-03-05T20:30:54 | 2024-03-14T14:54:54 | 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
Resource `digitalocean_database_cluster` for kafka cluster missing many attributes like:
```
"port": 0,
"private_uri": "",
"uri": "",
```
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_database_cluster
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
### Expected Behavior
All resources include port, uri and private_uri should be present
### Actual Behavior
Port attribute is wrong, other attributes missing
### Steps to Reproduce
1. Use example from docs:
```
resource "digitalocean_database_cluster" "kafka-example" {
name = "example-kafka-cluster"
engine = "kafka"
version = "3.5"
size = "db-s-2vcpu-2gb"
region = "nyc1"
node_count = 3
}
```
2. See terraform state.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1121/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1120 | 2,164,368,167 | PR_kwDOBZHfyM5odiSu | 1,120 | docs: apps can be added to projects. | {
"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 | [] | 2024-03-01T23:45:23 | 2024-03-04T15:16:49 | 2024-03-04T15:16:49 | MEMBER | null | As mentioned in https://github.com/digitalocean/terraform-provider-digitalocean/issues/1117, the docs don't mention that apps can be added to projects when they can:
https://docs.digitalocean.com/reference/api/api-reference/#tag/Project-Resources
(Also went all in on plural) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1120/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1120",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1120",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1120.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1120.patch",
"merged_at": "2024-03-04T15:16:49"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1119 | 2,164,342,536 | PR_kwDOBZHfyM5odcla | 1,119 | uptime alerts: fix importing existing alerts | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Any chance to see this released? Thanks",
"> Any chance to see this released? Thanks\r\n\r\nYes- I can create one now!",
"> Any chance to see this released? Thanks\r\n\r\nNew release cut via [v2.36.0](https://github.com/digitalocean/terraform-provider-digitalocean/releases/tag/v2.36.0)",
"> New release cut v... | 2024-03-01T23:19:15 | 2024-03-12T14:42:27 | 2024-03-04T15:28:32 | MEMBER | null | Importing an uptime alert requires knowing the ID of its parent uptime check.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/1118
```
$ make testacc PKG_NAME=digitaloc
ean/uptime
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/uptime/... -timeout 120m -parallel=2
=== RUN TestAccDigitalOceanUptimeAlert_importBasic
=== PAUSE TestAccDigitalOceanUptimeAlert_importBasic
=== RUN TestAccDigitalOceanUptimeAlert_Basic
=== PAUSE TestAccDigitalOceanUptimeAlert_Basic
=== RUN TestAccDigitalOceanUptimeCheck_Basic
=== PAUSE TestAccDigitalOceanUptimeCheck_Basic
=== CONT TestAccDigitalOceanUptimeAlert_importBasic
=== CONT TestAccDigitalOceanUptimeCheck_Basic
--- PASS: TestAccDigitalOceanUptimeCheck_Basic (15.04s)
=== CONT TestAccDigitalOceanUptimeAlert_Basic
--- PASS: TestAccDigitalOceanUptimeAlert_importBasic (15.42s)
--- PASS: TestAccDigitalOceanUptimeAlert_Basic (9.00s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/uptime 24.055s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1119/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1119",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1119",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1119.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1119.patch",
"merged_at": "2024-03-04T15:28:32"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1118 | 2,163,705,031 | I_kwDOBZHfyM6A94TH | 1,118 | Unable to import digitalocean_uptime_alert by id (import id is wrong) | {
"login": "fabn",
"id": 324213,
"node_id": "MDQ6VXNlcjMyNDIxMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/324213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fabn",
"html_url": "https://github.com/fabn",
"followers_url": "https://api.github.com/users/fabn/followers",
"following_url": "https://api.github.com/users/fabn/following{/other_user}",
"gists_url": "https://api.github.com/users/fabn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fabn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fabn/subscriptions",
"organizations_url": "https://api.github.com/users/fabn/orgs",
"repos_url": "https://api.github.com/users/fabn/repos",
"events_url": "https://api.github.com/users/fabn/events{/privacy}",
"received_events_url": "https://api.github.com/users/fabn/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've opened a PR to address this issue: https://github.com/digitalocean/terraform-provider-digitalocean/pull/1119 Thanks for flagging this @fabn! ",
"Thanks for your quick response"
] | 2024-03-01T16:03:46 | 2024-03-04T15:28:33 | 2024-03-04T15:28:33 | NONE | null | # Bug Report
## Describe the bug
According to the [relevant documentation](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/uptime_alert#import) `digitalocean_uptime_alert` should be importable by ID, but that's not the case because the [relevant endpoint](https://docs.digitalocean.com/reference/doctl/reference/monitoring/uptime/alert/get/) needs also the `check_id` to retrieve the alert.
So a simple block like this won't work
```tf
import {
id = "caaf5861-a9a5-4dc5-94f2-783e39de0a75" # Existing ID
to = digitalocean_uptime_alert.api_ssl
}
# Create a latency alert for the uptime check
resource "digitalocean_uptime_alert" "api_ssl" {
name = "Test alert"
check_id = digitalocean_uptime_check.api.id
type = "ssl_expiry"
threshold = 10
comparison = "less_than"
period = "2m"
notifications {
email = ["user@example.com"]
}
}
```
It fails with `│ Error: Cannot import non-existent remote object` and if I run the plan with
```
$ TF_LOG=debug terraform plan -target digitalocean_uptime_alert.api_ssl
```
I can clearly see the wrong call made to API
```
-----------------------------------------------------: timestamp="2024-03-01T16:55:48.758+0100"
2024-03-01T16:55:48.758+0100 [INFO] provider.terraform-provider-digitalocean_v2.34.1: 2024/03/01 16:55:48 [DEBUG] GET https://api.digitalocean.com/v2/uptime/checks//alerts/caaf5861-a9a5-4dc5-94f2-783e39de0a75: timestamp="2024-03-01T16:55:48.758+0100"
2024-03-01T16:55:49.045+0100 [INFO] provider.terraform-provider-digitalocean_v2.34.1: 2024/03/01 16:55:49 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 404 Not Found
Cache-Control: no-cache
Cf-Cache-Status: DYNAMIC
Cf-Ray: 85da555edd38bac7-MXP
```
As you can see it GETs `https://api.digitalocean.com/v2/uptime/checks//alerts/caaf5861-a9a5-4dc5-94f2-783e39de0a75`
### Affected Resource(s)
- digitalocean_uptime_alert
### Expected Behavior
Resource is retrieved successfully
### Actual Behavior
Cannot import existing resources
Having an id of `<check_id>.<alert_id>` (only for imports) should fix the issue and will allow the API to be called with the right params.
Notice that also `terraform import` won't work for the same reason. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1118/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1117 | 2,162,357,209 | I_kwDOBZHfyM6A4vPZ | 1,117 | Bug: "produced an unexpected new value: Root resource was present, but now absent." + Question: Adding an "App Platform" into a "Project" | {
"login": "mwyld",
"id": 12820928,
"node_id": "MDQ6VXNlcjEyODIwOTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/12820928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mwyld",
"html_url": "https://github.com/mwyld",
"followers_url": "https://api.github.com/users/mwyld/followers",
"following_url": "https://api.github.com/users/mwyld/following{/other_user}",
"gists_url": "https://api.github.com/users/mwyld/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mwyld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mwyld/subscriptions",
"organizations_url": "https://api.github.com/users/mwyld/orgs",
"repos_url": "https://api.github.com/users/mwyld/repos",
"events_url": "https://api.github.com/users/mwyld/events{/privacy}",
"received_events_url": "https://api.github.com/users/mwyld/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [
"Hi @mwyld,\r\n\r\nIs that Terraform CDK? In `project: my-project`, what is the value of `my-project`? It should be the ID of the project. Here's a working example in HCL that creates a new Space and puts into my existing project named \"Test\":\r\n\r\n```hcl\r\ndata \"digitalocean_project\" \"test\" {\r\n name = ... | 2024-03-01T00:56:17 | 2024-03-01T23:42:11 | null | NONE | null | # Bug Report
I'm new to terraform and digital ocean but is there a reason why you can't move an app platform into a project? [digitalocean_project](https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/project)
I'm also getting the following message when trying to add a domain or space into a project,
```
const spaces_bucket = new SpacesBucket(this, `my-spaces-bucket`, spaces-bucket_config)
new ProjectResources(this, `my-project-resource`, {
project: `my-project`,
resources: [
Token.asString(spaces_bucket.urn),
],
});
```
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to
│ digitalocean_project_resources.my-app-project-resource,
│ provider "provider[\"registry.terraform.io/digitalocean/digitalocean\"]"
│ produced an unexpected new value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own
│ issue tracker.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1117/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1116 | 2,162,050,339 | PR_kwDOBZHfyM5oVjxn | 1,116 | certificates: handle missing certificate. | {
"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 | [] | 2024-02-29T20:29:28 | 2024-02-29T20:35:19 | 2024-02-29T20:35:18 | MEMBER | null | While reviewing https://github.com/digitalocean/terraform-provider-digitalocean/pull/1115, I realized an already existing issue with the certificate resource. `FindCertificateByName` will never return `StatusNotFound` as it is a list endpoint. It returns an empty list if there is no match. So our special casing of a 404 response is never encountered.
This means if a certificate is deleted outside of Terraform, we currently do not attempt to reconcile state and prompt to recreate. `FindCertificateByName` returns an error and we surface that to the user instead. This reorders the logic to check that `cert == nil` before checking `err != nil` so that a missing cert is handled like other missing resources.
```
$ make testacc PKG_NAME=digitaloc
ean/certificate
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/certificate/... -timeout 120m -parallel=2
=== RUN TestAccDataSourceDigitalOceanCertificate_Basic
=== PAUSE TestAccDataSourceDigitalOceanCertificate_Basic
=== RUN TestAccDigitalOceanCertificate_importBasic
=== PAUSE TestAccDigitalOceanCertificate_importBasic
=== RUN TestResourceExampleInstanceStateUpgradeV0
2024/02/29 15:23:53 [DEBUG] Migrating certificate schema from v0 to v1.
--- PASS: TestResourceExampleInstanceStateUpgradeV0 (0.00s)
=== RUN TestAccDigitalOceanCertificate_Basic
=== PAUSE TestAccDigitalOceanCertificate_Basic
=== RUN TestAccDigitalOceanCertificate_ExpectedErrors
=== PAUSE TestAccDigitalOceanCertificate_ExpectedErrors
=== CONT TestAccDataSourceDigitalOceanCertificate_Basic
=== CONT TestAccDigitalOceanCertificate_Basic
--- PASS: TestAccDigitalOceanCertificate_Basic (13.49s)
=== CONT TestAccDigitalOceanCertificate_importBasic
--- PASS: TestAccDataSourceDigitalOceanCertificate_Basic (16.01s)
=== CONT TestAccDigitalOceanCertificate_ExpectedErrors
--- PASS: TestAccDigitalOceanCertificate_ExpectedErrors (1.68s)
--- PASS: TestAccDigitalOceanCertificate_importBasic (13.87s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/certificate 28.111s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1116/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1116",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1116",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1116.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1116.patch",
"merged_at": "2024-02-29T20:35:18"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1115 | 2,156,441,774 | PR_kwDOBZHfyM5oCX1d | 1,115 | [NETPROD-3585] Optimised fetching certificates by name | {
"login": "guptado",
"id": 141348137,
"node_id": "U_kgDOCGzNKQ",
"avatar_url": "https://avatars.githubusercontent.com/u/141348137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guptado",
"html_url": "https://github.com/guptado",
"followers_url": "https://api.github.com/users/guptado/followers",
"following_url": "https://api.github.com/users/guptado/following{/other_user}",
"gists_url": "https://api.github.com/users/guptado/gists{/gist_id}",
"starred_url": "https://api.github.com/users/guptado/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/guptado/subscriptions",
"organizations_url": "https://api.github.com/users/guptado/orgs",
"repos_url": "https://api.github.com/users/guptado/repos",
"events_url": "https://api.github.com/users/guptado/events{/privacy}",
"received_events_url": "https://api.github.com/users/guptado/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-27T12:16:27 | 2024-02-29T19:44:11 | 2024-02-29T19:44:11 | CONTRIBUTOR | null | [NETPROD-3585](https://do-internal.atlassian.net/browse/NETPROD-3585)
[NETPROD-3585]: https://do-internal.atlassian.net/browse/NETPROD-3585?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1115/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1115",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1115",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1115.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1115.patch",
"merged_at": "2024-02-29T19:44:11"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1114 | 2,147,074,093 | PR_kwDOBZHfyM5nimD9 | 1,114 | Prep v2.35.0 Release | {
"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 | [] | 2024-02-21T15:41:07 | 2024-02-21T16:00:34 | 2024-02-21T16:00:33 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1114/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1114",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1114",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1114.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1114.patch",
"merged_at": "2024-02-21T16:00:33"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1113 | 2,145,325,061 | PR_kwDOBZHfyM5ncjU6 | 1,113 | Apps: Support Project Assignment | {
"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 | [] | 2024-02-20T21:33:40 | 2024-02-21T15:31:46 | 2024-02-21T15:31:45 | MEMBER | null | Adds support for specifying a project ID for a app. Addresses #1112
Tried it out locally and was able to confirm an App was created in specified project:
```
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = ">= 2.8.0"
}
}
}
provider "digitalocean" {
# You need to set this in your .bashrc
# export DIGITALOCEAN_TOKEN="Your API TOKEN"
#
}
resource "digitalocean_project" "foobar" {
name = "test_apps"
}
resource "digitalocean_app" "golang-sample" {
project_id = digitalocean_project.foobar.id
spec {
name = "golang-sample"
region = "ams"
service {
name = "go-service"
environment_slug = "go"
instance_count = 1
instance_size_slug = "professional-xs"
git {
repo_clone_url = "https://github.com/digitalocean/sample-golang.git"
branch = "main"
}
}
}
}
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1113/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1113",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1113",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1113.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1113.patch",
"merged_at": "2024-02-21T15:31:45"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1112 | 2,141,851,659 | I_kwDOBZHfyM5_qhAL | 1,112 | Assign a digitalocean_app to a digitalocean_project | {
"login": "amanfrinati",
"id": 12152862,
"node_id": "MDQ6VXNlcjEyMTUyODYy",
"avatar_url": "https://avatars.githubusercontent.com/u/12152862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amanfrinati",
"html_url": "https://github.com/amanfrinati",
"followers_url": "https://api.github.com/users/amanfrinati/followers",
"following_url": "https://api.github.com/users/amanfrinati/following{/other_user}",
"gists_url": "https://api.github.com/users/amanfrinati/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amanfrinati/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amanfrinati/subscriptions",
"organizations_url": "https://api.github.com/users/amanfrinati/orgs",
"repos_url": "https://api.github.com/users/amanfrinati/repos",
"events_url": "https://api.github.com/users/amanfrinati/events{/privacy}",
"received_events_url": "https://api.github.com/users/amanfrinati/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 5326124780,
"node_id": "LA_kwDOBZHfyM8AAAABPXY27A",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/api-parity",
"name": "api-parity",
"color": "65F9AC",
"default": false,
"description": "Feature supported in the DigitalOcean API not yet i... | closed | false | null | [] | null | [
"Thank you for bringing this to our attention! It has been resolved in #1113 and will be available in the next release which we will create shortly.",
"Awesome!"
] | 2024-02-19T08:58:14 | 2024-02-21T19:25:30 | 2024-02-21T15:32:34 | NONE | null | ### Is your feature request related to a problem? Please describe.
To make my digitalocean account more organized, I need to assign the App created through Terraform to a project.
### Describe the solution you'd like
I'd like to use an attribute like `project_id`, like other resources like `digitalocean_database_cluster` to assign the App to the project.
### Describe alternatives you've considered
For now, I use the "Project" option into the "Settings" of my App. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1112/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1111 | 2,125,872,542 | PR_kwDOBZHfyM5magTd | 1,111 | droplet: Document and warn that enabling IPv6 requires OS-level config changes. | {
"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 | [] | 2024-02-08T18:58:12 | 2024-02-08T20:01:37 | 2024-02-08T20:01:36 | MEMBER | null | Enabling IPv6 on an existing Droplet requires OS-level config changes that are outside of the scope of Terraform itself. This PR updates the docs to point to the DigitalOcean product docs with the details. It also outputs a warning with that information when IPv6 is enabled.
Example:
```
digitalocean_droplet.ipv6-test: Modifying... [id=400155502]
digitalocean_droplet.ipv6-test: Still modifying... [id=400155502, 10s elapsed]
digitalocean_droplet.ipv6-test: Modifications complete after 11s [id=400155502]
╷
│ Warning: Enabling IPv6 requires additional OS-level configuration
│
│ with digitalocean_droplet.ipv6-test,
│ on main.tf line 64, in resource "digitalocean_droplet" "ipv6-test":
│ 64: resource "digitalocean_droplet" "ipv6-test" {
│
│ When enabling IPv6 on an existing Droplet, additional OS-level configuration is required. For more info, see:
│ https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets
╵
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
```
Fixes https://github.com/digitalocean/terraform-provider-digitalocean/issues/1110 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1111/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1111",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1111",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1111.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1111.patch",
"merged_at": "2024-02-08T20:01:36"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1110 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1110/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1110/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1110/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1110 | 2,121,906,082 | I_kwDOBZHfyM5-ebei | 1,110 | When enabling IPv6 there are extra steps required | {
"login": "danktec",
"id": 4129589,
"node_id": "MDQ6VXNlcjQxMjk1ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4129589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danktec",
"html_url": "https://github.com/danktec",
"followers_url": "https://api.github.com/users/danktec/followers",
"following_url": "https://api.github.com/users/danktec/following{/other_user}",
"gists_url": "https://api.github.com/users/danktec/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danktec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danktec/subscriptions",
"organizations_url": "https://api.github.com/users/danktec/orgs",
"repos_url": "https://api.github.com/users/danktec/repos",
"events_url": "https://api.github.com/users/danktec/events{/privacy}",
"received_events_url": "https://api.github.com/users/danktec/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 great suggestion @danktec! I've opened a PR to address this https://github.com/digitalocean/terraform-provider-digitalocean/pull/1111 "
] | 2024-02-07T00:12:50 | 2024-02-08T20:01:37 | 2024-02-08T20:01:37 | CONTRIBUTOR | null | During the IPv6 enablement process, two things need to happen to fully enable the feature
1. The droplet should be powered off before the enablement happens.
```
PUBLIC IPV6 ADDRESS
Enabling IPv6 will require updates to the network settings of the Droplet. [Read more.](https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets)
Your Droplet must be powered off before enabling public IPv6 network.
```
2. there is a bunch of OS level cloud-init config that needs to happen for IPv6 to actually work. (https://docs.digitalocean.com/products/networking/ipv6/how-to/enable/#on-existing-droplets)
So perhaps a warning message to the user which links these instructions after they enable it. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1110/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/1110/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1109 | 2,115,886,034 | PR_kwDOBZHfyM5l4ibh | 1,109 | apps: Add GHCR as a supported registry type. | {
"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 | [] | 2024-02-02T22:14:04 | 2024-02-02T22:16:51 | 2024-02-02T22:16:50 | MEMBER | null | `GHCR` is now a supported registry type, but it never made its way here.
Fixes https://github.com/digitalocean/terraform-provider-digitalocean/issues/1107 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1109/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1109",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1109",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1109.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1109.patch",
"merged_at": "2024-02-02T22:16:50"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1108 | 2,115,864,259 | PR_kwDOBZHfyM5l4dk7 | 1,108 | redis config: allow setting timeout to 0 | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-02T21:54:42 | 2024-02-02T22:14:55 | 2024-02-02T22:14:54 | MEMBER | null | Fixes https://github.com/digitalocean/terraform-provider-digitalocean/issues/1106 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1108/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1108",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1108",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1108.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1108.patch",
"merged_at": "2024-02-02T22:14:54"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1107 | 2,114,276,981 | I_kwDOBZHfyM5-BU51 | 1,107 | digitalocean_app missing GHCR | {
"login": "salamachinas",
"id": 731651,
"node_id": "MDQ6VXNlcjczMTY1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/731651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/salamachinas",
"html_url": "https://github.com/salamachinas",
"followers_url": "https://api.github.com/users/salamachinas/followers",
"following_url": "https://api.github.com/users/salamachinas/following{/other_user}",
"gists_url": "https://api.github.com/users/salamachinas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/salamachinas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/salamachinas/subscriptions",
"organizations_url": "https://api.github.com/users/salamachinas/orgs",
"repos_url": "https://api.github.com/users/salamachinas/repos",
"events_url": "https://api.github.com/users/salamachinas/events{/privacy}",
"received_events_url": "https://api.github.com/users/salamachinas/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 @salamachinas! I've opened a PR to address the issue: https://github.com/digitalocean/terraform-provider-digitalocean/pull/1109"
] | 2024-02-02T07:18:47 | 2024-02-02T22:16:51 | 2024-02-02T22:16:51 | NONE | null | # Bug Report
## Describe the bug
Unable validate and apply configuration using GHCR image type.
### Affected Resource(s)
- digitalocean_app
### Expected Behavior
Validation pass success
### Actual Behavior
```
terraform plan -var-file=env.tfvars -out plan
Error: expected spec.0.service.0.image.0.registry_type to be one of [UNSPECIFIED DOCKER_HUB DOCR], got GHCR
with digitalocean_app.dummy,
on configuration.tf line 42, in resource "digitalocean_app" "dummy":
42: image {
```
### Steps to Reproduce
1. `terraform apply`
**Terraform Configuration Files**
```
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "2.34.1"
}
}
}
variable "do_token" {
type = string
sensitive = true
}
provider "digitalocean" {
token = var.do_token
}
resource "digitalocean_app" "dummy" {
spec {
name = "dummy"
region = "fra1"
service {
name = "dummy"
environment_slug = "go"
instance_count = 1
instance_size_slug = "basic-xxs"
image {
registry_type = "GHCR"
repository = "dummy"
registry = "someRegistry"
}
}
}
}
```
**Terraform version**
Terraform v1.7.2
on darwin_arm64
+ provider registry.terraform.io/digitalocean/digitalocean v2.34.1
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1107/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1106 | 2,102,280,443 | I_kwDOBZHfyM59TkD7 | 1,106 | Change Redis timeout settings not working if setting to zero | {
"login": "MarcoMatarazzo",
"id": 3446928,
"node_id": "MDQ6VXNlcjM0NDY5Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3446928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcoMatarazzo",
"html_url": "https://github.com/MarcoMatarazzo",
"followers_url": "https://api.github.com/users/MarcoMatarazzo/followers",
"following_url": "https://api.github.com/users/MarcoMatarazzo/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoMatarazzo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MarcoMatarazzo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoMatarazzo/subscriptions",
"organizations_url": "https://api.github.com/users/MarcoMatarazzo/orgs",
"repos_url": "https://api.github.com/users/MarcoMatarazzo/repos",
"events_url": "https://api.github.com/users/MarcoMatarazzo/events{/privacy}",
"received_events_url": "https://api.github.com/users/MarcoMatarazzo/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! I've opened https://github.com/digitalocean/terraform-provider-digitalocean/pull/1108 to address it."
] | 2024-01-26T14:10:41 | 2024-02-02T22:14:55 | 2024-02-02T22:14:55 | NONE | null | ## Describe the bug
As reported [here](https://github.com/hashicorp/terraform/issues/5694), getOK is not able to correctly check if an option is set when the value of that option is zero, hence the reason why getOkExists has been created.
Trying to run terraform apply DOES recognize the change to be done and shows it in the plan, but does not apply and does not give any error, as it's behaving as it was not set at all.
This is happening AT LEAST when setting `timeout` value in `digitalocean_database_redis_config`.
This is likely affecting other resource arguments that has zero as a valid value.
### Affected Resource(s)
- digitalocean_database_redis_config
### Expected Behavior
Redis timeout should be set to zero.
### Actual Behavior
Redis timeout is not set to zero, and no error is shown.
### Steps to Reproduce
1. Have a resource like:
```
resource "digitalocean_database_cluster" "redis7" {
name = "redis7-test"
engine = "redis"
version = "7"
eviction_policy = "noeviction"
size = "db-s-2vcpu-4gb"
node_count = "1"
region = "ams3"
}
resource "digitalocean_database_redis_config" "redis7" {
cluster_id = digitalocean_database_cluster.redis7.id
timeout = 0
}
```
2. Run `terraform apply`
3. Run `terraform apply` again and see that the change is still there to be applied, or check with DO API.
**Terraform version**
```
Terraform v1.5.3
on darwin_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.34.1
+ provider registry.terraform.io/hashicorp/aws v5.32.0
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1106/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1105 | 2,101,709,581 | PR_kwDOBZHfyM5lIfnR | 1,105 | Force replacement if user tries to disable IPv6 on a droplet | {
"login": "danktec",
"id": 4129589,
"node_id": "MDQ6VXNlcjQxMjk1ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4129589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danktec",
"html_url": "https://github.com/danktec",
"followers_url": "https://api.github.com/users/danktec/followers",
"following_url": "https://api.github.com/users/danktec/following{/other_user}",
"gists_url": "https://api.github.com/users/danktec/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danktec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danktec/subscriptions",
"organizations_url": "https://api.github.com/users/danktec/orgs",
"repos_url": "https://api.github.com/users/danktec/repos",
"events_url": "https://api.github.com/users/danktec/events{/privacy}",
"received_events_url": "https://api.github.com/users/danktec/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-01-26T07:14:42 | 2024-02-03T01:11:47 | 2024-02-02T21:25:17 | CONTRIBUTOR | null | It appears the API does not support disablement of IPv6, only enablement. If ipv6 is set to false after being set to true then nothing changes on the cloud provider and the diff keeps happening forever #1104
This update uses forces a replacement if the user is trying to disable ipv6
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1105/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1105",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1105",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1105.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1105.patch",
"merged_at": "2024-02-02T21:25:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1104 | 2,101,593,184 | I_kwDOBZHfyM59Q8Rg | 1,104 | Disabling ipv6 on a droplet does not actually disable it | {
"login": "danktec",
"id": 4129589,
"node_id": "MDQ6VXNlcjQxMjk1ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4129589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danktec",
"html_url": "https://github.com/danktec",
"followers_url": "https://api.github.com/users/danktec/followers",
"following_url": "https://api.github.com/users/danktec/following{/other_user}",
"gists_url": "https://api.github.com/users/danktec/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danktec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danktec/subscriptions",
"organizations_url": "https://api.github.com/users/danktec/orgs",
"repos_url": "https://api.github.com/users/danktec/repos",
"events_url": "https://api.github.com/users/danktec/events{/privacy}",
"received_events_url": "https://api.github.com/users/danktec/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 don't think the API supports disabling v6 so perhaps the provider just needs to register this change as a \"delete/replace\" on the resource. ",
"Fixed pushed here https://github.com/digitalocean/terraform-provider-digitalocean/pull/1105",
":pray: Thanks @danktec! \r\n\r\nFixed via https://github.com/digita... | 2024-01-26T04:50:42 | 2024-02-02T21:26:19 | 2024-02-02T21:26:18 | CONTRIBUTOR | null | # Bug Report
Enabling ipv6 works fine. Disabling says that it happened but it did not, rerunning yields the same result forever.
### Affected Resource(s)
- digitalocean_droplet
### Expected Behavior
When setting
` ipv6 = false`
on the digitalocean_droplet resource, if ipv6 was previously enabled it should now be disabled.
### Actual Behavior
An update-in-place is detected
` ~ ipv6 = true -> false`
but the API call does not make the change.
Re-running apply yields the same result forever.
### Steps to Reproduce
enable ipv6, run apply
disable ipv6, run apply (says it works but does not make any changes to the cloud state)
**Terraform version**
```
Terraform v1.7.1
on darwin_arm64
+ provider registry.terraform.io/digitalocean/digitalocean v2.34.1
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1104/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1103 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1103/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1103/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1103/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1103 | 2,086,697,388 | PR_kwDOBZHfyM5kVwj1 | 1,103 | Support scalable storage settings separately for read-replica vs. primary | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Need to add some wait between a new test, there is an issue during resize of a replica\r\n\r\n```\r\n=== CONT TestAccDigitalOceanDatabaseReplica_Resize\r\n resource_database_replica_test.go:120: Step 4/4 error: Error running apply: exit status 1\r\n\r\n Error: Error resizing database replica: PUT https:... | 2024-01-17T17:57:45 | 2024-01-18T15:25:07 | 2024-01-18T15:25:07 | CONTRIBUTOR | null | **What**
- Enables read-replicas to set their own value for `storage_size_mib` to specify disk space
- Resolves some outdated Mongo tests using older versions
- Fixes resize issue for clusters when omitting `storage_size_mib` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1103/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/1103/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1103",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1103",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1103.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1103.patch",
"merged_at": "2024-01-18T15:25:07"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1102 | 2,077,319,581 | PR_kwDOBZHfyM5j2AFN | 1,102 | database: Add access_cert and access_key for kafka users | {
"login": "moreinhardt",
"id": 154784,
"node_id": "MDQ6VXNlcjE1NDc4NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/154784?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moreinhardt",
"html_url": "https://github.com/moreinhardt",
"followers_url": "https://api.github.com/users/moreinhardt/followers",
"following_url": "https://api.github.com/users/moreinhardt/following{/other_user}",
"gists_url": "https://api.github.com/users/moreinhardt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/moreinhardt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moreinhardt/subscriptions",
"organizations_url": "https://api.github.com/users/moreinhardt/orgs",
"repos_url": "https://api.github.com/users/moreinhardt/repos",
"events_url": "https://api.github.com/users/moreinhardt/events{/privacy}",
"received_events_url": "https://api.github.com/users/moreinhardt/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-01-11T18:09:55 | 2024-01-12T15:51:28 | 2024-01-12T15:51:28 | CONTRIBUTOR | null | I didn't create an issue but saw this functionality was missing while it was available via the DO API as well as in `godo`.
I ran the following acceptance tests:
```
➜ terraform-provider-digitalocean git:(add-database-user-cert-attributes) ✗ make testacc TESTARGS='-run="^(TestAccDigitalOceanDatabaseUser_Basic|TestAccDigitalOceanDatabaseUser_KafkaACLs|TestAccDataSourceDigitalOceanDatabaseUser_Basic)$$"' PKG_NAME=digitalocean/database
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -v ./digitalocean/database/... -run="^(TestAccDigitalOceanDatabaseUser_Basic|TestAccDigitalOceanDatabaseUser_KafkaACLs|TestAccDataSourceDigitalOceanDatabaseUser_Basic)$" -timeout 120m -parallel=3
=== RUN TestAccDataSourceDigitalOceanDatabaseUser_Basic
=== PAUSE TestAccDataSourceDigitalOceanDatabaseUser_Basic
=== RUN TestAccDigitalOceanDatabaseUser_Basic
=== PAUSE TestAccDigitalOceanDatabaseUser_Basic
=== RUN TestAccDigitalOceanDatabaseUser_KafkaACLs
=== PAUSE TestAccDigitalOceanDatabaseUser_KafkaACLs
=== CONT TestAccDataSourceDigitalOceanDatabaseUser_Basic
=== CONT TestAccDigitalOceanDatabaseUser_KafkaACLs
=== CONT TestAccDigitalOceanDatabaseUser_Basic
--- PASS: TestAccDigitalOceanDatabaseUser_Basic (249.61s)
--- PASS: TestAccDataSourceDigitalOceanDatabaseUser_Basic (306.01s)
--- PASS: TestAccDigitalOceanDatabaseUser_KafkaACLs (428.15s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 428.168s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1102/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1102",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1102",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1102.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1102.patch",
"merged_at": "2024-01-12T15:51:28"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1101 | 2,069,342,386 | I_kwDOBZHfyM57V6iy | 1,101 | Does not use environment when creating spaces bucket | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"Nevermind. Even though I checked it 10 times I had a spelling error in my variable. Its too late but the code works fine! Sorry"
] | 2024-01-07T23:30:24 | 2024-01-07T23:39:38 | 2024-01-07T23:39:38 | NONE | null | When trying to create a spaces bucket I am greeted by this error:
> Error creating bucket: Spaces credentials not configured
Although I have SPACES_ACCESS_KEY_ID and SPACES_SECRET_ACCESS_KEY in my env configured.
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY for remote storage work fine with spaces. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1101/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1100 | 2,060,292,325 | PR_kwDOBZHfyM5i8pd1 | 1,100 | uptime_alert: 1hr -> 1h | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-29T17:52:51 | 2024-01-02T16:38:18 | 2024-01-02T16:38:17 | MEMBER | null | Address #1099 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1100/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1100",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1100",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1100.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1100.patch",
"merged_at": "2024-01-02T16:38:17"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1099 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1099/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1099/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1099/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1099 | 2,059,803,251 | I_kwDOBZHfyM56xhpz | 1,099 | Incompatible slugs for digitalocean_uptime_alert | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [] | 2023-12-29T12:56:03 | 2023-12-29T12:56:03 | null | NONE | null | Terraform suggests valid slug values for the `period` property of an uptime alert as follows:
`Error: expected period to be one of [2m 3m 5m 10m 15m 30m 1hr], got 1h`
Switching to `1hr` causes the terraform apply to fail with this error:
`Error: Error creating Uptime Alert: POST https://api.digitalocean.com/v2/uptime/checks/$id/alerts: 400 (request "request_id") invalid value for field 'period': unsupported period value '1hr'`
According to the documentation the correct value is `1h`
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1099/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/1099/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1098 | 2,051,290,513 | PR_kwDOBZHfyM5igs9p | 1,098 | Prep v2.34.1 release | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-20T21:24:07 | 2023-12-20T22:09:22 | 2023-12-20T22:09:21 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1098/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1098",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1098",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1098.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1098.patch",
"merged_at": "2023-12-20T22:09:21"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1097 | 2,049,670,716 | I_kwDOBZHfyM56K348 | 1,097 | Include droplet gateway metadata in digitalocean_droplet resource and data returned attributes | {
"login": "tlowerison",
"id": 19714082,
"node_id": "MDQ6VXNlcjE5NzE0MDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/19714082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tlowerison",
"html_url": "https://github.com/tlowerison",
"followers_url": "https://api.github.com/users/tlowerison/followers",
"following_url": "https://api.github.com/users/tlowerison/following{/other_user}",
"gists_url": "https://api.github.com/users/tlowerison/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tlowerison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tlowerison/subscriptions",
"organizations_url": "https://api.github.com/users/tlowerison/orgs",
"repos_url": "https://api.github.com/users/tlowerison/repos",
"events_url": "https://api.github.com/users/tlowerison/events{/privacy}",
"received_events_url": "https://api.github.com/users/tlowerison/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [
"Hi @tlowerison,\r\n\r\nThanks for the suggestion. I definitely see how this would be useful. Though I'm not sure it is something we can accommodate in Terraform at the moment. The Droplet metadata API is only accessible from the Droplet itself. We'd need the information to be included in the public API.\r\n\r\nUsi... | 2023-12-20T01:34:41 | 2024-03-02T01:33:01 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
I'd like to programmatically integrate a droplet configured as an [internet gateway](https://docs.digitalocean.com/products/networking/vpc/how-to/configure-droplet-as-gateway) with [k8s-staticroute-operator](https://github.com/tlowerison/k8s-staticroute-operator). I believe it'd be generally useful information and would possibly move progress along towards automatically provisioned internet gateways being a thing on Digital Ocean if [droplet metadata](https://docs.digitalocean.com/products/droplets/how-to/retrieve-droplet-metadata), specifically the initial droplet gateway was accessible through terraform.
### Describe the solution you'd like
Ideally, a `metadata` or some appropriately named attribute be returned from the `digitalocean_droplet` resource and data sources, which contains *at least* the droplet's configured gateway.
### Describe alternatives you've considered
Adding an `init-script` or similar field to the `digitalocean_kubernetes_node_pool` arguments for initial node configuration. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1097/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1096 | 2,047,651,347 | PR_kwDOBZHfyM5iURqe | 1,096 | build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2023-12-18T23:40:31 | 2023-12-19T18:54:40 | 2023-12-19T18:54:39 | CONTRIBUTOR | null | Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/crypto/commit/9d2ee975ef9fe627bf0a6f01c1f69e8ef1d4f05d"><code>9d2ee97</code></a> ssh: implement strict KEX protocol changes</li>
<li><a href="https://github.com/golang/crypto/commit/4e5a26183ecb4f9a0f85c8f8dbe7982885435436"><code>4e5a261</code></a> ssh: close net.Conn on all NewServerConn errors</li>
<li><a href="https://github.com/golang/crypto/commit/152cdb1503ebc13bc0fbb68f92ee189ebf9e3d00"><code>152cdb1</code></a> x509roots/fallback: update bundle</li>
<li><a href="https://github.com/golang/crypto/commit/fdfe1f8531a1adcc300c8eba98cb372044826d62"><code>fdfe1f8</code></a> ssh: defer channel window adjustment</li>
<li><a href="https://github.com/golang/crypto/commit/b8ffc16e10063067bac0e15c6d7f7995937503ce"><code>b8ffc16</code></a> blake2b: drop Go 1.6, Go 1.8 compatibility</li>
<li><a href="https://github.com/golang/crypto/commit/7e6fbd82c804e1760feb603fe21caecb0af0a124"><code>7e6fbd8</code></a> ssh: wrap errors from client handshake</li>
<li><a href="https://github.com/golang/crypto/commit/bda2f3f5cfce3f27039acccd823693f6d67c2a74"><code>bda2f3f</code></a> argon2: avoid clobbering BP</li>
<li><a href="https://github.com/golang/crypto/commit/325b735346247f48971d2b37d24dd180a35f391f"><code>325b735</code></a> ssh/test: skip TestSSHCLIAuth on Windows</li>
<li><a href="https://github.com/golang/crypto/commit/1eadac50a566dfaa1b603ca15e8ad3cbd1c77b20"><code>1eadac5</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/crypto/commit/b2d7c26edb17864f117d8b0ee73c1843bcc6090f"><code>b2d7c26</code></a> ssh: add (*Client).DialContext method</li>
<li>Additional commits viewable in <a href="https://github.com/golang/crypto/compare/v0.14.0...v0.17.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1096/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1096",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1096",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1096.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1096.patch",
"merged_at": "2023-12-19T18:54:39"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1095 | 2,047,108,617 | PR_kwDOBZHfyM5iSaLD | 1,095 | cdn: handle 'needs-cloudflare-cert' case in read func. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-18T17:18:06 | 2023-12-18T19:07:47 | 2023-12-18T19:07:46 | MEMBER | null | This addresses the continued issue called out in https://github.com/digitalocean/terraform-provider-digitalocean/issues/1086. We need to handle the 'needs-cloudflare-cert' case in read func as well as create.
The acceptance test did not catch this. In order to fully test the flow, we would need an active domain. We can do this in our own testing, but the acceptance test suite must be usable by external contributors and not depend on external resources. So the updated test is skipped if `DO_TEST_SUBDOMAIN` is not set to an active DO manage sub domain. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1095/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1095",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1095",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1095.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1095.patch",
"merged_at": "2023-12-18T19:07:46"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1094 | 2,044,403,069 | PR_kwDOBZHfyM5iJaVs | 1,094 | databases: ignore seconds in maintenance_window.hour | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-15T21:40:13 | 2023-12-15T22:52:41 | 2023-12-15T22:52:40 | MEMBER | null | This resolves an issue with unexpected diffs from `maintenance_window.hour`. The logic in the existing `DiffSuppressFunc` is a bit backwards. It's not entirely clear to me if this was always just wrong or if the API changed behaviour at some point.
I think the best path forward from the provider perspective it to make it so seconds are ignored completely when calculating the diff. Users should not need to scheduled a maintenance down to the second. They are too fine grained.
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/1093 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1094/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1094",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1094",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1094.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1094.patch",
"merged_at": "2023-12-15T22:52:40"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1093 | 2,040,043,268 | I_kwDOBZHfyM55mJcE | 1,093 | Incorrect Timestamp for Database cluster's maintenance policy | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [] | 2023-12-13T16:13:35 | 2023-12-15T22:52:41 | 2023-12-15T22:52:41 | NONE | null | From the provider documentation https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/database_cluster the resource expects a property `hour` for the maintenance window.
Looking at the resulting state, the api seems to return a timestamp in `HH:mm:ss` format, which causes subsequent applies to always change the database cluster unnecessarily, as "just" the hour is picked up as a change compared to the state.
Using a timestamp in `HH:mm:ss` format however fixed the issue.
```
maintenance_window {
# Maintenance window in UTC
day = "sunday"
hour = "04:00:00"
}
```
Therefore either the documentation is invalid, or the API.
Since other resources, like kubernetes clusters, share the maintenance logic, I would propose aligning the logic between all resources to a common format. The kubernetes cluster resource expects a timestamp in `HH:mm` format for example, which the API also returns correctly (no seconds!) - also the property / block is called maintenance_policy whereas for database clusters it's called maintenance_window. (see https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/kubernetes_cluster#maintenance_policy)
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1093/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1092 | 2,040,013,753 | I_kwDOBZHfyM55mCO5 | 1,092 | Load Balancer not added to Project | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [
"```\r\n# module.L3.module.project.digitalocean_project.project will be updated in-place\r\n ~ resource \"digitalocean_project\" \"project\" {\r\n id = \"id\"\r\n name = \"example\"\r\n ~ resources = [\r\n + \"do:loadbalancer:my_lb\",\r\n # (5 unchanged elem... | 2023-12-13T15:59:04 | 2023-12-19T21:47:45 | null | NONE | null | Load balancers are not added to projects successfully.
When I apply my terraform configuration, which includes creating several resources and then creating a project and adding all resources to the project, the load balancer is not added.
I can confirm this by showing the state for the project, which does not include the load balancer. Subsequent applies cause the project to be updated all the time, without the load balancer ever making it into the resources list of the project.
If I look at the resource overview in my digitalocean dashboard I cannot see the load balancer. In contrast, if I look at the load balancer status page, I can see it is associated with the project. So it seems this could be an issue with digitalocean itself.
```
resource "digitalocean_project" "project" {
name = var.config.name
purpose = "Web Application"
environment = title(lower(var.config.env_slug))
resources = [
module.L1.this.postgres.urn,
module.L1.this.redis.urn,
module.L1.this.kubernetes.urn,
module.L2.this.load_balancer.urn,
module.domains.this.backend_urn,
module.domains.this.frontend_urn
]
}
```
yields
```
resource "digitalocean_project" "project" {
created_at = "2023-12-12T16:16:29Z"
environment = "Staging"
id = "some_id"
is_default = false
name = "example"
owner_id = 1337
owner_uuid = "1337_7331"
purpose = "Web Application"
resources = [
"do:dbaas:one_db,
"do:dbaas:another_db",
"do:domain:example.com",
"do:domain:example.net",
"do:kubernetes:a_cluster",
]
updated_at = "2023-12-12T16:16:29Z"
}
```
where `module.L2.this.load_balancer.urn` is missing from the state.
Btw: Like I said, subsequent applies try to re-add the load balancer all the time and show the correct urn. The subsequent applies always succeed as in "no error from terraform", but the load balancer is not added actually. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1092/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1091 | 2,038,063,208 | PR_kwDOBZHfyM5hz0fC | 1,091 | Prep v2.34.0 release | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-12T15:50:43 | 2023-12-12T16:12:52 | 2023-12-12T16:12:51 | MEMBER | null | Let get a release cut with these fixes! | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1091/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1091",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1091",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1091.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1091.patch",
"merged_at": "2023-12-12T16:12:51"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1090 | 2,031,791,863 | PR_kwDOBZHfyM5helsh | 1,090 | Database Users: Update settings independent of other user settings | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-12-08T01:40:26 | 2023-12-08T19:17:28 | 2023-12-08T19:17:28 | CONTRIBUTOR | null | **What**
- Prevent changes to kafka user ACLs from replacing database user resources
**Why**
The ability to update `settings`, and thus kafka user ACLs, allows for user management without replacing the user resources. Replacement of user resources is especially painful given that it will generate a new password.
**Testing**
Ran acceptance tests
```
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/certificate (cached) [no tests to run]
=== RUN TestAccDigitalOceanDatabaseUser_KafkaACLs
=== PAUSE TestAccDigitalOceanDatabaseUser_KafkaACLs
=== CONT TestAccDigitalOceanDatabaseUser_KafkaACLs
--- PASS: TestAccDigitalOceanDatabaseUser_KafkaACLs (289.63s)
```
Making a change locally to a user's ACLs on a test cluster and running `terraform plan` shows the user resource not being replaced anymore
```
Terraform will perform the following actions:
# digitalocean_database_user.kafka-acl-user-1 will be updated in-place
~ resource "digitalocean_database_user" "kafka-acl-user-1" {
id = "352c8602-261c-4c00-a2e2-0130f015e243/user/kafka-acl-user-1"
name = "kafka-acl-user-1"
# (3 unchanged attributes hidden)
~ settings {
~ acl {
id = "acl47b234cbe22"
~ permission = "produce" -> "consume"
~ topic = "topic-3" -> "topic-5"
}
# (1 unchanged block hidden)
}
}
Plan: 0 to add, 1 to change, 0 to destroy.
──────────────────────────────────────────────────
```
Calling the DO API shows the updates taking place:
```
{
"name": "kafka-acl-user-1",
"role": "normal",
"password": ".......",
"settings": {
"acl": [
{
"id": "acl47b2c79825a",
"permission": "consume",
"topic": "topic-5"
},
{
"id": "acl47b2c7c7b24",
"permission": "consume",
"topic": "topic-4"
}
]
}
}
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1090/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1090",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1090",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1090.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1090.patch",
"merged_at": "2023-12-08T19:17:28"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1089 | 2,024,323,238 | PR_kwDOBZHfyM5hFFKQ | 1,089 | CDN: Add Support for "needs-cloudflare-cert" | {
"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 | [
"Hey @itssimon - could you give this a try? "
] | 2023-12-04T17:02:59 | 2023-12-05T20:45:33 | 2023-12-05T20:45:32 | MEMBER | null | Address #1086
In order to have Cloudflare generate a certificate, `certificate_id` must be set to the value "needs-cloudflare-cert" in our API.
In the Terraform provider `certificate_name` is passed in instead of a `certificate_id` _(we've deprecated certificate_id attribute in favor of certificate_name for digitalocean_cdn because when the certificate type is lets_encrypt, the certificate ID will change on renewal (after 3 months)_), we use the name to look up the id and then set that id to `certificate_id`.....hence the `certificate_id` will not be `needs-cloudflare-cert` [here](https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/digitalocean/cdn/resource_cdn.go#L142-L151):
```
if name, nameOk := d.GetOk("certificate_name"); nameOk {
certName := name.(string)
if certName != "" {
cert, err := certificate.FindCertificateByName(client, certName)
if err != nil {
return diag.FromErr(err)
}
cdnRequest.CertificateID = cert.ID
}
```
Added logic to check if `needs-cloudflare-cert`is passed into `certificate_name` to set that as the `certificate_id` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1089/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1089",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1089",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1089.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1089.patch",
"merged_at": "2023-12-05T20:45:32"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1088 | 2,023,820,290 | I_kwDOBZHfyM54oQwC | 1,088 | Allow assigning kubernetes cluster to project | {
"login": "MauriceArikoglu",
"id": 5528623,
"node_id": "MDQ6VXNlcjU1Mjg2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5528623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MauriceArikoglu",
"html_url": "https://github.com/MauriceArikoglu",
"followers_url": "https://api.github.com/users/MauriceArikoglu/followers",
"following_url": "https://api.github.com/users/MauriceArikoglu/following{/other_user}",
"gists_url": "https://api.github.com/users/MauriceArikoglu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MauriceArikoglu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MauriceArikoglu/subscriptions",
"organizations_url": "https://api.github.com/users/MauriceArikoglu/orgs",
"repos_url": "https://api.github.com/users/MauriceArikoglu/repos",
"events_url": "https://api.github.com/users/MauriceArikoglu/events{/privacy}",
"received_events_url": "https://api.github.com/users/MauriceArikoglu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [] | 2023-12-04T13:05:35 | 2023-12-04T18:42:33 | null | NONE | null | Currently all resources that support being added to projects allow specifying a `project_id` argument which then creates the resource associated to a project.
The digitalocean kubernetes cluster resource does not support this argument. We need to create a second project_resources resource that adds the kubernetes cluster to the project manually which is prone to issues. It would be great if associating the cluster with a project by passing the `project_id` as argument was possible. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1088/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1087 | 2,023,427,360 | I_kwDOBZHfyM54mw0g | 1,087 | failed to upload state: operation error S3: PutObject | {
"login": "johncosta",
"id": 628627,
"node_id": "MDQ6VXNlcjYyODYyNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/628627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johncosta",
"html_url": "https://github.com/johncosta",
"followers_url": "https://api.github.com/users/johncosta/followers",
"following_url": "https://api.github.com/users/johncosta/following{/other_user}",
"gists_url": "https://api.github.com/users/johncosta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/johncosta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johncosta/subscriptions",
"organizations_url": "https://api.github.com/users/johncosta/orgs",
"repos_url": "https://api.github.com/users/johncosta/repos",
"events_url": "https://api.github.com/users/johncosta/events{/privacy}",
"received_events_url": "https://api.github.com/users/johncosta/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 | [
"The code for backend state management is entirely in the upstream Terraform code base, not the DigitalOcean provider. Unfortunately HashiCorp introduced changes that broke existing configurations in their v1.6.0 release for users of \"S3-like\" object storage. \r\n\r\nSee: https://github.com/hashicorp/terraform/i... | 2023-12-04T09:44:41 | 2023-12-05T09:13:16 | 2023-12-05T09:13:15 | NONE | null | # Bug Report
## Describe the bug
Given terraform version 1.6.4, when saving state using Spaces as the backend, I get a failed to upload state error.
This also occurs when using terraform version 1.5.7 and the DO provider > 2.28.0.
Using terraform 1.5.7 and provider 2.28.0 works as expected.
### Affected Resource(s)
Spaces backend
### Expected Behavior
Backend state is saved to Spaces as expected.
### Actual Behavior
```
│ Error: Failed to save state
│
│ Error saving state: failed to upload state: operation error S3: PutObject,
│ https response error StatusCode: 400, RequestID:
│ tx00000afbdb0305e0080f9-00656d9299-50742-nyc3d, HostID:
│ 50742-nyc3d-nyc3-zg04, api error XAmzContentSHA256Mismatch: UnknownError
```
### Steps to Reproduce
1. `terraform apply`
**Terraform Configuration Files**
```
terraform {
backend "s3" {
key = "terraform-digitialocean-kubernetes/terraform.tfstate"
bucket = "<bucket name redacted>"
region = "nyc3"
access_key = "<access key redacted>"
secret_key = "<access key secret redacted>"
endpoints = { s3 = "https://nyc3.digitaloceanspaces.com" }
encrypt = true
skip_region_validation = true
skip_credentials_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
}
}
```
**Terraform version**
```
% terraform -v
Terraform v1.6.4
on darwin_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.28.0
+ provider registry.terraform.io/hashicorp/local v2.4.0
Your version of Terraform is out of date! The latest version
is 1.6.5. You can update by downloading from https://www.terraform.io/downloads.html
```
**Debug Output**
```
2023-12-04T04:14:46.686-0500 [INFO] backend-s3: Uploading remote state: tf_backend.operation=Put tf_backend.req_id=cc212b98-944a-3803-1b80-301129c525e6 tf_backend.s3.bucket=<bucket name redacted> tf_backend.s3.path=terraform-digitialocean-kubernetes/terraform.tfstate
2023-12-04T04:14:46.689-0500 [DEBUG] backend-s3: HTTP Request Sent: aws.region=nyc3 aws.s3.bucket=<bucket name redacted> aws.s3.key=terraform-digitialocean-kubernetes/terraform.tfstate rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.custom_endpoint=true tf_aws.sdk=aws-sdk-go-v2 tf_backend.operation=Put tf_backend.req_id=cc212b98-944a-3803-1b80-301129c525e6 tf_backend.s3.bucket=<bucket name redacted> tf_backend.s3.path=terraform-digitialocean-kubernetes/terraform.tfstate http.request.header.content_encoding=aws-chunked http.request.header.x_amz_date=20231204T091446Z http.request.body="[Redacted: 943 bytes, Type: application/json]" http.method=PUT http.request.header.amz_sdk_invocation_id=1e6b98d6-7333-4884-9528-86bcbd2f66a8 http.request.header.x_amz_server_side_encryption=AES256 http.request.header.authorization="AWS4-HMAC-SHA256 Credential=DO00YX28LWHTXW2YYTL9/20231204/nyc3/s3/aws4_request, SignedHeaders=accept-encoding;amz-sdk-invocation-id;amz-sdk-request;content-encoding;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length;x-amz-sdk-checksum-algorithm;x-amz-server-side-encryption;x-amz-trailer, Signature=*****" http.request.header.accept_encoding=identity http.request.header.x_amz_content_sha256=STREAMING-UNSIGNED-PAYLOAD-TRAILER http.request.header.content_type=application/json http.url=https://<bucket name redacted>.nyc3.digitaloceanspaces.com/terraform-digitialocean-kubernetes/terraform.tfstate?x-id=PutObject http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/1.6.4 (+https://www.terraform.io) aws-sdk-go-v2/1.22.2 os/macos lang/go#1.21.3 md/GOOS#darwin md/GOARCH#amd64 api/s3#1.42.1 ft/s3-transfer" http.request.header.x_amz_trailer=x-amz-checksum-sha256 http.request.header.x_amz_decoded_content_length=863 http.request.header.amz_sdk_request="attempt=1; max=5" net.peer.name=<bucket name redacted>.nyc3.digitaloceanspaces.com http.request_content_length=943 http.request.header.x_amz_sdk_checksum_algorithm=SHA256
2023-12-04T04:14:46.870-0500 [DEBUG] backend-s3: HTTP Response Received: aws.region=nyc3 aws.s3.bucket=<bucket name redacted> aws.s3.key=terraform-digitialocean-kubernetes/terraform.tfstate rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.custom_endpoint=true tf_aws.sdk=aws-sdk-go-v2 tf_backend.operation=Put tf_backend.req_id=cc212b98-944a-3803-1b80-301129c525e6 tf_backend.s3.bucket=<bucket name redacted> tf_backend.s3.path=terraform-digitialocean-kubernetes/terraform.tfstate http.duration=181 http.status_code=400 http.response_content_length=267 http.response.header.x_amz_request_id=tx00000b473554fae011dc3-00656d9886-50742-nyc3d http.response.header.accept_ranges=bytes
http.response.body=
| <?xml version="1.0" encoding="UTF-8"?><Error><Code>XAmzContentSHA256Mismatch</Code><Message></Message><BucketName><bucket name redacted></BucketName><RequestId>tx00000b473554fae011dc3-00656d9886-50742-nyc3d</RequestId><HostId>50742-nyc3d-nyc3-zg04</HostId></Error>
http.response.header.content_type=application/xml http.response.header.date="Mon, 04 Dec 2023 09:14:46 GMT" http.response.header.cache_control=max-age=60 http.response.header.strict_transport_security="max-age=15552000; includeSubDomains; preload" http.response.header.x_envoy_upstream_healthchecked_cluster=""
2023-12-04T04:14:46.873-0500 [DEBUG] backend-s3: request failed with unretryable error https response error StatusCode: 400, RequestID: tx00000b473554fae011dc3-00656d9886-50742-nyc3d, HostID: 50742-nyc3d-nyc3-zg04, api error XAmzContentSHA256Mismatch: UnknownError: aws.region=nyc3 aws.s3.bucket=<bucket name redacted> aws.s3.key=terraform-digitialocean-kubernetes/terraform.tfstate rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.sdk=aws-sdk-go-v2 tf_backend.operation=Put tf_backend.req_id=cc212b98-944a-3803-1b80-301129c525e6 tf_backend.s3.bucket=<bucket name redacted> tf_backend.s3.path=terraform-digitialocean-kubernetes/terraform.tfstate
```
**Panic Output**
n/a
## Additional context
n/a
**Important Factoids**
n/a
**References**
N/a
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1087/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1086 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1086/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1086/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1086/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1086 | 2,018,558,921 | I_kwDOBZHfyM54UMPJ | 1,086 | `digitalocean_cdn` resource with custom domain stopped working | {
"login": "itssimon",
"id": 1176585,
"node_id": "MDQ6VXNlcjExNzY1ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1176585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itssimon",
"html_url": "https://github.com/itssimon",
"followers_url": "https://api.github.com/users/itssimon/followers",
"following_url": "https://api.github.com/users/itssimon/following{/other_user}",
"gists_url": "https://api.github.com/users/itssimon/gists{/gist_id}",
"starred_url": "https://api.github.com/users/itssimon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itssimon/subscriptions",
"organizations_url": "https://api.github.com/users/itssimon/orgs",
"repos_url": "https://api.github.com/users/itssimon/repos",
"events_url": "https://api.github.com/users/itssimon/events{/privacy}",
"received_events_url": "https://api.github.com/users/itssimon/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 bringing this to our attention. We've connected with the DO Support team and the DO engineering team that owns this and working this through with them.\r\n\r\nSo, what I _think_ is the problem in the Terraform provider is when `certificate_name` is passed in (we've deprecated `certificate_id` attribute ... | 2023-11-30T12:25:08 | 2023-12-27T09:58:59 | 2023-12-07T17:54:11 | NONE | null | # Bug Report
## Describe the bug
Using a `digitalocean_cdn` resource with a custom domain within a Terraform configuration makes all `terraform` commands fail with the following error:
Error: GET https://api.digitalocean.com/v2/certificates/needs-cloudflare-cert: 404 (request "00000000-0000-0000-0000-000000000000") certificate not found
### Affected Resource(s)
- digitalocean_cdn
### Expected Behavior
No errors
### Actual Behavior
Error
### Steps to Reproduce
1. `terraform import terraform_cdn.example 00000000-0000-0000-0000-000000000000`
**Terraform Configuration Files**
```
resource "digitalocean_cdn" "example" {
origin = digitalocean_spaces_bucket.example.bucket_domain_name
custom_domain = "assets.example.com"
}
```
**Terraform version**
```
Terraform v1.5.4
on darwin_arm64
+ provider registry.terraform.io/digitalocean/digitalocean v2.32.0
```
## Additional context
I've been in touch with the DigitalOcean support team and they have indicated that there has recently been an upgrade to Spaces that enabled users to configure a custom domain for the CDN (with DNS managed elsewhere) without having to provide their own certificate.
I suspect this upgrade has broken the Terraform provider, as now they set the `certificate_id` to `needs-cloudflare-cert`, which doesn't seem to actually be a valid ID.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1086/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/1086/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1085 | 2,017,379,128 | PR_kwDOBZHfyM5gtjES | 1,085 | spaces: blr1 is a supported region. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-29T20:38:34 | 2023-11-29T22:00:48 | 2023-11-29T22:00:47 | MEMBER | null | `blr1` is a supported region for Spaces: https://docs.digitalocean.com/products/spaces/details/availability/
Fixes: https://github.com/digitalocean/terraform-provider-digitalocean/issues/1083 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1085/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1085",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1085",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1085.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1085.patch",
"merged_at": "2023-11-29T22:00:47"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1084 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1084/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1084/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1084/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1084 | 2,015,143,058 | I_kwDOBZHfyM54HKSS | 1,084 | Error adding new digitalocean_record ("id is invalid because cannot be less than 1") | {
"login": "z3ntu",
"id": 3768500,
"node_id": "MDQ6VXNlcjM3Njg1MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3768500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/z3ntu",
"html_url": "https://github.com/z3ntu",
"followers_url": "https://api.github.com/users/z3ntu/followers",
"following_url": "https://api.github.com/users/z3ntu/following{/other_user}",
"gists_url": "https://api.github.com/users/z3ntu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/z3ntu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/z3ntu/subscriptions",
"organizations_url": "https://api.github.com/users/z3ntu/orgs",
"repos_url": "https://api.github.com/users/z3ntu/repos",
"events_url": "https://api.github.com/users/z3ntu/events{/privacy}",
"received_events_url": "https://api.github.com/users/z3ntu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | closed | false | null | [] | null | [
"Hi @z3ntu,\r\n\r\nThis was an issue with the DigitalOcean API itself. The problem should now be resolved.\r\n\r\nSorry for the inconvenience!\r\n\r\n",
"Right, seems to work again now."
] | 2023-11-28T19:22:06 | 2023-11-29T18:05:54 | 2023-11-28T22:23:14 | NONE | null | # Bug Report
<!-- Include as much of the following details with your bug report: -->
---
## Describe the bug
I get an error when creating a new digitalocean_record.
```
│ Error: id is invalid because cannot be less than 1
```
Looking into `terraform.tfstate` I can see that the `id` field is indeed `0` after creating the new record.
```json
{
"mode": "managed",
"type": "digitalocean_record",
"name": "foo",
"provider": "provider[\"registry.terraform.io/digitalocean/digitalocean\"]",
"instances": [
{
"status": "tainted",
"schema_version": 0,
"attributes": {
"domain": "foo.com",
"flags": null,
"fqdn": null,
"id": "0",
```
### Affected Resource(s)
digitalocean_record
### Expected Behavior
The record should be created and managed correctly.
### Actual Behavior
The record is not created and managed correctly.
### Steps to Reproduce
Create a new digitalocean_record, directly happened for me then.
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
```
Terraform v1.6.4
on linux_amd64
+ provider registry.terraform.io/digitalocean/digitalocean v2.32.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. -->
<details>
(with some details replaced)
```
-----------------------------------------------------: timestamp="2023-11-28T20:26:18.375+0100"
2023-11-28T20:26:18.375+0100 [INFO] provider.terraform-provider-digitalocean_v2.32.0: 2023/11/28 20:26:18 [DEBUG] POST https://api.digitalocean.com/v2/domains/foo.com/records: timestamp="2023-11-28T20:26:18.375+0100"
2023-11-28T20:26:18.653+0100 [INFO] provider.terraform-provider-digitalocean_v2.32.0: 2023/11/28 20:26:18 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 201 Created
Content-Length: 152
Cache-Control: max-age=0, private, must-revalidate
Cf-Cache-Status: DYNAMIC
Cf-Ray: foo
Content-Type: application/json; charset=utf-8
Date: Tue, 28 Nov 2023 19:26:18 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4051
Ratelimit-Reset: 1701201803
Server: cloudflare
Set-Cookie: foo
X-Gateway: Edge-Gateway
X-Request-Id: foo
X-Response-From: service
{
"domain_record": {
"id": 0,
"type": "A",
"name": "bar",
"data": "1.2.3.4",
"priority": null,
"port": null,
"ttl": 1800,
"weight": null,
"flags": null,
"tag": null
}
}
-----------------------------------------------------: timestamp="2023-11-28T20:26:18.653+0100"
2023-11-28T20:26:18.653+0100 [INFO] provider.terraform-provider-digitalocean_v2.32.0: 2023/11/28 20:26:18 [INFO] Record ID: 0: timestamp="2023-11-28T20:26:18.653+0100"
2023-11-28T20:26:18.653+0100 [ERROR] provider.terraform-provider-digitalocean_v2.32.0: Response contains error diagnostic: diagnostic_detail="" diagnostic_summary="id is invalid because cannot be less than 1" tf_resource_type=digitalocean_record tf_proto_version=5.3 tf_rpc=ApplyResourceChange diagnostic_severity=ERROR tf_req_id=b85c2391-8ab2-7bc9-ac59-d48d58554afd @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto tf_provider_addr=provider timestamp="2023-11-28T20:26:18.653+0100"
2023-11-28T20:26:18.691+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2023-11-28T20:26:18.691+0100 [ERROR] vertex "digitalocean_record.foo-bar-A" error: id is invalid because cannot be less than 1
╷
│ Error: id is invalid because cannot be less than 1
│
│ with digitalocean_record.foo-bar-A,
│ on foo.tf line 22, in resource "digitalocean_record" "foo-bar-A":
│ 22: resource "digitalocean_record" "foo-bar-A" {
│
╵
2023-11-28T20:26:18.706+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-11-28T20:26:18.708+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.32.0/linux_amd64/terraform-provider-digitalocean_v2.32.0 pid=94027
2023-11-28T20:26:18.708+0100 [DEBUG] provider: plugin exited
```
</details>
**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/1084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1084/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1083 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1083/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1083/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1083/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1083 | 2,009,152,427 | I_kwDOBZHfyM53wTur | 1,083 | "blr1" region missing from SpacesRegion | {
"login": "neermitt",
"id": 5064901,
"node_id": "MDQ6VXNlcjUwNjQ5MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5064901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neermitt",
"html_url": "https://github.com/neermitt",
"followers_url": "https://api.github.com/users/neermitt/followers",
"following_url": "https://api.github.com/users/neermitt/following{/other_user}",
"gists_url": "https://api.github.com/users/neermitt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/neermitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neermitt/subscriptions",
"organizations_url": "https://api.github.com/users/neermitt/orgs",
"repos_url": "https://api.github.com/users/neermitt/repos",
"events_url": "https://api.github.com/users/neermitt/events{/privacy}",
"received_events_url": "https://api.github.com/users/neermitt/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 | [] | 2023-11-24T06:01:52 | 2023-11-29T22:00:49 | 2023-11-29T22:00:48 | 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
Not accepting "blr1" as valid region for spaces
### Affected Resource(s)
<!-- Please list the resources, for example:
- digitalocean_spaces_bucket
If this issue appears to affect multiple resources, it may be an issue with
Terraform's core, so please mention this. -->
- digitalocean_spaces_bucket
### Expected Behavior
Should accept "blr1" as valid region for spaces
### Actual Behavior
Error: expected region to be one of [ams3 fra1 nyc3 sfo2 sfo3 sgp1 syd1], got blr1
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
terraform plan
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
<!-- Run `terraform -v` to show the version. If you are not running the latest
version of Terraform, please upgrade because your issue may have already been
fixed. -->
any
**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/1083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1083/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1082 | 2,004,975,445 | PR_kwDOBZHfyM5gDvBZ | 1,082 | Kafka topic + user ACL management doc fixes | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-21T19:17:24 | 2023-11-21T20:01:25 | 2023-11-21T20:01:24 | CONTRIBUTOR | null | **What**
- Address default minimum for `min_insync_replicas` for topic advanced config
- Address deprecated kafka plan
- Update documentation
**Why**
When providing a topic's advanced config, we should enforce the default to be 1 for `min_insync_replicas`, even when it is not set. The default is in line with kafka defaults.
https://kafka.apache.org/documentation/#brokerconfigs_min.insync.replicas
**Before**
```
│ Error: Error creating database kafka topic: POST https://api.digitalocean.com/v2/databases/d75f23ac-41db-48f4-9364-33438fc5fe96/topics: 422 (request "4f8db04d-5c7a-4002-837c-5cc81b266999") invalid input for config 'min.insync.replicas': 0 is less than the minimum of 1
```
**After**
```
digitalocean_database_kafka_topic.foobar_topic_6: Creating...
digitalocean_database_kafka_topic.foobar_topic_6: Still creating... [10s elapsed]
digitalocean_database_kafka_topic.foobar_topic_6: Still creating... [20s elapsed]
digitalocean_database_kafka_topic.foobar_topic_6: Still creating... [30s elapsed]
digitalocean_database_kafka_topic.foobar_topic_6: Creation complete after 32s [id=d75f23ac-41db-48f4-9364-33438fc5fe96/topic/topic-6]
```
**Testing**
Ran `TestAccDigitalOceanDatabaseUser_KafkaACLs` and `TestAccDigitalOceanDatabaseKafkaTopic` acceptance tests to confirm results | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1082/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1082",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1082",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1082.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1082.patch",
"merged_at": "2023-11-21T20:01:24"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1081 | 1,997,076,690 | I_kwDOBZHfyM53CPjS | 1,081 | Add possibility to add CNAME or multiple entries to domain so that we can instantly reference a Space Bucket | {
"login": "MatsKeWorks",
"id": 131002886,
"node_id": "U_kgDOB87yBg",
"avatar_url": "https://avatars.githubusercontent.com/u/131002886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MatsKeWorks",
"html_url": "https://github.com/MatsKeWorks",
"followers_url": "https://api.github.com/users/MatsKeWorks/followers",
"following_url": "https://api.github.com/users/MatsKeWorks/following{/other_user}",
"gists_url": "https://api.github.com/users/MatsKeWorks/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MatsKeWorks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MatsKeWorks/subscriptions",
"organizations_url": "https://api.github.com/users/MatsKeWorks/orgs",
"repos_url": "https://api.github.com/users/MatsKeWorks/repos",
"events_url": "https://api.github.com/users/MatsKeWorks/events{/privacy}",
"received_events_url": "https://api.github.com/users/MatsKeWorks/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [
"Hi! Thanks for the write up.\r\n\r\nWould it be possible to share the terraform config you're working from?",
"https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/domain",
"resource \"digitalocean_domain\" \"example\" {\r\n name = \"github.com\"\r\n}",
"Thank you, the [AP... | 2023-11-16T15:05:32 | 2023-11-21T14:58:04 | null | NONE | null |
After terraforming my cluster, i still have to manually point my domain to the S3 spaces.
I would like to automate this bij setting a CNAME (bucket endpoint) instead of ip address in my domain block.
Is it possible to add this?
Would even be better if you were able to add a list of entries
type (A/CNAME/etc)
hostname (prefix)
value
ttl
### Describe alternatives you've considered
Doing it manually after terraforming | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1081/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1080 | 1,993,598,854 | PR_kwDOBZHfyM5fdN5i | 1,080 | Apps: Reference Port in expandAppHealthCheck and flattenAppHealthCheck | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-14T21:24:35 | 2023-11-14T21:43:13 | 2023-11-14T21:43:12 | MEMBER | null | terraform-provider-digitalocean % TF_ACC=1 go test -v -run TestAccDigitalOceanApp_Basic ./digitalocean testing: warning: no tests to run
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean 0.627s [no tests to run] | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1080/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1080",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1080",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1080.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1080.patch",
"merged_at": "2023-11-14T21:43:12"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1079 | 1,993,576,115 | PR_kwDOBZHfyM5fdI-U | 1,079 | Prep v2.33.0 Release | {
"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 | [
"> There are some issues with #1078 that we should address before releasing this.\r\n> \r\n> It adds `port` to the schema, but it is never actually used. We need to also add it in the `expandAppHealthCheck` and `flattenAppHealthCheck` functions or it will not effect anything.\r\n\r\nOh yikes, good catch. I'll push ... | 2023-11-14T21:07:00 | 2023-11-15T14:41:53 | 2023-11-15T14:41:52 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1079/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1079",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1079",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1079.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1079.patch",
"merged_at": "2023-11-15T14:41:52"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1078 | 1,993,534,207 | PR_kwDOBZHfyM5fc_nP | 1,078 | fix: added missing option to set port on health_check | {
"login": "nemcikjan",
"id": 22453195,
"node_id": "MDQ6VXNlcjIyNDUzMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/22453195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nemcikjan",
"html_url": "https://github.com/nemcikjan",
"followers_url": "https://api.github.com/users/nemcikjan/followers",
"following_url": "https://api.github.com/users/nemcikjan/following{/other_user}",
"gists_url": "https://api.github.com/users/nemcikjan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nemcikjan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nemcikjan/subscriptions",
"organizations_url": "https://api.github.com/users/nemcikjan/orgs",
"repos_url": "https://api.github.com/users/nemcikjan/repos",
"events_url": "https://api.github.com/users/nemcikjan/events{/privacy}",
"received_events_url": "https://api.github.com/users/nemcikjan/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"🏃 That was quick! Awesome work- could you add a quick test in `digitalocean/app/resource_app_test.go`? ",
"And also docs in `digitalocean/docs/resources/app.md` - then it'll be ready to merge",
"@danaelhe added missing test and docs",
"Will cut a new release now, thanks again."
] | 2023-11-14T20:41:01 | 2023-11-14T21:01:51 | 2023-11-14T21:01:51 | CONTRIBUTOR | null | Fixes #1077 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1078/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1078",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1078",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1078.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1078.patch",
"merged_at": "2023-11-14T21:01:51"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1077 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1077/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1077/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1077/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1077 | 1,993,495,587 | I_kwDOBZHfyM520lQj | 1,077 | Unable to set port for health_check | {
"login": "nemcikjan",
"id": 22453195,
"node_id": "MDQ6VXNlcjIyNDUzMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/22453195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nemcikjan",
"html_url": "https://github.com/nemcikjan",
"followers_url": "https://api.github.com/users/nemcikjan/followers",
"following_url": "https://api.github.com/users/nemcikjan/following{/other_user}",
"gists_url": "https://api.github.com/users/nemcikjan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nemcikjan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nemcikjan/subscriptions",
"organizations_url": "https://api.github.com/users/nemcikjan/orgs",
"repos_url": "https://api.github.com/users/nemcikjan/repos",
"events_url": "https://api.github.com/users/nemcikjan/events{/privacy}",
"received_events_url": "https://api.github.com/users/nemcikjan/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": 5326124780,
"node_id": "LA_kwDOBZHfyM8AAA... | closed | false | null | [] | null | [
"Thank you for bringing this to our attention. The [API](https://docs.digitalocean.com/reference/api/api-reference/#operation/apps_create) does offer setting a `port` for `health_check` so we are able to add this support in the terraform digitalocean provider as well. \r\n\r\nI've added a ticket in our backlog to p... | 2023-11-14T20:14:35 | 2023-11-14T21:01:52 | 2023-11-14T21:01:52 | CONTRIBUTOR | 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. -->
Unable to set port in health_check block.
### 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
<!-- What should have happened? -->
Ability to set alternative port for health_check
### Actual Behavior
<!-- What actually happened? -->
No option for setting port in health_check block
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
```terraform
resource "digitalocean_app" "auth-hammerhead" {
spec {
name = "some-app"
...
service {
http_port = 4000
internal_ports = [1231]
health_check {
http_path = "/healthcheck"
}
....
}
}
}
```
**Terraform version**
<!-- Run `terraform -v` to show the version. If you are not running the latest
version of Terraform, please upgrade because your issue may have already been
fixed. -->
1.6.3
**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/1077/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/1077/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1076 | 1,993,309,832 | PR_kwDOBZHfyM5fcOHP | 1,076 | Remove unclean_leader_election_enable for kafka topic configuration | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-14T18:24:13 | 2023-11-14T20:06:49 | 2023-11-14T20:06:49 | CONTRIBUTOR | null | **What**
- remove `unclean_leader_election_enable` property for topic configuration
**Why**
This property is no longer supported for kafka topics due to the dangerous nature of enabling it | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1076/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1076",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1076",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1076.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1076.patch",
"merged_at": "2023-11-14T20:06:49"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1075 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1075/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1075/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1075/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1075 | 1,988,962,836 | I_kwDOBZHfyM52jSoU | 1,075 | Unexpected changes for digitalocean_app | {
"login": "razum90",
"id": 8503636,
"node_id": "MDQ6VXNlcjg1MDM2MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8503636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/razum90",
"html_url": "https://github.com/razum90",
"followers_url": "https://api.github.com/users/razum90/followers",
"following_url": "https://api.github.com/users/razum90/following{/other_user}",
"gists_url": "https://api.github.com/users/razum90/gists{/gist_id}",
"starred_url": "https://api.github.com/users/razum90/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/razum90/subscriptions",
"organizations_url": "https://api.github.com/users/razum90/orgs",
"repos_url": "https://api.github.com/users/razum90/repos",
"events_url": "https://api.github.com/users/razum90/events{/privacy}",
"received_events_url": "https://api.github.com/users/razum90/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [] | 2023-11-11T14:01:26 | 2023-11-11T14:01:26 | null | NONE | null | <!-- Thank you for opening an issue. Please note that we try to keep the issue
tracker reserved for bug reports and feature requests. For general usage
questions, please see:
https://github.com/digitalocean/terraform-provider-digitalocean/discussions
**NOTE: Before submitting a bug**
There are cases where the provider receives HTTP Service Error (500 level HTTP
statuses) responses from the DigitalOcean API. There are some cases where the
provider might handle these and retry. If the problem persists, it's best to
contact [DigitalOcean support](https://cloudsupport.digitalocean.com/) -->
# Bug Report
I am getting unexpected changes after creating `digitalocean_app`.
This is my tf config:
```terraform
resource "digitalocean_app" "project" {
for_each = var.environments
spec {
name = "project-${each.key}"
region = var.region
domain {
name = var.environments[each.key].domain
}
alert {
rule = "DEPLOYMENT_FAILED"
}
service {
name = "api"
instance_count = 1
instance_size_slug = "basic-xxs"
image {
registry_type = "DOCR"
repository = "api"
tag = "0.0.1"
deploy_on_push {
enabled = var.environments[each.key].web.deploy_on_push
}
}
http_port = 8080
alert {
value = 75
operator = "GREATER_THAN"
window = "TEN_MINUTES"
rule = "CPU_UTILIZATION"
}
env {
key = "QUARKUS_DATASOURCE_JDBC_URL"
value = "jdbc:postgresql://${digitalocean_database_cluster.db-cluster[each.key].host}:${digitalocean_database_cluster.db-cluster[each.key].port}/${digitalocean_database_db.db[each.key].name}"
}
env {
key = "QUARKUS_DATASOURCE_USERNAME"
value = digitalocean_database_cluster.db-cluster[each.key].user
}
env {
key = "QUARKUS_DATASOURCE_PASSWORD"
value = digitalocean_database_cluster.db-cluster[each.key].password
type = "SECRET"
}
env {
key = "API_KEY"
value = var.api_key
type = "SECRET"
}
}
static_site {
name = "web"
build_command = "npm run build"
source_dir = "web/"
github {
branch = "main"
deploy_on_push = true
repo = "username/project"
}
}
database {
name = digitalocean_database_db.db[each.key].name
db_name = digitalocean_database_db.db[each.key].name
cluster_name = digitalocean_database_cluster.db-cluster[each.key].name
production = var.environments[each.key].production_db
}
ingress {
rule {
component {
name = "api"
}
match {
path {
prefix = "/api"
}
}
}
rule {
component {
name = "web"
}
match {
path {
prefix = "/"
}
}
}
}
}
}
```
After applying it and doing unrelated updates to my terraform config, I get this:
```
# digitalocean_app.project["prod"] will be updated in-place
~ resource "digitalocean_app" "project" {
id = "xxx"
# (6 unchanged attributes hidden)
~ spec {
~ features = [
- "buildpack-stack=ubuntu-22",
]
name = "project-prod"
~ region = "fra" -> "fra1"
# (1 unchanged attribute hidden)
~ service {
name = "api"
# (4 unchanged attributes hidden)
- env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
- env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
- env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
- env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
+ env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
+ env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
+ env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
+ env {
# At least one attribute in this block is (or was) sensitive,
# so its contents will not be displayed.
}
# (2 unchanged blocks hidden)
}
# (5 unchanged blocks hidden)
}
}
```
1. The region is all of a sudden `fra` which does not exist in your docs.
2. It's trying to recreate my environment variables for some reason.
If I try to change to `fra` the db cluster creation complains:
```
╷
│ Error: Error creating database cluster: POST https://api.digitalocean.com/v2/databases: 412 (request "8bf6fc7c-aacc-4654-b29e-d3206e8651cd") At this time, we're unable to create a cluster of that size in that region
│
│ with digitalocean_database_cluster.db-cluster["dev"],
│ on digitalocean.tf line 52, in resource "digitalocean_database_cluster" "db-cluster":
│ 52: resource "digitalocean_database_cluster" "db-cluster" {
│
╵
```
### Affected Resource(s)
- digitalocean_app
Might be more, have not investigated.
**Terraform version**
1.6.3
```terraform
terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.0"
}
}
}
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1075/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/1075/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1074 | 1,987,666,860 | PR_kwDOBZHfyM5fJK7R | 1,074 | Fixing Case Handling for Volume Resource | {
"login": "T-jegou",
"id": 34894717,
"node_id": "MDQ6VXNlcjM0ODk0NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/34894717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/T-jegou",
"html_url": "https://github.com/T-jegou",
"followers_url": "https://api.github.com/users/T-jegou/followers",
"following_url": "https://api.github.com/users/T-jegou/following{/other_user}",
"gists_url": "https://api.github.com/users/T-jegou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/T-jegou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/T-jegou/subscriptions",
"organizations_url": "https://api.github.com/users/T-jegou/orgs",
"repos_url": "https://api.github.com/users/T-jegou/repos",
"events_url": "https://api.github.com/users/T-jegou/events{/privacy}",
"received_events_url": "https://api.github.com/users/T-jegou/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-10T13:49:21 | 2023-11-14T22:46:31 | 2023-11-14T22:46:31 | CONTRIBUTOR | null | Hello, this Pull Request is intended to address the issue https://github.com/digitalocean/terraform-provider-digitalocean/issues/901. However, I've observed that the API V2 accepts, for certain types of resources, the region to be provided in uppercase.
In my Pull Request, I've implemented a solution for the volume resource, involving converting the region string to lowercase when it's added to the `opts` structure in the `resourceDigitalOceanVolumeCreate` function, to ensure that the provider calls godo with the region field in lowercase.
However, I find that this approach lacks consistency since the API handles the case of a region field in uppercase in the context of the droplet resource (and probably others).
Perhaps the fix should be applied directly to the API.
Nevertheless, strictly adhering to the API documentation, the region slugs are only in lowercase. In the case where a region is indicated in uppercase, either in the resource schema, we apply a condition to ensure the region is only in lowercase, and the documentation should state "lowercase only" for region slugs, or we accept and handle the formatting to lowercase for storage in the state (with StateFunc) and for sending data to godo in `opts`. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1074/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1074",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1074",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1074.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1074.patch",
"merged_at": "2023-11-14T22:46:31"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1073 | 1,985,988,625 | PR_kwDOBZHfyM5fDeHH | 1,073 | Add `digitalocean_database_connection_pool` datasource | {
"login": "T-jegou",
"id": 34894717,
"node_id": "MDQ6VXNlcjM0ODk0NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/34894717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/T-jegou",
"html_url": "https://github.com/T-jegou",
"followers_url": "https://api.github.com/users/T-jegou/followers",
"following_url": "https://api.github.com/users/T-jegou/following{/other_user}",
"gists_url": "https://api.github.com/users/T-jegou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/T-jegou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/T-jegou/subscriptions",
"organizations_url": "https://api.github.com/users/T-jegou/orgs",
"repos_url": "https://api.github.com/users/T-jegou/repos",
"events_url": "https://api.github.com/users/T-jegou/events{/privacy}",
"received_events_url": "https://api.github.com/users/T-jegou/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This looks awesome! Thank you so much for the contribution. Will review as soon as we can 👀 (most likely will be next week)"
] | 2023-11-09T16:25:48 | 2023-11-14T20:17:32 | 2023-11-14T20:17:32 | CONTRIBUTOR | null | Hello, this PR is intended to resolve the issue https://github.com/digitalocean/terraform-provider-digitalocean/issues/1059 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1073/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1073",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1073",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1073.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1073.patch",
"merged_at": "2023-11-14T20:17:32"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1072 | 1,983,903,561 | PR_kwDOBZHfyM5e8X7n | 1,072 | Prep v2.32.0 release. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-08T15:46:57 | 2023-11-08T16:09:35 | 2023-11-08T16:09:34 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1072/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1072",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1072",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1072.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1072.patch",
"merged_at": "2023-11-08T16:09:33"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1071 | 1,982,240,586 | PR_kwDOBZHfyM5e2qLv | 1,071 | Bump godo to v1.105.1 | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-07T21:14:25 | 2023-11-07T21:27:43 | 2023-11-07T21:27:42 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1071/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1071",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1071",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1071.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1071.patch",
"merged_at": "2023-11-07T21:27:42"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1068 | 1,977,000,980 | I_kwDOBZHfyM511qQU | 1,068 | Second ssh key cannot be added to a droplet via terraform | {
"login": "vzuevsky",
"id": 77335169,
"node_id": "MDQ6VXNlcjc3MzM1MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/77335169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vzuevsky",
"html_url": "https://github.com/vzuevsky",
"followers_url": "https://api.github.com/users/vzuevsky/followers",
"following_url": "https://api.github.com/users/vzuevsky/following{/other_user}",
"gists_url": "https://api.github.com/users/vzuevsky/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vzuevsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vzuevsky/subscriptions",
"organizations_url": "https://api.github.com/users/vzuevsky/orgs",
"repos_url": "https://api.github.com/users/vzuevsky/repos",
"events_url": "https://api.github.com/users/vzuevsky/events{/privacy}",
"received_events_url": "https://api.github.com/users/vzuevsky/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
}
] | open | false | null | [] | null | [
"Hi @vzuevsky,\r\n\r\nTerraform supports creating Droplets with multiple SSH keys. DigitalOcean (and Terraform in turn) does not currently support adding additional SSH keys to a Droplet via the API after it has been created.\r\n\r\nCan you explain in more detail what you mean by:\r\n\r\n> DO does not report correc... | 2023-11-03T22:20:24 | 2023-11-06T19:11:50 | null | NONE | null | # Bug Report
## Describe the bug
Official documentation: https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/ssh_key
Offers an option to import an ssh key from DO:
```
SSH Keys can be imported using the ssh key id, e.g.
terraform import digitalocean_ssh_key.mykey 263654
```
That cannot be done in practice because DO does not report correct IDs for ssh keys.
### Affected Resource(s)
- digitalocean_ssh_key
### Expected Behavior
I should be able create droplets with Terraform with more than one key (I used at initialization) in its `authorized_keys` file e.g.,
```
resource "digitalocean_droplet" "bla" {
name = "blabla"
size = "s-2vcpu-4gb"
image = "debian-10-x64"
region = "ams2"
ipv6 = true
ssh_keys = [
data.digitalocean_ssh_key.mySshKey.id,
data.digitalocean_ssh_key.uncleBob.id,
]
```
### Actual Behavior
Second ssh_key cannot be imported or otherwise injected into main.tf.
### Steps to Reproduce
1. `terraform apply` --> initially ok
2. insert second ssh key in a new droplet definition.
3. `terraform apply` --> Error: Reference to undeclared resource
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1068/timeline | null | null | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1067 | 1,976,676,594 | PR_kwDOBZHfyM5ej-hZ | 1,067 | load balancers: ignore 404 on delete. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-03T17:56:04 | 2023-11-07T15:25:54 | 2023-11-07T15:25:53 | MEMBER | null | As brought up in this discussion thread, there are cases where Kubernetes will delete a load balancer itself. This can cause an error when Terraform attempts to do so. We can safely ignore a 404 error when attempting to delete as that just indicates that the load balancer has already been destroyed.
https://github.com/digitalocean/terraform-provider-digitalocean/discussions/1065 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1067/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1067",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1067",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1067.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1067.patch",
"merged_at": "2023-11-07T15:25:53"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1066 | 1,975,646,124 | PR_kwDOBZHfyM5egfSv | 1,066 | Support `features` in App spec | {
"login": "T-jegou",
"id": 34894717,
"node_id": "MDQ6VXNlcjM0ODk0NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/34894717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/T-jegou",
"html_url": "https://github.com/T-jegou",
"followers_url": "https://api.github.com/users/T-jegou/followers",
"following_url": "https://api.github.com/users/T-jegou/following{/other_user}",
"gists_url": "https://api.github.com/users/T-jegou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/T-jegou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/T-jegou/subscriptions",
"organizations_url": "https://api.github.com/users/T-jegou/orgs",
"repos_url": "https://api.github.com/users/T-jegou/repos",
"events_url": "https://api.github.com/users/T-jegou/events{/privacy}",
"received_events_url": "https://api.github.com/users/T-jegou/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-03T08:16:09 | 2023-11-03T17:15:10 | 2023-11-03T17:15:10 | CONTRIBUTOR | null | Hello, this PR is intended to resolve the issue [#1033](https://github.com/digitalocean/terraform-provider-digitalocean/issues/1033) | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1066/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1066",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1066",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1066.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1066.patch",
"merged_at": "2023-11-03T17:15:10"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1064 | 1,972,571,826 | PR_kwDOBZHfyM5eWDja | 1,064 | k8s: Handle error from GetCredentials and protect against panic. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-11-01T15:13:29 | 2023-11-01T16:13:54 | 2023-11-01T16:13:53 | MEMBER | null | For some reason, we only return an error when attempting to fetch a cluster's credentials if it is a 404 response. This can lead to a panic in other error cases as we attempt to flatten the credential which are `nil`. This handles the error properly and protect against a panic in `flattenCredentials`.
Example panic:
```
Stack trace from the terraform-provider-digitalocean_v2.30.0 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xcfad4c]
goroutine 465 [running]:
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes.flattenCredentials({0xc000b61490, 0xc}, {0xc000b6147c, 0x4}, 0x0)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes/resource_kubernetes_cluster.go:680 +0x4c
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes.digitaloceanKubernetesClusterRead(0xc00012a580, 0xc000736480, 0x1974200?)
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes/resource_kubernetes_cluster.go:409 +0xccc
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes.resourceDigitalOceanKubernetesClusterRead({0x12938c0?, 0xc000cffaa0?}, 0xc00072e480, {0xe80840?, 0xc000671890?})
github.com/digitalocean/terraform-provider-digitalocean/digitalocean/kubernetes/resource_kubernetes_cluster.go:337 +0x1c9
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc00056ce00, {0x12938c0, 0xc000cffaa0}, 0xd?, {0xe80840, 0xc000671890})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/resource.go:724 +0x11b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc00056ce00, {0x12938c0, 0xc000cffaa0}, 0xc0007dc8f0, {0xe80840, 0xc000671890})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/resource.go:1015 +0x549
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc0004137d0, {0x12938c0?, 0xc000cff170?}, 0xc00064afc0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/grpc_provider.go:613 +0x48a
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc000092140, {0x12938c0?, 0xc000cfe1e0?}, 0xc000764120)
github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:748 +0x48a
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0xf61920?, 0xc000092140}, {0x12938c0, 0xc000cfe1e0}, 0xc0007def50, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:349 +0x169
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00041c000, {0x12984e0, 0xc0000b2680}, 0xc000a05560, 0xc000585620, 0x1937430, 0x0)
google.golang.org/grpc@v1.53.0/server.go:1336 +0xd67
google.golang.org/grpc.(*Server).handleStream(0xc00041c000, {0x12984e0, 0xc0000b2680}, 0xc000a05560, 0x0)
google.golang.org/grpc@v1.53.0/server.go:1704 +0x9e7
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.53.0/server.go:965 +0x8d
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 13
google.golang.org/grpc@v1.53.0/server.go:963 +0x246
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1064/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1064",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1064",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1064.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1064.patch",
"merged_at": "2023-11-01T16:13:53"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1063 | 1,971,343,078 | PR_kwDOBZHfyM5eR6OP | 1,063 | mysql config: Use GetOkExists for bools. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-31T21:41:41 | 2023-11-01T16:30:21 | 2023-11-01T16:30:20 | MEMBER | null | Using `GetOk` excludes `false` as it is the default value. To support setting a value to `false` we need `GetOkExists` instead.
Updated test fails before the code change:
```
=== RUN TestAccDigitalOceanDatabaseMySQLConfig_Basic
=== PAUSE TestAccDigitalOceanDatabaseMySQLConfig_Basic
=== CONT TestAccDigitalOceanDatabaseMySQLConfig_Basic
resource_database_mysql_config_test.go:15: Step 1/2 error: Check failed: Check 3/3 error: digitalocean_database_mysql_config.foobar: Attribute 'sql_require_primary_key' expected "false", got "true"
--- FAIL: TestAccDigitalOceanDatabaseMySQLConfig_Basic (295.98s)
FAIL
FAIL github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 296.065s
```
And passes after:
```
=== RUN TestAccDigitalOceanDatabaseMySQLConfig_Basic
=== PAUSE TestAccDigitalOceanDatabaseMySQLConfig_Basic
=== CONT TestAccDigitalOceanDatabaseMySQLConfig_Basic
--- PASS: TestAccDigitalOceanDatabaseMySQLConfig_Basic (228.76s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/database 228.956s
```
Fixes: #1062 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1063/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1063",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1063",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1063.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1063.patch",
"merged_at": "2023-11-01T16:30:20"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1062 | 1,970,723,953 | I_kwDOBZHfyM51dtxx | 1,062 | sql_require_primary_key is not working | {
"login": "ARTWINPRO",
"id": 16427316,
"node_id": "MDQ6VXNlcjE2NDI3MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/16427316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ARTWINPRO",
"html_url": "https://github.com/ARTWINPRO",
"followers_url": "https://api.github.com/users/ARTWINPRO/followers",
"following_url": "https://api.github.com/users/ARTWINPRO/following{/other_user}",
"gists_url": "https://api.github.com/users/ARTWINPRO/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ARTWINPRO/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ARTWINPRO/subscriptions",
"organizations_url": "https://api.github.com/users/ARTWINPRO/orgs",
"repos_url": "https://api.github.com/users/ARTWINPRO/repos",
"events_url": "https://api.github.com/users/ARTWINPRO/events{/privacy}",
"received_events_url": "https://api.github.com/users/ARTWINPRO/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 | [] | 2023-10-31T15:26:39 | 2023-11-01T16:30:21 | 2023-11-01T16:30:21 | NONE | null | # Bug Report
Im try to change sql_require_primary_key using digitalocean_database_mysql_config, but its does't work for me.
## Describe the bug
After apply the sql_require_primary_key is stay true.
### Affected Resource(s)
- digitalocean_database_mysql_config
### Expected Behavior
GET: https://api.digitalocean.com/v2/databases/..../config -> "sql_require_primary_key": false
### Actual Behavior
GET: https://api.digitalocean.com/v2/databases/..../config -> "sql_require_primary_key": true
### Steps to Reproduce
1. `terraform apply` -->
```
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_mysql_config.db-prod-mysql-config will be updated in-place
~ resource "digitalocean_database_mysql_config" "db-prod-mysql-config" {
id = "1dc.....5c1b/mysql-config"
~ sql_require_primary_key = true -> false
# (25 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
```
**Terraform Configuration Files**
```
resource "digitalocean_database_mysql_config" "db-prod-mysql-config" {
cluster_id = digitalocean_database_cluster.db-prod-mysql.id
connect_timeout = 10
default_time_zone = "UTC"
sql_require_primary_key = false
}
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1062/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1061 | 1,970,696,219 | I_kwDOBZHfyM51dnAb | 1,061 | sql_require_primary_key in digitalocean_database_mysql_config not working | {
"login": "ARTWINPRO",
"id": 16427316,
"node_id": "MDQ6VXNlcjE2NDI3MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/16427316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ARTWINPRO",
"html_url": "https://github.com/ARTWINPRO",
"followers_url": "https://api.github.com/users/ARTWINPRO/followers",
"following_url": "https://api.github.com/users/ARTWINPRO/following{/other_user}",
"gists_url": "https://api.github.com/users/ARTWINPRO/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ARTWINPRO/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ARTWINPRO/subscriptions",
"organizations_url": "https://api.github.com/users/ARTWINPRO/orgs",
"repos_url": "https://api.github.com/users/ARTWINPRO/repos",
"events_url": "https://api.github.com/users/ARTWINPRO/events{/privacy}",
"received_events_url": "https://api.github.com/users/ARTWINPRO/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 | [] | 2023-10-31T15:13:10 | 2023-10-31T15:32:57 | 2023-10-31T15:32:57 | NONE | null | Hi, im try to change sql_require_primary_key using digitalocean_database_mysql_config, but its does't work for me.
## Code:
`resource "digitalocean_database_mysql_config" "db-prod-mysql-config" {
cluster_id = digitalocean_database_cluster.db-prod-mysql.id
connect_timeout = 10
default_time_zone = "UTC"
sql_require_primary_key = false
}`
## Output:
`
digitalocean_database_mysql_config.db-prod-mysql-config will be updated in-place
~ resource "digitalocean_database_mysql_config" "db-prod-mysql-config" {
id = "......../mysql-config"
~ sql_require_primary_key = true -> false
# (25 unchanged attributes hidden)
}
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.`
Please fix it.
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1061/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1060 | 1,967,101,672 | I_kwDOBZHfyM51P5bo | 1,060 | Remote exec of volume mount doesn't work. | {
"login": "joegasewicz",
"id": 28711247,
"node_id": "MDQ6VXNlcjI4NzExMjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/28711247?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joegasewicz",
"html_url": "https://github.com/joegasewicz",
"followers_url": "https://api.github.com/users/joegasewicz/followers",
"following_url": "https://api.github.com/users/joegasewicz/following{/other_user}",
"gists_url": "https://api.github.com/users/joegasewicz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/joegasewicz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joegasewicz/subscriptions",
"organizations_url": "https://api.github.com/users/joegasewicz/orgs",
"repos_url": "https://api.github.com/users/joegasewicz/repos",
"events_url": "https://api.github.com/users/joegasewicz/events{/privacy}",
"received_events_url": "https://api.github.com/users/joegasewicz/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326629,
"node_id": "MDU6TGFiZWw2MjAzMjY2Mjk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/question",
"name": "question",
"color": "cc317c",
"default": true,
"description": null
},
{
"id": 640744187,
"node_id": "MDU6TGFi... | closed | false | null | [] | null | [
"Due to the way Terraform builds its dependency graph, the volume will not be attached to the Droplet before the `remote-exec` provisioner runs. In your config, `digitalocean_volume_attachment` depends on `digitalocean_droplet` already existing. There are a few ways we can acomplish what you want with slightly diff... | 2023-10-29T18:16:57 | 2023-11-03T18:31:36 | 2023-11-03T18:31:36 | NONE | null | I want to mount my volume for my droplet via a call to a remote exec:
```
provisioner "remote-exec" {
inline = [
"mkdir -p /mnt/notto_media_1",
"mount -o discard,defaults /dev/disk/by-id/scsi-0DO_Volume_notto-media-1 /mnt/notto_media_1",
"echo /dev/disk/by-id/scsi-0DO_Volume_notto-media-1 /mnt/notto_media_1 ext4 defaults,nofail,discard 0 0 | sudo tee -a /etc/fstab"
]
}
```
This doesn't work, if i ssh into the droplet where the remote exec is called in, I get no mounted volume:
```
findmnt /mnt/notto_media_1 # produces nothing
```
I therefore have to stop my docker compose stack, mount it manually in the droplet, then restart the docker compose stack, this works.
Is there a way to run this mounting from the terraform config script with a remote exec call? I use docker's bind volume to bind to the volume disc via docker compose volume bind:
```
services:
main_app:
image: "bandnoticeboard/nottoboard:main_app-v0.0.4"
env_file:
- .env
volumes:
- static:/static
- type: bind
source: /mnt/notto_media_1
target: /media
...etc
```
The main terraform config:
```
resource "digitalocean_droplet" "nottoboard-web" {
image = "docker-20-04"
name = "nottoboard-web"
region = "lon1"
size = "s-1vcpu-1gb"
ssh_keys = [
data.digitalocean_ssh_key.nottoboard.id
]
connection {
host = self.ipv4_address
user = "root"
type = "ssh"
private_key = file(var.pvt_key)
timeout = "2m"
}
.... etc
resource "digitalocean_volume" "notto-media-1" {
name = "notto-media-1"
region = "lon1"
size = 10
description = "volume for storing django media file uploads"
}
resource "digitalocean_volume_attachment" "notto-media-1" {
droplet_id = digitalocean_droplet.nottoboard-web.id
volume_id = digitalocean_volume.notto-media-1.id
}
```
| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1060/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1059 | 1,965,978,816 | I_kwDOBZHfyM51LnTA | 1,059 | Add digitalocean_database_pool as data source | {
"login": "gvangool",
"id": 29039,
"node_id": "MDQ6VXNlcjI5MDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/29039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gvangool",
"html_url": "https://github.com/gvangool",
"followers_url": "https://api.github.com/users/gvangool/followers",
"following_url": "https://api.github.com/users/gvangool/following{/other_user}",
"gists_url": "https://api.github.com/users/gvangool/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gvangool/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gvangool/subscriptions",
"organizations_url": "https://api.github.com/users/gvangool/orgs",
"repos_url": "https://api.github.com/users/gvangool/repos",
"events_url": "https://api.github.com/users/gvangool/events{/privacy}",
"received_events_url": "https://api.github.com/users/gvangool/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 640744189,
"node_id": "MDU6TGFiZWw2NDA3NDQxODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/new-data-source",
"name": "new-data-source",
"color": "d4c5f9",
"default": false,
"description": null
},
{
"id": 919581746,
"node... | closed | false | null | [] | null | [
"Hello @andrewsomething , I tried to fix this issue, can you take a look? Thanks\r\n",
"Thanks @T-jegou and @danaelhe! \r\n\r\n#1073 fixed my use case 👍 "
] | 2023-10-27T18:06:51 | 2024-01-04T00:41:20 | 2024-01-04T00:41:19 | NONE | null | ### Is your feature request related to a problem? Please describe.
I was looking for a way to get a database pool URL from a terraform resource.
### Describe the solution you'd like
I'd want to be able to define:
```tf
data "digitalocean_database_pool" "example" {
cluster_name = "example-cluster"
pool_name = "pool1"
}
```
So I can do:
```tf
locals {
conn_str = "postgresql://${data.digitalocean_database_pool.example.username}@${data.digitalocean_database_pool.example.host}:${data.digitalocean_database_pool.example.port}/${data.digitalocean_database_pool.example.database}"
}
```
### Describe alternatives you've considered
I've added the information from the connection pool hardcoded, but it's "one more thing" that needs to be manually updated. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1059/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1058 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1058/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1058/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1058/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1058 | 1,963,756,360 | PR_kwDOBZHfyM5d4Q9x | 1,058 | k8s: Support enabling HA post-create. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-26T14:51:54 | 2023-11-01T17:34:41 | 2023-11-01T17:34:40 | MEMBER | null | DOKS clusters initially could only enable HA at create time, but they have now supported enabling it post-create for some time now (https://github.com/digitalocean/openapi/pull/753).
Fixes #926 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1058/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/1058/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1058",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1058",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1058.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1058.patch",
"merged_at": "2023-11-01T17:34:40"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1057 | 1,962,359,885 | PR_kwDOBZHfyM5dzfSf | 1,057 | build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2023-10-25T22:28:46 | 2023-10-26T14:20:47 | 2023-10-26T14:20:45 | CONTRIBUTOR | null | Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's releases</a>.</em></p>
<blockquote>
<h2>Release 1.56.3</h2>
<h1>Security</h1>
<ul>
<li>
<p>server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487)</p>
<p>In addition to this change, applications should ensure they do not leave running tasks behind related to the RPC before returning from method handlers, or should enforce appropriate limits on any such work.</p>
</li>
</ul>
<h2>Release 1.56.2</h2>
<ul>
<li>status: To fix a panic, <code>status.FromError</code> now returns an error with <code>codes.Unknown</code> when the error implements the <code>GRPCStatus()</code> method, and calling <code>GRPCStatus()</code> returns <code>nil</code>. (<a href="https://redirect.github.com/grpc/grpc-go/issues/6374">#6374</a>)</li>
</ul>
<h2>Release 1.56.1</h2>
<ul>
<li>client: handle empty address lists correctly in addrConn.updateAddrs</li>
</ul>
<h2>Release 1.56.0</h2>
<h1>New Features</h1>
<ul>
<li>client: support channel idleness using <code>WithIdleTimeout</code> dial option (<a href="https://redirect.github.com/grpc/grpc-go/issues/6263">#6263</a>)
<ul>
<li>This feature is currently disabled by default, but will be enabled with a 30 minute default in the future.</li>
</ul>
</li>
<li>client: when using pickfirst, keep channel state in TRANSIENT_FAILURE until it becomes READY (<a href="https://github.com/grpc/proposal/blob/master/A62-pick-first.md">gRFC A62</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6306">#6306</a>)</li>
<li>xds: Add support for Custom LB Policies (<a href="https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md">gRFC A52</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6224">#6224</a>)</li>
<li>xds: support pick_first Custom LB policy (<a href="https://github.com/grpc/proposal/blob/master/A62-pick-first.md">gRFC A62</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6314">#6314</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6317">#6317</a>)</li>
<li>client: add support for pickfirst address shuffling (<a href="https://github.com/grpc/proposal/blob/master/A62-pick-first.md">gRFC A62</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6311">#6311</a>)</li>
<li>xds: Add support for String Matcher Header Matcher in RDS (<a href="https://redirect.github.com/grpc/grpc-go/issues/6313">#6313</a>)</li>
<li>xds/outlierdetection: Add Channelz Logger to Outlier Detection LB (<a href="https://redirect.github.com/grpc/grpc-go/issues/6145">#6145</a>)
<ul>
<li>Special Thanks: <a href="https://github.com/s-matyukevich"><code>@s-matyukevich</code></a></li>
</ul>
</li>
<li>xds: enable RLS in xDS by default (<a href="https://redirect.github.com/grpc/grpc-go/issues/6343">#6343</a>)</li>
<li>orca: add support for application_utilization field and missing range checks on several metrics setters</li>
<li>balancer/weightedroundrobin: add new LB policy for balancing between backends based on their load reports (<a href="https://github.com/grpc/proposal/blob/master/A58-client-side-weighted-round-robin-lb-policy.md">gRFC A58</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6241">#6241</a>)</li>
<li>authz: add conversion of json to RBAC Audit Logging config (<a href="https://redirect.github.com/grpc/grpc-go/issues/6192">#6192</a>)</li>
<li>authz: add support for stdout logger (<a href="https://redirect.github.com/grpc/grpc-go/issues/6230">#6230</a> and <a href="https://redirect.github.com/grpc/grpc-go/issues/6298">#6298</a>)</li>
<li>authz: support customizable audit functionality for authorization policy (<a href="https://redirect.github.com/grpc/grpc-go/issues/6192">#6192</a> <a href="https://redirect.github.com/grpc/grpc-go/issues/6230">#6230</a> <a href="https://redirect.github.com/grpc/grpc-go/issues/6298">#6298</a> <a href="https://redirect.github.com/grpc/grpc-go/issues/6158">#6158</a> <a href="https://redirect.github.com/grpc/grpc-go/issues/6304">#6304</a> and <a href="https://redirect.github.com/grpc/grpc-go/issues/6225">#6225</a>)</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>orca: fix a race at startup of out-of-band metric subscriptions that would cause the report interval to request 0 (<a href="https://redirect.github.com/grpc/grpc-go/issues/6245">#6245</a>)</li>
<li>xds/xdsresource: Fix Outlier Detection Config Handling and correctly set xDS Defaults (<a href="https://redirect.github.com/grpc/grpc-go/issues/6361">#6361</a>)</li>
<li>xds/outlierdetection: Fix Outlier Detection Config Handling by setting defaults in ParseConfig() (<a href="https://redirect.github.com/grpc/grpc-go/issues/6361">#6361</a>)</li>
</ul>
<h1>API Changes</h1>
<ul>
<li>orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (<a href="https://redirect.github.com/grpc/grpc-go/issues/6223">#6223</a>)</li>
</ul>
<h2>Release 1.55.1</h2>
<ul>
<li>status: To fix a panic, <code>status.FromError</code> now returns an error with <code>codes.Unknown</code> when the error implements the <code>GRPCStatus()</code> method, and calling <code>GRPCStatus()</code> returns <code>nil</code>. (<a href="https://redirect.github.com/grpc/grpc-go/issues/6374">#6374</a>)</li>
</ul>
<h2>Release 1.55.0</h2>
<h1>Behavior Changes</h1>
<ul>
<li>xds: enable federation support by default (<a href="https://redirect.github.com/grpc/grpc-go/issues/6151">#6151</a>)</li>
<li>status: <code>status.Code</code> and <code>status.FromError</code> handle wrapped errors (<a href="https://redirect.github.com/grpc/grpc-go/issues/6031">#6031</a> and <a href="https://redirect.github.com/grpc/grpc-go/issues/6150">#6150</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/grpc/grpc-go/commit/1055b481ed2204a29d233286b9b50c42b63f8825"><code>1055b48</code></a> Update version.go to 1.56.3 (<a href="https://redirect.github.com/grpc/grpc-go/issues/6713">#6713</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/5efd7bd73e11fea58d1c7f1c110902e78a286299"><code>5efd7bd</code></a> server: prohibit more than MaxConcurrentStreams handlers from running at once...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/bd1f038e7234580c2694e433bec5cd97e7b7f662"><code>bd1f038</code></a> Upgrade version.go to 1.56.3-dev (<a href="https://redirect.github.com/grpc/grpc-go/issues/6434">#6434</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/faab8736bf73291f92b867d5dae31c927d53d508"><code>faab873</code></a> Update version.go to v1.56.2 (<a href="https://redirect.github.com/grpc/grpc-go/issues/6432">#6432</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/6b0b291d79831b1c8caafceec268b82c92253f96"><code>6b0b291</code></a> status: fix panic when servers return a wrapped error with status OK (<a href="https://redirect.github.com/grpc/grpc-go/issues/6374">#6374</a>) ...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/ed56401aa514462d5371713b8ec5c889da33953c"><code>ed56401</code></a> [PSM interop] Don't fail target if sub-target already failed (<a href="https://redirect.github.com/grpc/grpc-go/issues/6390">#6390</a>) (<a href="https://redirect.github.com/grpc/grpc-go/issues/6405">#6405</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/cd6a794f0bdcf9a216e8f4d3c5717faf96d9fd78"><code>cd6a794</code></a> Update version.go to v1.56.2-dev (<a href="https://redirect.github.com/grpc/grpc-go/issues/6387">#6387</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/5b67e5ea449ef0686a0c0b6de48cd4cb63e3db2a"><code>5b67e5e</code></a> Update version.go to v1.56.1 (<a href="https://redirect.github.com/grpc/grpc-go/issues/6386">#6386</a>)</li>
<li><a href="https://github.com/grpc/grpc-go/commit/d0f5150384a87f9fcac488a9c18727a55b7354c1"><code>d0f5150</code></a> client: handle empty address lists correctly in addrConn.updateAddrs (<a href="https://redirect.github.com/grpc/grpc-go/issues/6354">#6354</a>) ...</li>
<li><a href="https://github.com/grpc/grpc-go/commit/997c1ea101cc5d496d2b148388f1df49632a9171"><code>997c1ea</code></a> Change version to 1.56.1-dev (<a href="https://redirect.github.com/grpc/grpc-go/issues/6345">#6345</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1057/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1057",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1057",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1057.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1057.patch",
"merged_at": "2023-10-26T14:20:45"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1056 | 1,962,312,418 | PR_kwDOBZHfyM5dzUUa | 1,056 | Add support for Kafka Topic User ACL management | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-25T22:03:45 | 2023-11-03T16:14:22 | 2023-11-03T16:14:22 | CONTRIBUTOR | null | **What**
- Add support for kafka topic user acls based on godo updates (https://github.com/digitalocean/godo/pull/633)
**Testing**
Ran`TestAccDigitalOceanDatabaseUser_KafkaACLs,TestAccDigitalOceanDatabaseUser_Basic,TestAccDigitalOceanDatabaseUser_MongoDB,TestAccDigitalOceanDatabaseUser_MongoDBMultiUser,TestAccDigitalOceanDatabaseUser_MySQLAuth` acceptance tests | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1056/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1056",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1056",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1056.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1056.patch",
"merged_at": "2023-11-03T16:14:22"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1055 | 1,957,980,308 | PR_kwDOBZHfyM5dkuVy | 1,055 | Prep v2.31.0 release. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-23T20:35:04 | 2023-10-23T20:45:07 | 2023-10-23T20:45:06 | MEMBER | null | null | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1055/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1055",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1055",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1055.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1055.patch",
"merged_at": "2023-10-23T20:45:06"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1054 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1054/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1054/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1054/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1054 | 1,957,499,604 | PR_kwDOBZHfyM5djFeY | 1,054 | Add support for Scalable Storage | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@andrewsomething I know you just merged, but we need this at the moment, so I am wondering what is the release cadence of the package.\r\n\r\nIs there any possibility to cut a release?",
"@yordis Once this PR is merged, we'll be tagging a new release https://github.com/digitalocean/terraform-provider-digitalocea... | 2023-10-23T15:59:09 | 2023-10-23T20:40:21 | 2023-10-23T20:17:37 | CONTRIBUTOR | null | Scalable storage was released for MySQL and PostgreSQL:
https://www.digitalocean.com/blog/introducing-digitalocean-scalable-storage
It is also supported now in `godo` in v1.105.0: https://github.com/digitalocean/godo/releases/tag/v1.105.0 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1054/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/1054/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1054",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1054",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1054.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1054.patch",
"merged_at": "2023-10-23T20:17:37"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1053 | 1,954,412,479 | PR_kwDOBZHfyM5dY4wh | 1,053 | apps: Add support for ingress for component routing, rewrites, and redirects. | {
"login": "andrewsomething",
"id": 46943,
"node_id": "MDQ6VXNlcjQ2OTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/46943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrewsomething",
"html_url": "https://github.com/andrewsomething",
"followers_url": "https://api.github.com/users/andrewsomething/followers",
"following_url": "https://api.github.com/users/andrewsomething/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewsomething/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrewsomething/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewsomething/subscriptions",
"organizations_url": "https://api.github.com/users/andrewsomething/orgs",
"repos_url": "https://api.github.com/users/andrewsomething/repos",
"events_url": "https://api.github.com/users/andrewsomething/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrewsomething/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-20T14:29:17 | 2023-10-20T21:29:20 | 2023-10-20T21:29:19 | MEMBER | null | This PR adds support for app `ingress` rules for component routing, rewrites, cors, and redirects. Additionally, component level `routes` and `cors` have been deprecated in favor of the new top-level `ingress`. By doing so, we resolve the all current acceptance test failures for apps. The root of the failures was that while the apps API still accepts POSTs/PUTs with component level `routes` and `cors`, the responses/GETs convert them to `ingress` rules.
```
$ make testacc TESTARGS='-run=TestAccDigitalOceanApp'
=== RUN TestAccDigitalOceanApp_importBasic
=== PAUSE TestAccDigitalOceanApp_importBasic
=== RUN TestAccDigitalOceanApp_Image
=== PAUSE TestAccDigitalOceanApp_Image
=== RUN TestAccDigitalOceanApp_Basic
=== PAUSE TestAccDigitalOceanApp_Basic
=== RUN TestAccDigitalOceanApp_Job
=== PAUSE TestAccDigitalOceanApp_Job
=== RUN TestAccDigitalOceanApp_StaticSite
=== PAUSE TestAccDigitalOceanApp_StaticSite
=== RUN TestAccDigitalOceanApp_InternalPort
=== PAUSE TestAccDigitalOceanApp_InternalPort
=== RUN TestAccDigitalOceanApp_Envs
=== PAUSE TestAccDigitalOceanApp_Envs
=== RUN TestAccDigitalOceanApp_Worker
=== PAUSE TestAccDigitalOceanApp_Worker
=== RUN TestAccDigitalOceanApp_Function
=== PAUSE TestAccDigitalOceanApp_Function
=== RUN TestAccDigitalOceanApp_Domain
=== PAUSE TestAccDigitalOceanApp_Domain
=== RUN TestAccDigitalOceanApp_DomainsDeprecation
=== PAUSE TestAccDigitalOceanApp_DomainsDeprecation
=== RUN TestAccDigitalOceanApp_CORS
=== PAUSE TestAccDigitalOceanApp_CORS
=== RUN TestAccDigitalOceanApp_TimeoutConfig
=== PAUSE TestAccDigitalOceanApp_TimeoutConfig
=== CONT TestAccDigitalOceanApp_importBasic
=== CONT TestAccDigitalOceanApp_Worker
--- PASS: TestAccDigitalOceanApp_importBasic (124.92s)
=== CONT TestAccDigitalOceanApp_DomainsDeprecation
--- PASS: TestAccDigitalOceanApp_Worker (142.82s)
=== CONT TestAccDigitalOceanApp_TimeoutConfig
--- PASS: TestAccDigitalOceanApp_TimeoutConfig (32.36s)
=== CONT TestAccDigitalOceanApp_CORS
--- PASS: TestAccDigitalOceanApp_DomainsDeprecation (150.01s)
=== CONT TestAccDigitalOceanApp_Domain
--- PASS: TestAccDigitalOceanApp_CORS (163.86s)
=== CONT TestAccDigitalOceanApp_StaticSite
--- PASS: TestAccDigitalOceanApp_Domain (138.29s)
=== CONT TestAccDigitalOceanApp_Envs
--- PASS: TestAccDigitalOceanApp_StaticSite (123.40s)
=== CONT TestAccDigitalOceanApp_InternalPort
--- PASS: TestAccDigitalOceanApp_InternalPort (94.52s)
=== CONT TestAccDigitalOceanApp_Function
--- PASS: TestAccDigitalOceanApp_Function (107.33s)
=== CONT TestAccDigitalOceanApp_Basic
--- PASS: TestAccDigitalOceanApp_Envs (291.30s)
=== CONT TestAccDigitalOceanApp_Job
--- PASS: TestAccDigitalOceanApp_Job (104.10s)
=== CONT TestAccDigitalOceanApp_Image
--- PASS: TestAccDigitalOceanApp_Image (24.16s)
--- PASS: TestAccDigitalOceanApp_Basic (432.70s)
PASS
ok github.com/digitalocean/terraform-provider-digitalocean/digitalocean/app 1097.098s
``` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1053/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1053",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1053",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1053.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1053.patch",
"merged_at": "2023-10-20T21:29:19"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1052 | 1,946,287,574 | PR_kwDOBZHfyM5c9Rsh | 1,052 | Add support for Kafka topics | {
"login": "dweinshenker",
"id": 9273337,
"node_id": "MDQ6VXNlcjkyNzMzMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9273337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dweinshenker",
"html_url": "https://github.com/dweinshenker",
"followers_url": "https://api.github.com/users/dweinshenker/followers",
"following_url": "https://api.github.com/users/dweinshenker/following{/other_user}",
"gists_url": "https://api.github.com/users/dweinshenker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dweinshenker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dweinshenker/subscriptions",
"organizations_url": "https://api.github.com/users/dweinshenker/orgs",
"repos_url": "https://api.github.com/users/dweinshenker/repos",
"events_url": "https://api.github.com/users/dweinshenker/events{/privacy}",
"received_events_url": "https://api.github.com/users/dweinshenker/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-16T23:59:13 | 2023-10-23T16:57:42 | 2023-10-23T16:57:42 | CONTRIBUTOR | null | **What**
- Add support for kafka topics based on godo updates (https://github.com/digitalocean/godo/pull/633)
- Fix UptimeAlert marshalling for struct vs. string (https://github.com/digitalocean/godo/pull/637)
**Testing**
Ran `TestAccDigitalOceanUptimeAlert_Basic` and `TestAccDigitalOceanDatabaseKafkaTopic` acceptance tests locally | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1052/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1052",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1052",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1052.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1052.patch",
"merged_at": "2023-10-23T16:57:42"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1051 | 1,943,639,685 | PR_kwDOBZHfyM5c0VHZ | 1,051 | Support MySQL database advanced configuration | {
"login": "kallydev",
"id": 36319157,
"node_id": "MDQ6VXNlcjM2MzE5MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/36319157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kallydev",
"html_url": "https://github.com/kallydev",
"followers_url": "https://api.github.com/users/kallydev/followers",
"following_url": "https://api.github.com/users/kallydev/following{/other_user}",
"gists_url": "https://api.github.com/users/kallydev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kallydev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kallydev/subscriptions",
"organizations_url": "https://api.github.com/users/kallydev/orgs",
"repos_url": "https://api.github.com/users/kallydev/repos",
"events_url": "https://api.github.com/users/kallydev/events{/privacy}",
"received_events_url": "https://api.github.com/users/kallydev/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-15T01:58:46 | 2023-10-17T17:18:46 | 2023-10-17T17:18:46 | CONTRIBUTOR | null | Resolved #1042. | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1051/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1051",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1051",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1051.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1051.patch",
"merged_at": "2023-10-17T17:18:46"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1050 | 1,942,809,106 | PR_kwDOBZHfyM5cyCfE | 1,050 | build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 625730289,
"node_id": "MDU6TGFiZWw2MjU3MzAyODk=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/dependencies",
"name": "dependencies",
"color": "fad8c7",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2023-10-14T00:16:23 | 2023-10-17T17:23:01 | 2023-10-17T17:22:59 | CONTRIBUTOR | null | Bumps [golang.org/x/net](https://github.com/golang/net) from 0.14.0 to 0.17.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/golang/net/commit/b225e7ca6dde1ef5a5ae5ce922861bda011cfabd"><code>b225e7c</code></a> http2: limit maximum handler goroutines to MaxConcurrentStreams</li>
<li><a href="https://github.com/golang/net/commit/88194ad8ab44a02ea952c169883c3f57db6cf9f4"><code>88194ad</code></a> go.mod: update golang.org/x dependencies</li>
<li><a href="https://github.com/golang/net/commit/2b60a61f1e4cf3a5ecded0bd7e77ea168289e6de"><code>2b60a61</code></a> quic: fix several bugs in flow control accounting</li>
<li><a href="https://github.com/golang/net/commit/73d82efb96cacc0c378bc150b56675fc191894b9"><code>73d82ef</code></a> quic: handle DATA_BLOCKED frames</li>
<li><a href="https://github.com/golang/net/commit/5d5a036a503f8accd748f7453c0162115187be13"><code>5d5a036</code></a> quic: handle streams moving from the data queue to the meta queue</li>
<li><a href="https://github.com/golang/net/commit/350aad2603e57013fafb1a9e2089a382fe67dc80"><code>350aad2</code></a> quic: correctly extend peer's flow control window after MAX_DATA</li>
<li><a href="https://github.com/golang/net/commit/21814e71db756f39b69fb1a3e06350fa555a79b1"><code>21814e7</code></a> quic: validate connection id transport parameters</li>
<li><a href="https://github.com/golang/net/commit/a600b3518eed7a9a4e24380b4b249cb986d9b64d"><code>a600b35</code></a> quic: avoid redundant MAX_DATA updates</li>
<li><a href="https://github.com/golang/net/commit/ea633599b58dc6a50d33c7f5438edfaa8bc313df"><code>ea63359</code></a> http2: check stream body is present on read timeout</li>
<li><a href="https://github.com/golang/net/commit/ddd8598e5694aa5e966e44573a53e895f6fa5eb2"><code>ddd8598</code></a> quic: version negotiation</li>
<li>Additional commits viewable in <a href="https://github.com/golang/net/compare/v0.14.0...v0.17.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/digitalocean/terraform-provider-digitalocean/network/alerts).
</details> | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1050/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1050",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1050",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1050.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1050.patch",
"merged_at": "2023-10-17T17:22:59"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1049 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1049/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1049/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1049/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1049 | 1,940,206,696 | I_kwDOBZHfyM5zpTRo | 1,049 | Get unattached reserved_ip in data | {
"login": "AAverin",
"id": 1481332,
"node_id": "MDQ6VXNlcjE0ODEzMzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1481332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AAverin",
"html_url": "https://github.com/AAverin",
"followers_url": "https://api.github.com/users/AAverin/followers",
"following_url": "https://api.github.com/users/AAverin/following{/other_user}",
"gists_url": "https://api.github.com/users/AAverin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AAverin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AAverin/subscriptions",
"organizations_url": "https://api.github.com/users/AAverin/orgs",
"repos_url": "https://api.github.com/users/AAverin/repos",
"events_url": "https://api.github.com/users/AAverin/events{/privacy}",
"received_events_url": "https://api.github.com/users/AAverin/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1049485552,
"node_id": "MDU6TGFiZWwxMDQ5NDg1NTUy",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/do-api",
"name": "do-api",
"color": "0080ff",
"default": false,
"description": "Depends on changes to the DigitalOcean API"
}
] | open | false | null | [] | null | [
"Currently DigitalOcean reserved IPs do not have a \"name.\" The only unique identifier for the reserved IP is the IP address itself. In order to retrieve information about the reserved IP from the DigitalOcean, you must supply the IP.\r\n\r\nhttps://docs.digitalocean.com/reference/api/api-reference/#operation/rese... | 2023-10-12T15:09:30 | 2023-10-13T14:33:37 | null | NONE | null | ### Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. -->
If reserved_ip resource is managed by terraform it ends up in the state. Then destroying such infrastructure results in destruction of the reserved ip too.
I would like to keep my reserved ip in case I want to tear down and recreate the whole setup, but still have it accessible on the same production ip.
A way to do that could be to remove resource from terraform state and have data instead.
```
data "digitalocean_reserved_ip" "nomad_bastion" {
ip_address = digitalocean_droplet.nomad_bastion.ipv4_address
depends_on = [
resource.digitalocean_droplet.nomad_bastion
]
}
resource "digitalocean_reserved_ip_assignment" "bastion_static_ip" {
ip_address = data.digitalocean_reserved_ip.nomad_bastion.ip_address
droplet_id = digitalocean_droplet.nomad_bastion.id
depends_on = [
data.digitalocean_reserved_ip.digitalocean_droplet.nomad_bastion,
resource.digitalocean_droplet.nomad_bastion
]
}
```
Issue is that `ip_address` field is required on `data.digitalocean_reserved_ip` and it is not possible to just get already created reserved_ip by name to then assign it to the droplet.
### Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
`ip_address` field should be marked as optional and `data.digitalocean_reserved_ip` should provide access to created reserved ip by name without ip_address, basically allowing to get unassigned reserved_ip.
### Describe alternatives you've considered
<!-- A clear and concise description of any alternative solutions or features you've
considered. -->
### 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/1049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1049/timeline | null | reopened | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1048 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1048/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1048/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1048/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1048 | 1,937,665,773 | PR_kwDOBZHfyM5cgkRV | 1,048 | Rework deployment logic | {
"login": "davidsbond",
"id": 6227720,
"node_id": "MDQ6VXNlcjYyMjc3MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6227720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidsbond",
"html_url": "https://github.com/davidsbond",
"followers_url": "https://api.github.com/users/davidsbond/followers",
"following_url": "https://api.github.com/users/davidsbond/following{/other_user}",
"gists_url": "https://api.github.com/users/davidsbond/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davidsbond/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidsbond/subscriptions",
"organizations_url": "https://api.github.com/users/davidsbond/orgs",
"repos_url": "https://api.github.com/users/davidsbond/repos",
"events_url": "https://api.github.com/users/davidsbond/events{/privacy}",
"received_events_url": "https://api.github.com/users/davidsbond/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks very much @andrewsomething! Been really easy using app platform, DO in general and this terraform provider. Really good work from y'all and happy to contribute!"
] | 2023-10-11T12:34:32 | 2023-10-13T10:12:11 | 2023-10-12T19:07:24 | CONTRIBUTOR | null | This commit modifies the logic used by the `digitalocean_app` resource to check each step for a success status rather than using the counts of steps. The step counting method fails to work with jobs of kind `FAILED_DEPLOY` as these will always be pending, meaning that any app deployed with a job of this type will always time out even when it is successful.
Closes #1047 | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1048/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/1048/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1048",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1048",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1048.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1048.patch",
"merged_at": "2023-10-12T19:07:24"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1047 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1047/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1047/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1047/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1047 | 1,935,785,440 | I_kwDOBZHfyM5zYb3g | 1,047 | FAILED_DEPLOY jobs cause infinite polling on app deployment | {
"login": "davidsbond",
"id": 6227720,
"node_id": "MDQ6VXNlcjYyMjc3MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6227720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidsbond",
"html_url": "https://github.com/davidsbond",
"followers_url": "https://api.github.com/users/davidsbond/followers",
"following_url": "https://api.github.com/users/davidsbond/following{/other_user}",
"gists_url": "https://api.github.com/users/davidsbond/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davidsbond/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidsbond/subscriptions",
"organizations_url": "https://api.github.com/users/davidsbond/orgs",
"repos_url": "https://api.github.com/users/davidsbond/repos",
"events_url": "https://api.github.com/users/davidsbond/events{/privacy}",
"received_events_url": "https://api.github.com/users/davidsbond/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've raised a pull request that I think should resolve this issue, not sure the best way for me to test this though, so happy for some input!"
] | 2023-10-10T16:45:36 | 2023-10-12T19:07:26 | 2023-10-12T19:07:26 | CONTRIBUTOR | 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
I have an app on app platform that consists of some jobs and a service which I deploy with terraform. I recently added a job with kind `"FAILED_DEPLOY"` which is intended to run after my service has failed deployment.
Since adding this, I've noticed that apply runs fr the `digitalocean_app` resource will hit the 30 minute timeout. I had a quick browse of the code for that resource and suspect that the polling does not take into account that in a successful deploy, the `FAILED_DEPLOY` step should never be ran. I think that it is waiting to see that step as complete when it never is. [Here](https://github.com/digitalocean/terraform-provider-digitalocean/blob/main/digitalocean/app/resource_app.go#L224) is the part of the code I'm referring to.
### Affected Resource(s)
- digitalocean_app
### Expected Behavior
My deployment should succeed
### Actual Behavior
The deployment succeeds in the digital ocean user interface, but the terraform apply hits the timeout.
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. Create a digital ocean app in terraform that has a main job/service and a `FAILED_DEPLOY` job
2. Deploy using `terraform apply`
3. Wait
**Terraform Configuration Files**
<!--
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.-->
**Terraform version**
v1.5.7
**Debug Output**
<!-- Please provide a link to a GitHub Gist containing the complete debug output:
https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the
debug output in the issue; just paste a link to the Gist. -->
**Panic Output**
<!-- 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/1047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1047/timeline | null | completed | null | null | false |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1046 | 1,933,857,099 | PR_kwDOBZHfyM5cTWUC | 1,046 | LBAAS-2800: no region field needed for global lb type | {
"login": "apinonformoso",
"id": 143539236,
"node_id": "U_kgDOCI48JA",
"avatar_url": "https://avatars.githubusercontent.com/u/143539236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apinonformoso",
"html_url": "https://github.com/apinonformoso",
"followers_url": "https://api.github.com/users/apinonformoso/followers",
"following_url": "https://api.github.com/users/apinonformoso/following{/other_user}",
"gists_url": "https://api.github.com/users/apinonformoso/gists{/gist_id}",
"starred_url": "https://api.github.com/users/apinonformoso/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/apinonformoso/subscriptions",
"organizations_url": "https://api.github.com/users/apinonformoso/orgs",
"repos_url": "https://api.github.com/users/apinonformoso/repos",
"events_url": "https://api.github.com/users/apinonformoso/events{/privacy}",
"received_events_url": "https://api.github.com/users/apinonformoso/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Looks AWESOME! Could you include some test coverage for this as well? You can include it in the `/loadbalancer/resource_loadbalancer_test.go` test file 👍 ",
"> Looks AWESOME! Could you include some test coverage for this as well? You can include it in the `/loadbalancer/resource_loadbalancer_test.go` test file ... | 2023-10-09T21:37:14 | 2023-10-10T18:50:29 | 2023-10-10T18:36:14 | CONTRIBUTOR | null | ## Summary
Created a custom diff function to validate that `region` field is not required if the type file is set to `GLOBAL` and if set to `REGIONAL` validate `region` value is present and not empty.
### Validation
Verified by running `terraform plan` for each case
#### type=GLOBAL and region="nyc3"

#### type=GLOBAL and region=""

#### type=GLOBAL and no region

#### type=REGIONAL and region="nyc3"

#### type=REGIONAL and region=""

#### type=REGIONAL and no region

#### region="nyc3" and no type

#### no type and no region

| {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1046/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1046",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1046",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1046.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1046.patch",
"merged_at": "2023-10-10T18:36:13"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045/events | https://github.com/digitalocean/terraform-provider-digitalocean/pull/1045 | 1,930,703,684 | PR_kwDOBZHfyM5cIyX6 | 1,045 | Database: Clarify Docs for Referencing DB Replicas | {
"login": "danaelhe",
"id": 42972711,
"node_id": "MDQ6VXNlcjQyOTcyNzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/42972711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danaelhe",
"html_url": "https://github.com/danaelhe",
"followers_url": "https://api.github.com/users/danaelhe/followers",
"following_url": "https://api.github.com/users/danaelhe/following{/other_user}",
"gists_url": "https://api.github.com/users/danaelhe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/danaelhe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danaelhe/subscriptions",
"organizations_url": "https://api.github.com/users/danaelhe/orgs",
"repos_url": "https://api.github.com/users/danaelhe/repos",
"events_url": "https://api.github.com/users/danaelhe/events{/privacy}",
"received_events_url": "https://api.github.com/users/danaelhe/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2023-10-06T17:49:09 | 2023-10-12T19:12:37 | 2023-10-12T19:12:36 | MEMBER | null | Clarify that when referencing `digitalocean_database_replica`, the `uuid` must be used instead of `id` | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1045/timeline | null | null | false | {
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/pulls/1045",
"html_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1045",
"diff_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1045.diff",
"patch_url": "https://github.com/digitalocean/terraform-provider-digitalocean/pull/1045.patch",
"merged_at": "2023-10-12T19:12:36"
} | true |
https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1044 | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1044/labels{/name} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1044/comments | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1044/events | https://github.com/digitalocean/terraform-provider-digitalocean/issues/1044 | 1,929,788,434 | I_kwDOBZHfyM5zBjwS | 1,044 | Terraform ignores skip_credentials_validation flag for s3 backend with custom endpoint(spaces) | {
"login": "samuelarogbonlo",
"id": 47984109,
"node_id": "MDQ6VXNlcjQ3OTg0MTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/47984109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuelarogbonlo",
"html_url": "https://github.com/samuelarogbonlo",
"followers_url": "https://api.github.com/users/samuelarogbonlo/followers",
"following_url": "https://api.github.com/users/samuelarogbonlo/following{/other_user}",
"gists_url": "https://api.github.com/users/samuelarogbonlo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/samuelarogbonlo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/samuelarogbonlo/subscriptions",
"organizations_url": "https://api.github.com/users/samuelarogbonlo/orgs",
"repos_url": "https://api.github.com/users/samuelarogbonlo/repos",
"events_url": "https://api.github.com/users/samuelarogbonlo/events{/privacy}",
"received_events_url": "https://api.github.com/users/samuelarogbonlo/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 620326610,
"node_id": "MDU6TGFiZWw2MjAzMjY2MTA=",
"url": "https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/labels/bug",
"name": "bug",
"color": "f7c6c7",
"default": true,
"description": null
},
{
"id": 670571413,
"node_id": "MDU6TGFiZWw2NzA1Nz... | closed | false | null | [] | null | [
"Hi @samuelarogbonlo,\r\n\r\nThanks for raising this issue. I can reproduce this with Terraform v1.6.0. Unfortunately, this is not something under our control at the provider level. It is an issue with Terraform itself. It looks like it has already been reported upstream:\r\n\r\nhttps://github.com/hashicorp/terrafo... | 2023-10-06T09:37:01 | 2023-10-11T13:56:39 | 2023-10-11T13:56: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
<!-- A clear and concise description of what the bug is. -->
### 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. -->
### Expected Behavior
<!-- What should have happened? -->
```
terraform init
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules...
- daily_snapshot in ../modules/daily_snapshot
Initializing provider plugins...
- Reusing previous version of hashicorp/external from the dependency lock file
- Reusing previous version of hashicorp/local from the dependency lock file
- Reusing previous version of digitalocean/digitalocean from the dependency lock file
- Installing digitalocean/digitalocean v2.29.0...
- Installed digitalocean/digitalocean v2.29.0 (signed by a HashiCorp partner, key ID F82037E524B9C0E8)
- Installing hashicorp/external v2.3.1...
- Installed hashicorp/external v2.3.1 (signed by HashiCorp)
- Installing hashicorp/local v2.4.0...
- Installed hashicorp/local v2.4.0 (signed by HashiCorp)
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
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
```
### Actual Behavior
<!-- What actually happened? -->
```
terraform init
Initializing the backend...
Initializing modules...
╷
│ Error: Retrieving AWS account details: AWS account ID not previously found and failed retrieving via all available methods. See https://www.terraform.io/docs/providers/aws/index.html#skip_requesting_account_id for workaround and implications. Errors: 2 errors occurred:
│ * retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: a556ea16-6d21-488d-a0d1-103b39766945, api error InvalidClientTokenId: The security token included in the request is invalid.
│ * retrieving account information via iam:ListRoles: operation error IAM: ListRoles, https response error StatusCode: 403, RequestID: 8c9e5afb-a0a2-4e3b-9f0f-e9199402bdeb, api error InvalidClientTokenId: The security token included in the request is invalid.
```
### Steps to Reproduce
<!-- Please list the steps required to reproduce the issue, for example:
1. `terraform apply` -->
```
export AWS_SECRET_ACCESS_KEY=<your S3 secret key>
export AWS_ACCESS_KEY_ID=<your S3 access key>
terraform init
```
**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 {
required_version = "~> 1.3"
backend "s3" {
bucket = "forest-iac"
key = "custom_name.tfstate"
# This value is completely unused by DO but _must_ be a known AWS region.
region = "us-west-1"
endpoints = {
s3 = "https://fra1.digitaloceanspaces.com"
}
skip_credentials_validation = "true"
}
}
```
**Terraform version**
<!-- Run `terraform -v` to show the version. If you are not running the latest
version of Terraform, please upgrade because your issue may have already been
fixed. -->
```
Terraform v1.6.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/1044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/digitalocean/terraform-provider-digitalocean/issues/1044/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.