Commit Graph

1023 Commits

Author SHA1 Message Date
Matt Robenolt
36aff9a2c1 provider/google: Add support for privateIpGoogleAccess on subnetworks (#14234) 2017-05-18 13:35:02 -07:00
clint shryock
2d67674fbd provider/google: Update docs to match new default value 2017-05-18 15:10:52 -05:00
Clint
176aae79a0 Fix issue with GCP Cloud SQL Instance disk_autoresize (#14582)
* provider/google: Fix server/state diff with disk_autoresize

* provider/google: Default true for disk.auto_resize

For sql_database_instance , to match the new API default.

Also adds diff suppression func for autoresize on 1st gen instances

* fix typos
2017-05-18 15:09:01 -05:00
clint shryock
b0b1954db3 merge master 2017-05-18 13:56:55 -05:00
clint shryock
11ac5d4ff7 merge master 2017-05-18 13:56:55 -05:00
Paddy
cfdf597f9a provider/google: remove deleted services field.
We removed the services field from the `google_project` resource, but it
lingered in the docs. This removes those out of date references to it.
2017-05-17 23:24:42 -07:00
Dana Hoffman
075fc44193 Add mechanism for listing services in project_services docs (#14557) 2017-05-17 20:41:45 +03:00
Riley Karson
083dd34547 provider/google: Fix the health check default values for http and https so they match the expected value in the documentation and specific health check instances. (#14441) 2017-05-15 12:59:44 -07:00
emily
74fb8df60d Make google resource storage bucket importable (#14455) 2017-05-15 19:38:32 +03:00
Patrick Decat
28dbf4cbf5 Typo: resotred => restored (#14494) 2017-05-15 14:35:18 +02:00
Daniel Schierbeck
0b161db410 Add a url attribute to google_storage_bucket (#14393)
* Add a `url` attribute to `google_storage_bucket`

* Document the `url` attribute
2017-05-11 15:30:06 +03:00
Daniel Schierbeck
cb4236515d Add a url attribute to google_storage_bucket (#14393)
* Add a `url` attribute to `google_storage_bucket`

* Document the `url` attribute
2017-05-11 15:30:06 +03:00
Paddy
f034eb533c Merge pull request #14280 from hashicorp/paddy_container_versions
providers/google: add google_container_versions data source.
2017-05-10 15:50:16 -07:00
Paddy
c33e26af70 Merge pull request #14280 from hashicorp/paddy_container_versions
providers/google: add google_container_versions data source.
2017-05-10 15:50:16 -07:00
Paddy
1214f5ccab More doc updates container => container engine. 2017-05-10 15:41:02 -07:00
Paddy
2ab9033a2f Update test names. 2017-05-10 15:12:14 -07:00
Paddy
2ccccbb8f2 google_container_versions => google_container_engine_versions
As per feedback from @danawillow and @radeksimko.
2017-05-10 15:01:15 -07:00
Paddy
23b525375e google_container_versions => google_container_engine_versions
As per feedback from @danawillow and @radeksimko.
2017-05-10 15:01:15 -07:00
Radek Simko
192c359131 provider/google: Log HTTP requests and responses in DEBUG mode (#14281) 2017-05-10 21:16:43 +02:00
Alexander
b95489c0b7 provider/google: BigQuery Table (#13743)
* Add resource

* Add tests

* Add documentation

* Fix invalid comment

* Remove MinItems

* Add newline

* Store expected ID and format

* Add import note

* expiration_time can be computed if dataset has an expiration_time set

* Handle 404 using new check function
2017-05-10 10:20:39 -07:00
Alexander
4c8f6d1dc0 provider/google: BigQuery Table (#13743)
* Add resource

* Add tests

* Add documentation

* Fix invalid comment

* Remove MinItems

* Add newline

* Store expected ID and format

* Add import note

* expiration_time can be computed if dataset has an expiration_time set

* Handle 404 using new check function
2017-05-10 10:20:39 -07:00
Dana Hoffman
da2a1b5659 provider/google: Handle all 404 checks in read functions via the new function 2017-05-10 14:50:19 +03:00
Dana Hoffman
3eb1ea08db provider/google: better visibility for compute_region_backend_service (#14301) 2017-05-09 13:10:14 +03:00
Dana Hoffman
14e00af605 provider/google: better visibility for compute_region_backend_service (#14301) 2017-05-09 13:10:14 +03:00
emily
7fb25e29de Add additional properties for google resource storage bucket object. (#14259) 2017-05-08 16:35:47 -07:00
emily
06b92096dd Add additional properties for google resource storage bucket object. (#14259) 2017-05-08 16:35:47 -07:00
Sergiusz Bazański
99ab5cc6c4 Fix Google Cloud Service Account provider .Read (#14282)
The implementation would return an error if the resource was detected as
removed - this would break Terraform instead of making it re-create the
missing service account.
2017-05-08 09:02:54 -05:00
Paddy
c44979cdf3 providers/google: add google_container_versions data source.
Add a data source for listing available versions for Container Engine
clusters or retrieving the latest available version.

This is mostly to support our tests for specifying a version for cluster
creation; the withVersion test has been updated to use the data source,
meaning it will stop failing on us as new versions get released.
2017-05-08 00:38:11 -07:00
Paddy
56dfb7d8f8 providers/google: add google_container_versions data source.
Add a data source for listing available versions for Container Engine
clusters or retrieving the latest available version.

This is mostly to support our tests for specifying a version for cluster
creation; the withVersion test has been updated to use the data source,
meaning it will stop failing on us as new versions get released.
2017-05-08 00:38:11 -07:00
stack72
ff26c58f8c proovider/google: Adding test for google_pubsub_subscription path 2017-05-05 16:57:24 +03:00
stack72
fe4873c1e1 proovider/google: Adding test for google_pubsub_subscription path 2017-05-05 16:57:24 +03:00
Daniel Schierbeck
f3c0c30e30 Add path to google_pubsub_subscription
The path is used to globally identify a subscription.
2017-05-05 14:31:59 +02:00
Roberto Jung Drebes
ec3a2d9535 Merge branch 'master' into cloud_router 2017-05-05 11:43:41 +02:00
Dana Hoffman
522e33f62b provider/google: Move 404 checking into a function in provider.go, call it from instance and IGM (#14190) 2017-05-04 16:15:36 -07:00
Daniel Schierbeck
b309f06379 Handle google_storage_bucket_object not being found (#14203)
Mark the resource as no longer available.
2017-05-04 20:57:49 +03:00
stack72
27d9d43721 provider/google: Minor formatting issues on import of compute route test 2017-05-04 19:17:25 +03:00
stack72
e5a73d9ccb Merge branch 'g-route-import' of https://github.com/skalle/terraform into skalle-g-route-import 2017-05-04 19:13:58 +03:00
Paddy
95ae7b0173 Merge branch 'master' into cloud_router 2017-05-03 16:00:13 -07:00
Paddy
b468e499eb Merge branch 'master' into cloud_router 2017-05-03 16:00:13 -07:00
Paddy
ce88ad68ab Merge pull request #13824 from JDiPierro/import_google_dns_managed_zone
Importability for Google DNS Managed Zone
2017-05-03 15:54:43 -07:00
Paddy
b5cbbee272 Merge pull request #12482 from tpoindessous/gcp_compute_disk_snapshot
provider/google : add a new resource : google_compute_snapshot
2017-05-03 15:47:07 -07:00
Paddy
2865a34eb8 Merge pull request #12482 from tpoindessous/gcp_compute_disk_snapshot
provider/google : add a new resource : google_compute_snapshot
2017-05-03 15:47:07 -07:00
Dana Hoffman
dc18b53c15 provider/google: fix compute instance panic with bad disk config (#14169) 2017-05-03 14:30:36 -07:00
Dana Hoffman
0c3a4a240f update list of services in ignoreUnenablableServices test (#14168) 2017-05-03 14:29:48 -07:00
Roberto Jung Drebes
4d2e3151cc wip: review changes:
- config.clientCompute.Routers
- peer fields renamed
- more consistent logging
- better handling of SetId for error handling
- function for router locks
- test configs as functions
- simplify exists logic
- use getProject, getRegion logic on acceptance tests
- CheckDestroy for peers an interfaces
- dynamic router name for tunnel test
- extra fields for BgpPeer
- resource documentation
2017-05-03 21:22:33 +02:00
Roberto Jung Drebes
4aa863b26b wip: review changes:
- config.clientCompute.Routers
- peer fields renamed
- more consistent logging
- better handling of SetId for error handling
- function for router locks
- test configs as functions
- simplify exists logic
- use getProject, getRegion logic on acceptance tests
- CheckDestroy for peers an interfaces
- dynamic router name for tunnel test
- extra fields for BgpPeer
- resource documentation
2017-05-03 21:22:33 +02:00
Christoph Tavan
73879f49a2 provider/google: Fix config key in compute_url_map docs 2017-05-02 23:18:42 +02:00
Christoph Tavan
349a9eaa34 provider/google: Improve error messages in backend_service test 2017-05-02 23:18:41 +02:00
Christoph Tavan
4080b4652f provider/google: Document backend buckets for compute_url_map
The current google_compute_url_map resource already supports backend
buckets out of the box: Just pass the self_link of the backend buckets
as you would pass the self_link of a backend service.

This adds some example code as well.
2017-05-02 23:18:41 +02:00
Christoph Tavan
3e72f23826 provider/google: Improve backend service error handling
Unset id in case the backend service cannot be created. This basically
updates these lines of code to match the more modern style which is
being used e.g. for the google_compute_instance resource.
2017-05-02 23:18:41 +02:00