Commit Graph

14 Commits

Author SHA1 Message Date
Paul Stack 655147c103 Upgrade to terraform-plugin-sdk (#321)
* Upgrade to terraform-plugin-sdk

After following the [guide](https://www.terraform.io/docs/extend/plugin-sdk.html#using-tf-sdk-migrator)

Check

```
▶ GO111MODULE=on tf-sdk-migrator check
Checking Go runtime version ...
Go version 1.12.10: OK.
Checking whether provider uses Go modules...
Go modules in use: OK.
Checking version of github.com/hashicorp/terraform-plugin-sdk to determine if provider was already migrated...
Checking version of github.com/hashicorp/terraform used in provider...
Terraform version 0.12.8: OK.
Checking whether provider uses deprecated SDK packages or identifiers...
No imports of deprecated SDK packages or identifiers: OK.

All constraints satisfied. Provider can be migrated to the new SDK.
```

Migrate

```
▶ GO111MODULE=on tf-sdk-migrator migrate
Checking Go runtime version ...
Go version 1.12.10: OK.
Checking whether provider uses Go modules...
Go modules in use: OK.
Checking version of github.com/hashicorp/terraform-plugin-sdk to determine if provider was already migrated...
Checking version of github.com/hashicorp/terraform used in provider...
Terraform version 0.12.8: OK.
Checking whether provider uses deprecated SDK packages or identifiers...
No imports of deprecated SDK packages or identifiers: OK.

All constraints satisfied. Provider can be migrated to the new SDK.

Rewriting provider go.mod file...
Rewriting SDK package imports...
Running `go mod tidy`...
Success! Provider is migrated to github.com/hashicorp/terraform-plugin-sdk v1.1.0.

It looks like this provider vendors dependencies. Don't forget to run `go mod vendor`.
Make sure to review all changes and run all tests.
```

* Fix build under go 1.13.x.
2019-10-22 17:44:03 -04:00
Steven Normore 0b606c4e68 doks: fetch new kubeconfig credentials only when expired (#311)
* Upgrade godo to v1.22.0

* doks: fetch new kubeconfig credentials only when expired
2019-10-08 11:32:24 -04:00
Daniel Ramteke e8548f42fd Find a droplet by tag (#290)
* find a droplet by tag

* fixed a bug where it was comparing only the first tag

* Add acceptance test.

* Tidy vendor folder.

* Small tweak to docs.
2019-09-25 15:54:23 -04:00
Boris Popovschi 8fa087d44f Added Tags support for database cluster (#293) 2019-09-20 18:59:09 -04:00
Alex Pilon 39f87daae8
remove usage of config pkg
update tf sdk to v0.12.8
2019-09-06 22:20:39 -04:00
stack72 d23bdbf05b Upgrade to digitalocean/godo v1.19.0 2019-07-20 08:50:16 -05:00
Andrew Starr-Bochicchio e8db803b3e Vendor github.com/terraform-providers/terraform-provider-kubernetes for integration test. 2019-05-24 11:48:50 -04:00
Andrew Starr-Bochicchio 1bb19c8eed Update vendored Terraform to 0.12 RC1. 2019-05-08 11:42:02 -04:00
Andrew Starr-Bochicchio 33e3bedb96 Update vendored Terraform to 0.12 beta 2. 2019-05-08 11:39:01 -04:00
Andrew Starr-Bochicchio 4712b6d283 Update vendored Terraform to 0.12 beta. 2019-05-08 11:39:00 -04:00
Aaron J. Smith 778279b2fb
tidying up 2019-03-21 00:09:48 -05:00
Aaron J. Smith 4f22e0f208
[MODULES] Updating digitalocean/godo to latest version 2019-03-20 16:13:33 -05:00
Alex Pilon 1bc416e7f2
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
2019-03-01 15:53:38 -05:00
Alex Pilon 9833d0afb5
deps: use go modules for dep mgmt
run go mod tidy
remove govendor from makefile and travis config
set appropriate env vars for go modules
2019-03-01 15:53:10 -05:00