* 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>
* 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.
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.
* 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.
* 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.
* 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>
* 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>