Commit Graph

1052 Commits

Author SHA1 Message Date
Kiara Grouwstra 2bba30894b document tested API coverage 2022-08-20 19:30:20 +02:00
Kiara Grouwstra 335e5d9700 restore functionality for images 2022-08-20 19:30:07 +02:00
Kiara Grouwstra 068804baf8 drop pagination where unused 2022-08-16 12:42:04 +02:00
Kiara Grouwstra aa52704e7c adjust id type for images and ssh keys from int to string 2022-08-16 12:19:11 +02:00
Kiara Grouwstra c4718d8be8 ditch unexposed endpoints 2022-08-16 12:15:46 +02:00
Kiara Grouwstra 35374b3076 update vendor 2022-08-16 12:10:48 +02:00
Kiara Grouwstra d939ea6100 merge in new droplets endpoint from upstream 2022-08-16 12:09:54 +02:00
Kiara Grouwstra 1697596be7 restore func flattenDigitalOceanTag 2022-08-16 11:40:00 +02:00
Kiara Grouwstra c43eaf1aac base url 2022-08-16 11:30:30 +02:00
Kiara Grouwstra 2cda560a5c unlist services not exposed in greenhost 2022-08-16 11:29:12 +02:00
Kiara Grouwstra f3e59d2933 ditch aws deps 2022-08-14 23:25:01 +02:00
Kiara Grouwstra 10779a867e ditch stuff unused in greenhost api 2022-08-14 23:23:50 +02:00
Mikołaj Młodzikowski e3551e0399
Add more docs examples on using droplet snapshots (#846) 2022-07-12 15:37:38 -04:00
Andrew Starr-Bochicchio c0291e061a
apps: Only warn on read if there is no active deployment. (#843) 2022-06-23 12:59:48 -05:00
Liam Cooper eec9fa4497
Remove database cluster and/or database firewall rule from state if missing (#840)
* Return nil if cluster or firewall rule does not exist

* Ensure resp is not nil before checking StatusCode.

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2022-06-16 17:54:00 -04:00
Andrew Starr-Bochicchio 49eedbdddb
Prep v2.21.0 release (#838) 2022-06-16 08:04:50 -04:00
Andrew Starr-Bochicchio b1709c2e5d
Add reserved IP related resources and data source (#830)
* Replace upstream godo with fork temporarily

* Add reserved_ip data source.

* Add reserved_ip resource.

* Add reserved_ip_assignment resource.

* Reduce duplication in data sources.

* Add reserved IP docs.

* Protect against panic when resp is nil.

* Clean up names of test resources.

* Add deprecation messaging to docs.

* Vendor godo v1.81.0

* Fix typos in docs.
2022-06-15 18:10:43 -04:00
Jacob Greenleaf 4a36d7dfb1
Change k8s example to use ingress v1 (#837)
In Kubernetes 1.22, the v1beta1 version of Ingress
is no longer available, thus the example fails to create
the ingress on Kubernetes >= 1.22. Switches the example
to use the kubernetes_ingress_v1 resource instead.

Note that this now increases the minimum version of
terraform-provider-kubernetes since kubernetes_ingress_v1 was
added in v2.7.0.
2022-06-15 14:49:06 -04:00
Andrew Starr-Bochicchio a2b6742937
Prep v2.20.0 release. (#833) 2022-05-25 17:11:20 -04:00
Andrew Starr-Bochicchio d1fa48d07b
docs: Document values attribute in ssh_keys data source (fixes: #792). (#832) 2022-05-25 16:12:33 -04:00
Andrew Starr-Bochicchio e4a9080ec5
apps: Support functions components. (#831)
* apps: consolidate appSpecComponentBase

* apps: Support functions components.

* docs: Document functions for App Platform.

* apps: Fix loop in polling for deployment.
2022-05-25 15:53:32 -04:00
Michele Azzolari 20c8943bec
kubernetes: always perform upgrade check. (#823) (#824)
version check does not depend on node_pool changes
2022-05-11 11:07:25 -05:00
Andrea Galbusera 7516974103
digitalocean_kubernetes_cluster: fix k8s versions in acceptance tests (#826)
* k8s: update k8s versions used by acceptance tests. (#825)

* DigitalOcean now supports 1.21 and 1.22 only as k8s versions for new
clusters: use latest for all tests except for cluster version upgrade
tests where we need both.

* Docs: update example resources as well to reference latest version.

* k8s: use generic names for cluster version datasources. (#825)

Keeping k8s cluster versions used by acceptance tests in sync with those
supported by Digitalocean is crucial for keeping acceptance test
healthy.

To reduce the maintenance burden, use generic names for k8s versions
used by test, namely testClusterVersionLatest and
testClusterVersionPrevious instead of literally mentioning the version's
minor number. So we will need to only update the datasource definitions
with the correct versions when needed.
2022-05-05 09:46:20 -05:00
Andrew Starr-Bochicchio 83db3ef479
alerts: Support load balancer alert types. (#822)
* vendor: Bump godo to v1.79.0

* alerts: Support load balancer alert types.
2022-05-04 10:10:41 -05:00
Andrew Starr-Bochicchio 9e314ad515
docs: Note limitations on importing MongoDB users. (#821) 2022-04-25 13:32:30 -04:00
Samuel Guyah e9bd852547
go 1.18 (#813)
* tests/release

* go mod tidy / go mod vendor
2022-04-18 12:39:06 -05:00
danaelhe c8914bf20f
fix k8's node_pool.tags description (#816)
per #815

thanks for the catch @kylepeterdavies
2022-04-18 08:59:12 -05:00
Dikshant Adhikari 8b2cf4edf0
load-balancers: support udp as a target and entry protocol (#789) 2022-04-07 12:18:17 -04:00
Andrew Starr-Bochicchio 83a079db3c
Prep v2.19.0 release. (#806) 2022-03-29 17:18:27 -04:00
Andrew Starr-Bochicchio 0a67a25874
registry: Support providing custom region. (#804)
* Bump godo to v1.77.0

* registry: Support providing custom region.

* registry: Set created_at and storage_usage_bytes

* Update docs with new registry attributes.
2022-03-28 16:35:31 -04:00
Andrew Starr-Bochicchio 75c1281140
Prep v2.18.0 release. (#801) 2022-03-08 13:00:27 -05:00
Kieran O'Sullivan 97206717fe
fix: handle optional boolean droplet_agent (#785)
closes #779

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
2022-03-08 12:42:27 -05:00
Pavel Kovář 438f41afb8
spaces: Implement support for bucket policy (#800)
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
2022-03-08 12:34:41 -05:00
John Brunton 9b08119d8a
Implement support for App Platform log_destinations (#798)
* Support for App Platform log_destinations

* improve log_destination validation and defaults
2022-03-07 12:12:26 -05:00
Andrew Starr-Bochicchio e3ac4a4f00
apps: Implement support for configuring alert policies. (#797)
* AppSpec Alerts

* Remove unrelated database replica change.

* Alert delivery methods are not configurable in the spec.

* Complete support for configuring app alert policies.

Co-authored-by: Mads Jensen <mads.jensen@eficode.com>
2022-02-28 12:15:57 -05:00
Felix Hillingshaeuser b509a0d1ca
docs: add default ttl to digitalocean_record (#791) 2022-02-17 11:48:52 -05:00
Andrew Starr-Bochicchio 017598a00f
projects: Environment is optional, don't set default. (#788) 2022-02-11 12:00:27 -05:00
Andrew Starr-Bochicchio 885dabcc14
Prep v2.17.1 release. (#784) 2022-01-28 11:44:23 -05:00
Christian Nunciato b9a05d3e6e
Add MONGODB as a database engine option (#783) 2022-01-28 10:26:02 -05:00
Andrew Starr-Bochicchio 8154f8795a
monitor_alert: Docs update (fixes: #780). (#781) 2022-01-24 11:23:34 -05:00
Andrew Starr-Bochicchio 14bbd2e52b
Prep v2.17.0 release. (#777) 2022-01-14 16:39:53 -05:00
Andrew Starr-Bochicchio 1ab865bcf9
droplet: Refactor post-create polling code. (#776)
* Setting droplet ID after it might be unset

* droplet: Refactor post-create polling code.

* droplets: Fix resize related acceptance tests.

Co-authored-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2022-01-14 16:00:07 -05:00
opeco17 f077a07927
Fetch loadbalancer resource in datasource by ID (#773)
* Modify loadbalancer datasource to fetch resource by ID

* Update document about load balancer

* Add acceptance tests for loadbalancer datasource

* load balancers: Use unique tag names in acceptance tests.

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2022-01-10 10:55:49 -05:00
Andrew Starr-Bochicchio 5f4b0f65de
docs: Update records examples to use domain id over name. (#770) 2022-01-05 13:25:31 -05:00
Andrew Starr-Bochicchio bb2cfd04aa
floating_ip_assignment: Properly support importing existing assignments. (#771) 2022-01-05 13:19:26 -05:00
Cesar Garza 691fac3ab3
Add k8s as available project resource to docs (#750)
* Add k8s as supported project resource

* docs: Mention Kubernetes Clusters in project resources docs.

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2022-01-04 15:24:37 -05:00
Andrew Starr-Bochicchio 1a9655c6dc
apps: Support preserve_path_prefix (#768)
* Bump godo to v1.73.0.

* apps: Support preserve_path_prefix
2022-01-04 11:09:54 -05:00
opeco17 5fdae39dca
Fixed issue about database cluster (#761)
Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
2022-01-03 11:27:01 -05:00
Colin Wilson 45024e5a0b
remove incorrect comment from data source example (#766) 2022-01-01 13:25:13 -05:00
Andrew Starr-Bochicchio d7a65dd605
Update to v2.10.1 of the terraform-plugin-sdk. (#760) 2021-12-17 17:51:19 -05:00