Commit Graph

82 Commits

Author SHA1 Message Date
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
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
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
abcd2179de Updating the GCP dns api client. 2018-09-05 14:13:53 -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
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
Vincent Roseberry
32d965062d
Support update for DNS Managed Zone (#1617)
* vendor google.golang.org/api/dns/v1beta2

* Support update for DNS Managed Zone
2018-06-08 09:27:08 -07:00
Dana Hoffman
dc46348d67
Add support for custom request headers in backend services (#1537)
* revendor compute beta apis

* changes to subnetwork iam from api revendoring

* add support for custom request headers in backend services
2018-05-29 13:29:40 -07:00
Dana Hoffman
974c3f7646
Add GKE Shared VPC support (#1528)
All this needed was to allow setting the network/subnetwork to a self link.

~WIP for now because I want to run the tests in CI.~ Tests are passing.
2018-05-23 16:47:17 -07:00
Dana Hoffman
20616e424d
Use new serviceusage API for google_project_service[s] (#1522)
* vendor service usage api

* use serviceusage api instead of servicemanagement for project services

* add bigquery-json to test

* add import for project service

* add serviceusage_operation.go
2018-05-22 17:45:22 -07:00
Dana Hoffman
bc8f3046ad
initial tf changes needed to support redis (#1513) 2018-05-21 12:01:06 -07:00
Paddy
cd7364d649
Merge pull request #1503 from terraform-providers/paddy_app_engine_app
Add App Engine Application support
2018-05-18 17:12:34 -07:00
Paddy Carver
e74ab9d507 Vendor. 2018-05-18 16:08:15 -07:00
Dan Couture
4f7a6c828f Add new google_cloudbuild_trigger resource (#1357) 2018-05-07 12:53:34 -07:00
Nick Jacques
0d309b1e56 Update ssl_policy to use v1 API (#1368)
* Update compute/v1 to latest

* Update ssl_policy resource and test to v1 API
2018-04-24 14:43:00 -07:00
Nathan McKinley
d3bbfbd22b
Add DNS PTR record to Compute Instance (#1349) 2018-04-20 11:14:38 -07:00
Janos Lenart
1840363c74 Adding private_cluster (#1250)
* Updated google.golang.org/api/container/v1beta1

* Added support for private_cluster and master_ipv4_cidr

This is to implement #1174. See
https://groups.google.com/forum/#!topic/google-cloud-sdk-announce/GGW3SQSANIc

* Added simple test for private_cluster and master_ipv4_cidr

* Review replies

* Added some documentation for private_cluster
2018-03-30 10:10:25 -07:00
Dana Hoffman
fde96ca9d9
Add new google_compute_security_policy resource (#1242)
* revendor compute/v0.beta

* add new `google_compute_security_policy` resource

* docs updates for security policy

* Add link to official docs
2018-03-21 16:52:23 -07:00
Dana Hoffman
6d8a8b1747
Add more beta scaffolding for GKE resources (#1139)
* vendor container/v1beta1

* revendor container/v1beta1

* add beta scaffolding for gke resources

* fix json unmarshal error

* fix issues with trying to convert interface instead of struct

* same fixes but for node pool

* move setid calls back
2018-03-06 17:44:05 -08:00
Simon Pizonka
fec2f0bc02 Add support for Google Cloud IoT Core registry (#970) 2018-01-24 13:03:09 -08:00
Lawrence Jones
9f42aeb652 PostgreSQL high availability (#1001)
* Update sqladmin api

Pull in updates to the generated sqladmin api and update callers for
the change in the StorageAutoResize setting

* Add support for availability_type setting

Allow specifying ZONAL or REGIONAL to allow for PostgreSQL HA
setup.

* vendor: update sqladmin/v1beta4

* Test setting AvailabilityType for PostgreSQL

Add tests that cover the creation of a Postgres database with
AvailabilityType set to REGIONAL, and correct some small issues that
were preventing compilation.

* Fix breaking change w/ disk_autoresize in cloudsql

95e5582766

The cloudsql admin client changed the way it handles StorageAutoResize
as a parameter, in order to be more explicit about when the server has
ommitted the field. This changed the type from being bool to *bool, and
we need to modify provider code so that we supply the right value to the
api client.
2018-01-24 09:23:48 -08:00
Nathan McKinley
f50d4a19b4
New Resource: Dataflow Job (#855)
Add support for Google Dataflow jobs

Note: A dataflow job exists when it is in a nonterminal state, and does not exist if it
is in a terminal state (or a non-running state which can only transition into terminal
states).  See doc for more detail.
2018-01-10 14:38:15 -08:00
sarunask
f07c332849 Cloud functions (#899)
* Initial commit

* Adding google_cloudfunction_function resource

* Some FMT updates

* Working Cloud Function Create/Delete/Get
Create is limited to gs:// source now.

* Fixed tests import

* Terraform now is able to apply and destroy function

* Fully working Basic test

* Added:
1. Allowed region check
2. readTimeout helper

* Found better solution for conflicting values

* Adding description

* Adding full basic test

* dded Update functionality

* Made few more optional params

* Added test for Labels

* Added update tests

* Added storage_* members and made function source deploy from storage bucket object

* Adding comments

* Adding tests for PubSub

* Adding tests for Bucket

* Adding Data provider

* Fixing bug which allowed to miss error

* Amending Operation retrieval

* Fixing vet errors and vendoring cloudfunctions/v1

* Fixing according to comments

* Fixing according to comments round #2

* Fixing tabs to space

* Fixing tabs to space and some comments #3

* Re-done update to include labels in one update with others

* Adding back default values. In case of such scenario, when user creates function with some values for "timeout" or "available_memory_mb", and then disables those attributes. Terraform plan then gives:
No changes. Infrastructure is up-to-date.
This is an error. By adding const we would avoid this error.

* Fixed MixedCase and more tabs
2018-01-10 13:25:43 -08:00