Commit Graph

841 Commits

Author SHA1 Message Date
Andrew Starr-Bochicchio c35d0a14f2
Update CHANGELOG.md 2020-08-07 15:39:04 -04:00
Andrew Starr-Bochicchio 6d6236ea5b
Allow for SRV records with port 0. Fixes: #475 (#476)
* Import godo v1.42.1

* Allow for SRV records with port 0. Fixes: #475
2020-08-07 15:31:41 -04:00
Michael Wooley f016d65d91
Update record.html.markdown (#474)
Make clear that the `name` field is modifying the hostname, which is more consistent with UI. For whatever reason I lost 15 minutes on this today trying to understand how to add a record on a subdomain. Maybe this would have cleared it up. Oftentimes "name" is more decorative/useful for other resources whereas here it is quite important to the resource itself.
2020-08-04 12:02:24 -04:00
Andrew Starr-Bochicchio 7da9cdfe22
Update CHANGELOG.md 2020-07-22 14:03:49 -04:00
Andrew Starr-Bochicchio a975f65832 Enable auto_upgrade on Kubernetes clusters (#457).
Squashed commit of the following:

commit 99a3619c0b0ab64522eeaff07d7c2284320c5439
Author: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
Date:   Wed Jul 22 13:03:51 2020 -0400

    Clean up vendor directory.

commit 3eb854036619eff58b0c41679f5b314481292e70
Author: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
Date:   Wed Jul 22 11:10:17 2020 -0400

    Re-run make fmt

commit e1fb81809e7e9580d5a34aa5cddacf90fd1de11a
Author: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
Date:   Wed Jul 22 11:09:58 2020 -0400

    Convert bool to pointer.

commit aa32252028723bbbc29eeac85c38e8d68ba71a23
Author: Luke Farnell <lfarnell@outlook.com>
Date:   Tue Jul 21 23:13:56 2020 -0400

    Added documentation for using the data source.

commit 1ff5d0a92521ae16df0266d87438be16c6be1854
Author: Luke Farnell <lfarnell@outlook.com>
Date:   Tue Jul 21 22:32:05 2020 -0400

    Ran go mod vendor.

commit 22e0fb0a9940cb3fd7b080380f71f5e2a8dc0c13
Author: Luke Farnell <lfarnell@outlook.com>
Date:   Sun Jul 5 17:25:01 2020 -0400

    Add auto_upgrade docs.

commit 06d3aa84957341561c48c944abb6e8f5d00817bc
Author: Luke Farnell <lfarnell@outlook.com>
Date:   Sun Jul 5 17:00:45 2020 -0400

    Adding auto_upgrade.

Co-authored-by: Luke Farnell <lfarnell@outlook.com>
2020-07-22 13:16:35 -04:00
Andrew Starr-Bochicchio 11296f12ab
registry credentials: Update default expiry and don't ignore error (#467)
* Add test using the default expiry.

* Don't ignore error when calling updateExpiredDockerCredentials.

* Set default to the new max allowed by the API.
2020-07-21 15:35:19 -04:00
Varsha Varadarajan 1f18243ebc
kubernetes - add support for surge upgrades (#465)
* vendor: go get -d github.com/digitalocean/godo@v1.41.0

* kubernetes - add support for surge upgrades

* kubernetes - fix acceptance tests, add docs
2020-07-21 14:20:20 -04:00
Andrew Starr-Bochicchio c10ed37150
Update README.md 2020-07-21 13:58:07 -04:00
Andrew Starr-Bochicchio 0da4a4a4e0
Remove website-test from CI and Makefile. (#468)
As part of the repo transition, our docs have been
removed from terraform.io They now redirect to our
page in the registry.

e832984aa6

This leads to test failures in CI. These test can
be removed as they are no longer relevent.

HashiCorp has provided a tool for previewing how
markdown will render on the registry.
2020-07-21 11:11:22 -04:00
Andrew Starr-Bochicchio a5a7e8ce76
Update CHANGELOG.md 2020-07-20 15:22:23 -04:00
Andrew Starr-Bochicchio 53cb1232f5
New Goreleaser and GitHub Actions-based release pipeline (#464)
* Add Goreleaser configuration.

* Add GitHub Action for release workflow.

* Add release overview to README.

* Run tests with same version used to build the provider.
2020-07-20 15:13:42 -04:00
Andrew Starr-Bochicchio affdc546ab
Update module and import paths for repository transfer. (#463) 2020-07-20 15:13:25 -04:00
Andrew Starr-Bochicchio 45e67ee572
Update README for repository transfer. (#462) 2020-07-20 12:02:56 -04:00
George Cox 289c96e90b
digitalocean_loadbalancer - Adds 'https' to healthcheck protocols; (#460) 2020-07-14 15:57:41 -04:00
Andrew Starr-Bochicchio a2481529a5
Increase timeout on VPC deletion retry. (#455) 2020-07-08 09:49:15 -04:00
tf-release-bot 3c54f2ae05 Cleanup after v1.20.0 release 2020-06-15 16:27:45 +00:00
tf-release-bot aeaf268d06
v1.20.0 2020-06-15 16:16:32 +00:00
Andrew Starr-Bochicchio af109b9950
Update CHANGELOG.md 2020-06-15 12:06:07 -04:00
Andrew Starr-Bochicchio 068fc8affe
Add datasource_digitalocean_tags and expose resource counts. (#451) 2020-06-15 12:00:14 -04:00
Andrew Starr-Bochicchio aac799017a
Set ID in flattenDigitalOceanDroplet. (#450) 2020-06-15 10:25:58 -04:00
Chad Bean ffab39e3bd
Fix vpc import syntax (#453) 2020-06-15 10:25:38 -04:00
tf-release-bot b1018dafa1 Cleanup after v1.19.0 release 2020-06-03 22:45:58 +00:00
tf-release-bot 225a596da7
v1.19.0 2020-06-03 22:35:35 +00:00
Andrew Starr-Bochicchio 3c870ca770
Add container_registry_docker_credentials to docs nav. (#448) 2020-06-03 17:56:33 -04:00
Andrew Starr-Bochicchio 80a47f33c9
Update CHANGELOG.md 2020-06-03 17:56:26 -04:00
Mason Egger 9ea6d36b0e
adding Container Registry support (#383)
* adding Container Registry support

* adding endpoint and docker_credentials as attributes to datasource

* updating documentation on how to use the endpoint attribute

* adding a server_url attribute

* adding tests, exporting attributes from resources, fixing go.sum, updating docs

* adding update function and splitting out generateDockerCreds into a separate function

* updating acceptance tests and docs

* Update website/docs/d/container_registry.html.md

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Update website/docs/d/container_registry.html.md

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Update website/docs/d/container_registry.html.md

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* adding kubernetes example

* adding note about container registry beta

* removing TODOs

* partial push

* almost done, odd error in import test and waiting for final default value

* setting default for expiry_seconds and creating custom importer

* creating new resource for docker credentials

* fixed tiny bug in testing

* Update website/docs/r/container_registry_docker_credentials.html.markdown

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Update website/docs/r/container_registry_docker_credentials.html.markdown

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Final tweaks as requested

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
2020-06-03 16:30:15 -05:00
Andrew Starr-Bochicchio cd6a218fd1
dbaas: Add support for specifying a VPC for read-only replicas. (#440) 2020-06-03 17:22:30 -04:00
Kaden Nelson fd9e7b8b81
Add forcenew to vpc_uuid field of kubernetes cluster resource (#444) 2020-05-30 14:24:46 -04:00
Andrew Starr-Bochicchio b069a9949d
kubernetes: Re-work tests to no longer rely on hard-coded versions. (#438) 2020-05-13 17:35:26 -04:00
Andrew Starr-Bochicchio ae4578c0e5
kubernetes: Fail faster on cluster create error (fixes: #434). (#435)
* kubernetes: Fail faster on cluster create error (fixes: #434).

* Bump k8s test version slugs.
2020-05-13 17:08:17 -04:00
Jose Diaz-Gonzalez f4ae42123d
fix: correct spelling (#439) 2020-05-12 08:52:32 -04:00
Julien K fe0dd8b483
Fix correct argument name in given example for resource digitalocean_spaces_bucket_object (#437) 2020-05-11 16:51:38 -04:00
tf-release-bot d1929c155a Cleanup after v1.18.0 release 2020-05-05 19:19:41 +00:00
tf-release-bot 4354b1c917
v1.18.0 2020-05-05 19:09:26 +00:00
Andrew Starr-Bochicchio c8d2b1d346
Update CHANGELOG.md 2020-05-05 13:28:37 -04:00
Paul Stack d19034e916
Making SpacesAPI Endpoint optional (#431) 2020-05-05 13:19:45 -04:00
Andrew Starr-Bochicchio add3c5f29b
load balancers: Add support for backend keepalive (Fixes: #427). (#428)
* load balancers: Add support for backend keepalive (Fixes: #427).

* Fix typo.
2020-05-04 12:59:05 -04:00
Tom Dyas 64674c727c
remove extra debug logging statement (#429) 2020-05-02 11:06:54 -04:00
tf-release-bot 2d693e07a2 Cleanup after v1.17.0 release 2020-04-28 21:38:38 +00:00
tf-release-bot 39e79e13a3
v1.17.0 2020-04-28 21:28:26 +00:00
Alex Kretzschmar 821b3dd7e4
Fixed incorrect data reference (#425)
`.data` is required to access the example vpc data.
2020-04-28 17:12:27 -04:00
Andrew Starr-Bochicchio 368a6e334f
Update CHANGELOG.md 2020-04-28 16:47:55 -04:00
Tom Dyas f21cc9106f
add digitalocean_spaces_bucket_object(s) data sources adapted from S3 (#423)
* import S3 data sources

* change names to DO, strip out most unsupported features

* use spaces client; now compiles

* tests use spaces client

* initial rename of attributes in tests

* add region attribute to digitalocean_spaces_bucket_objects

* validation on region and bucket attributes

* rename files to match file naming conventions

* first attempt at working tests

* more work on tests

* remove unsupported tags attribute

* just check if version_id exists, doesn't match AWS impl

* update test resources for test of digitalocean_spaces_bucket_objects

* add force_destroy to bucket

* docs as is from AWS provider

* first pass at adapting the docs

* adjust example to be a Droplet not a EC2 instance

* more S3 -> Spaces in docs

* conform encoding test to Spaces output

* Spaces does not support ListObjectsV2 API, switch away

* update docs

* Update docs.

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2020-04-28 16:39:17 -04:00
Andrew Starr-Bochicchio cf867ea6b9
load balancers: Fix support for multiple forwarding rules (fixes: #414). (#419)
* load balancers: Fix support for multiple forwarding rules (fixes: #414).

* Remove debug statement.

* Also add multi-rule test case to the data source.
2020-04-28 15:25:57 -04:00
Andrew Starr-Bochicchio d8c7d2ed7b
Fix handling of CAA records with iodef tag (fixes: #421). (#422) 2020-04-24 11:06:22 -04:00
Tom Dyas 11fd5a433a
add digitalocean_droplets data source (#418)
* add digitalocean_droplets data source

* add docs

* Update website/docs/d/droplets.html.md

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Update website/docs/d/droplets.html.md

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Update digitalocean/droplets.go

Co-Authored-By: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>

* Import strconv

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2020-04-22 17:09:18 -04:00
Tom Dyas 0fea588f83
digitalocean_spaces_buckets/datasource: comment why spaces regions are hard-coded (#420) 2020-04-22 11:38:57 -04:00
Tom Dyas b9e0615705
add preliminary data sources for Spaces buckets (#416)
* checkpoint

* fix digitalocean_spaces_bucket datasource + test

* do not try to delete empty IDs

* add comment about race condition

* fix import ordering

* add digitalocean_spaces_buckets data source

* switch to use flattenSpacesBucket in data source

* update docs

* Fix sort example for data.digitalocean_spaces_buckets

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2020-04-22 11:15:42 -04:00
Tom Dyas f8fc9aacb6
fix transitive dependency in go.mod (#417)
* fix transitive dependency

* Run 'go mod tidy'

Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2020-04-20 17:21:34 -04:00
tf-release-bot bab8ab8705 Cleanup after v1.16.0 release 2020-04-14 17:10:29 +00:00