Commit Graph

111 Commits

Author SHA1 Message Date
Paddy
ba0e969f36
Update to latest 0.12 sdk. (#3656) 2019-05-20 10:29:42 -07:00
Riley Karson
5ea4adf6f1
Vendor new Go GCP API clients (#3529) 2019-05-01 13:20:21 -07:00
Riley Karson
334552e8c8 Vendor early8 (#3453) 2019-04-17 18:03:07 -07:00
Paddy
0965a6c8d8
Vendor terraform to fix ImportStateVerify bug. (#3444)
Vendor the latest Terraform so we can get the fix for ImportStateVerify
diffing on Removed fields.

```
export GO111MODULE=on
go get github.com/hashicorp/terraform@master
go mod tidy
go mod vendor
```
2019-04-16 11:49:53 -07:00
Riley Karson
dbf9188792
Vendor 0.12 SDK (#3432)
```bash
GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7
GO111MODULE=on go mod vendor
GO111MODULE=on go mod tidy
```
2019-04-15 13:39:47 -07:00
The Magician
6121d539c2 Add google_impersonated_credential datasource (#3357)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-04-01 17:21:13 -07:00
Riley Karson
9ff66c4283
Revert the 0.12 SDK (#3158)
We aren't ready to release a `0.12` SDK based build because of these issues:

• https://github.com/hashicorp/terraform/issues/20505https://github.com/hashicorp/terraform/issues/20507https://github.com/hashicorp/terraform/issues/20506https://github.com/hashicorp/terraform/issues/20504
2019-02-28 16:33:44 -08:00
Paddy
42b2d22ae5
Update to new 0.12 tag. (#3130) 2019-02-26 15:25:34 -08:00
Paddy
77acb3cb7c
Update to use the 0.12 SDK. (#3129) 2019-02-26 14:56:13 -08:00
The Magician
6465592a40 Remove the Redis client now that Redis Operations are generated (#3060)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-02-15 12:24:21 -08:00
The Magician
05d558d33f Add disable_dependent_services to google_project_service resource. (#2938)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-01-28 13:50:41 -08:00
The Magician
6b0fceb3c9 Delete GCS objects in parallel (#2944)
<!-- This change is generated by MagicModules. -->
/cc @sethvargo
2019-01-28 11:26:13 -08:00
Nathan McKinley
808775c12c
update to hashicorp/go-getter (#2922)
* update to hashicorp/go-getter

* go mod vendor.

* go mod tidy
2019-01-23 18:07:01 -08:00
Nathan McKinley
e55e6a403f
Revert "Update hashicorp/terraform to 0.12-alpha4. (#2744)" (#2752)
This reverts commit b89618ccaa, containing
0.12-alpha4, which is broken.  Sets don't seem to work, and neither do
many resources.
2018-12-26 13:43:19 -08:00
Nathan McKinley
b89618ccaa
Update hashicorp/terraform to 0.12-alpha4. (#2744) 2018-12-26 10:59:22 -08:00
Paddy
961c878e0d Switch to using Go modules. (#2679)
Switch to using Go modules.

This migrates our vendor.json to use Go 1.11's modules system, and
replaces the vendor folder with the output of go mod vendor.

The vendored code should remain basically the same; I believe some
tree shaking of packages and support scripts/licenses/READMEs/etc.
happened.

This also fixes Travis and our Makefile to no longer use govendor.
2018-12-20 17:22:22 -08:00
Akram Hussein
26bdb57a2e Vendor Storage Transfer package (#2690)
FAO @rileykarson 

Part of multi-PR for adding support for Google Storage Transfer Service.

See https://github.com/terraform-providers/terraform-provider-google/pull/2181
2018-12-20 17:22:22 -08:00
Riley Karson
ed4824db8d govendor fetch google.golang.org/api/serviceusage/v1@revision (#2647)
```
govendor fetch google.golang.org/api/serviceusage/v1@04bb50b6b83d0e72253821af8cf3252d8e866517
```

#2646 will need to be done after migrating the existing resources off `v1beta1`
2018-12-20 17:22:22 -08:00
Chris Stephens
4ea83bb826 Revert "Adding Stackdriver Monitoring Api" 2018-12-20 17:22:22 -08:00
Chris Stephens
276f447890 Adding Stackdriver Monitoring Api 2018-12-20 17:22:22 -08:00
Paddy Carver
929688509f Update composer to use same commit. 2018-12-20 17:22:22 -08:00
Dana Hoffman
908fc8e09b vendor composer v1beta1 (#2490)
vendoring the beta API into TPG too makes it so we don't have to have a ton of conditionals in the composer resources. We can just use the beta API all the time, but only send beta fields in the beta provider (this is what we're doing already for basically everything else)
2018-12-20 17:22:22 -08:00
Paddy
f684900227 Revert "Revert "Update our google.golang.org/api dependency."" 2018-12-20 17:22:22 -08:00
Paddy
a73819690a Revert "Update our google.golang.org/api dependency." 2018-12-20 17:22:22 -08:00
Paddy Carver
e5e1c1e97f Update our google.golang.org/api dependency.
Update all the packages under google.golang.org/api to use the same
commit. This is a necessary precursor for using Go modules.

There is a breaking API change in the clients, but it's a one line
change. As such, Travis will say this doesn't build. I've verified after
the one line change, it will run the unit tests. That change needs to be
made in MM, however. Once this PR is merged, a PR against MM will be
opened.
2018-12-20 17:22:22 -08:00
Nathan McKinley
902675c324 Reverting 1.20 and 1.19 cherrypick branches. 2018-12-20 17:22:22 -08:00
Paddy
7ee598bfe2 Revert "Revert "Update our google.golang.org/api dependency."" 2018-12-12 17:23:35 -08:00
Paddy
ba11a51949 Revert "Update our google.golang.org/api dependency." 2018-12-12 17:23:35 -08:00
Paddy Carver
d36700fe6e Update our google.golang.org/api dependency.
Update all the packages under google.golang.org/api to use the same
commit. This is a necessary precursor for using Go modules.

There is a breaking API change in the clients, but it's a one line
change. As such, Travis will say this doesn't build. I've verified after
the one line change, it will run the unit tests. That change needs to be
made in MM, however. Once this PR is merged, a PR against MM will be
opened.
2018-12-12 17:23:35 -08:00
Chris Stephens
c24b32b356 Merge pull request #2533 from chrisst/monitoring-client
Adding Stackdriver Monitoring Api
2018-12-12 17:23:35 -08:00
Paddy
c1d404ddc1
Merge pull request #1995 from terraform-providers/paddy_1916_diff_fix
Fix perma-diff on instance templates.
2018-10-02 14:13:15 -07:00
Paddy
a8fdf4033e
Fix trailing comma
JSON is the worst.
2018-10-02 02:44:17 -07:00
Paddy Carver
2fc8da91e7 Fix Dana's comments, expand images to self_links.
Fix Dana's comments, one of which exposed a bug: we weren't actually
fixing the diff. Because resolveImage can return multiple formats, and
only returns a self_link if a self_link is passed in, it was diffing
more often than not against a self_link supplied in the config. We just
had a bug in our CustomizeDiff function that concealed this.

I added the resolvedImageSelfLink helper function to turn the output
from resolveImage into a self_link, which fixes the problem. It also has
the knock-on effect of fixing #2067 at the same time, which is nice. I
decided to add another function instead of just modifying resolveImage
to always return a self_link because I don't want to deal with the
backwards compatibility problems of changing how we're storing a bunch
of things in state this close to 1.19.0. And honestly, we should
probably just be storing the self_link always, _anyways_.
2018-10-02 01:11:03 -07:00
Paddy Carver
75c20b4246 Update helper/schema vendor.
Update the version of helper/schema we have vendored to take advantage
of fixes to the ResourceDiff.Clear function.
2018-09-26 14:22:52 -07:00
Riley Karson
8c0bc93771
Vendor random provider to allow use in tests (#2110)
Support for an upcoming generated PR.
2018-09-25 15:09:13 -07:00
Nathan McKinley
9311331f88
Add filestore API. (#2073) 2018-09-18 15:04:37 -07:00
Chris Hawk
771c2f8512 Update vendored deps (#1967)
I'm working on Stackdriver monitoring in another branch, which required updating `google.golang.org/genproto`, which required updating `google.golang.org/grpc`, which required updating `github.com/golang/protobuf`, and so on. This PR updates all of the Google-provided deps to their latest versions. In addition, there is:

- A change in config.go to reflect an updated type name
- Five files changed by `make fmt`

Tested with `make build`, `make test`, and `make testacc`.
2018-09-18 12:50:17 -07:00
Nathan McKinley
81f8befbb5
Add support for max pods per node to node pool. (#2038) 2018-09-12 17:49:26 -07:00
Harry Pidcock
65669fc6d6 Added Environment Variables configuration to Cloud Functions (#1830) 2018-09-10 17:37:43 -07:00
Chris Stephens
404e7297f0 Remove vendor code for UUIDs
This doesn't appear to be used anywhere within this project.
Additionally Hashicorp has their own [uuid library](https://github.com/hashicorp/go-uuid)
which is used internally.
2018-09-05 14:22:13 -07:00
Chris Stephens
abcd2179de Updating the GCP dns api client. 2018-09-05 14:13:53 -07:00
Paddy Carver
f946490db2 Update logging vendor.
Update the vendored version of our logging helper, so we get requests
printed.
2018-08-31 10:13:52 -07:00
emily
96b17536b9
Initial TF commits needed for cloud composer support (#1926)
* add cloud composer vendor

* init composer client and resource map
2018-08-22 15:59:05 -07:00
Dana Hoffman
9b7f435ec3
Revert "revendor hashicorp/terraform (#1923)" (#1925)
This reverts commit 654350d3d3.
2018-08-22 12:46:58 -07:00
Dana Hoffman
654350d3d3
revendor hashicorp/terraform (#1923)
`govendor fetch github.com/hashicorp/terraform/...@v0.11.8`

I figured this was a good time to do it since we just had a release. I verified that everything still compiles and that a few tests are passing- I don't expect anything else to change, but if there are any weird failures that this exposes we'll catch them in CI with plenty of time before the next release.
2018-08-22 12:13:40 -07:00
Dana Hoffman
d1bf585724
Add support for binary authorization in GKE (#1884)
* revendor container/v1beta1

* add support for binauthz in gke

* update description
2018-08-16 17:51:03 -07:00
Riley Karson
8506527a80 Add support for boot_disk_type to google_dataproc_cluster (#1855) 2018-08-15 23:00:11 -07:00
emily
9d15f6162f
Vendor update to compute (#1756) 2018-07-12 10:47:18 -07:00
Dana Hoffman
7e04cee958
add new compute_instance_from_template resource (#1652)
This was done as its own resource as suggested in slack, since we don't have the option of making all fields Computed in google_compute_instance. There's precedent in the aws provider for this sort of thing (see ami_copy, ami_from_instance).

When I started working on this I assumed I could do it in the compute_instance resource and so I went ahead and reordered the schema to make it easier to work with in the future. Now it's not quite relevant, but I left it in as its own commit that can be looked at separately from the other changes.

Fixes #1582.
2018-06-28 16:09:23 -07:00
Paddy
f6f062d696
Merge pull request #1620 from terraform-providers/paddy_update_vendor
Update schema to 0.11.7.
2018-06-11 13:08:54 -07:00