Commit Graph

28 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
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
Nic Jackson e43c2479a0
Added remaining tests, currently this creates a cluster but the terraform attributes are not getting set correctly 2018-11-17 17:04:15 +00:00
Nic Jackson f3375f4be8
Updated dependency for go SDK to 1.7.0, started to define Kuberenetes resource 2018-11-16 05:03:23 +08:00
Tilen Faganel 5ae9788413
Updated the godo SDK to version v1.4.2 in order to enable setting a dns' record weight to 0 2018-08-31 01:45:30 +01:00
Tilen Faganel f56a7e1bd1
Added the terraform provider validation dependency 2018-08-26 01:15:42 +01:00
Tilen Faganel 02e991268a Updated the 'copystructure' dependency to fix the copy schema issue 2018-08-26 00:40:58 +01:00
Tilen Faganel a21e55f5e2 Updated the terraform provider SDK and supporting dependencies to the latest versions and aligned the code base with it 2018-08-25 18:27:22 +01:00
Tilen Faganel 8d52f6beac Updated the godo to the latest version 2018-08-25 15:24:31 +01:00
Piotr Grzesik 5df63e3e6d Add support for filesystem_type parameter for volume resource 2018-07-04 00:11:42 +02:00
Nikolai Zujev a5bc2fb271 Manage CAA domain records (#48)
* update godo package

* allow record type:CAA

* update doc

* fix typo

* fix test

* update godo v1.1.3
2018-04-18 11:08:01 -04:00
Joonas Bergius 6aefaa620e vendor: github.com/digitalocean/godo/...@v1.1.1 2017-09-29 18:39:39 -06:00
Radek Simko a0b8b2d4a3 vendor: github.com/hashicorp/terraform/...@v0.10.0 (#31)
* vendor: Ignore github.com/hashicorp/terraform/backend

This is to avoid dependency sprawl - e.g. vendoring AWS or Azure SDK
when we don't really need remote backend functionality
in provider code - it's core's responsibility.

* vendor: github.com/hashicorp/terraform/...@v0.10.0
2017-08-14 16:16:13 +02:00
Jake Champlin bc89dcbf2b
update govendor 2017-06-09 12:39:45 -04:00
Jake Champlin 6f006c650a Transfer of provider code 2017-06-09 16:36:22 +00:00
Jake Champlin 0b01241c91
Initial transfer of provider code 2017-06-06 11:45:18 -04:00
Jake b49521c295 initial commit 2017-06-05 20:54:06 +00:00