Nathan McKinley
8ca616e707
Add default cluster version to data source. ( #1355 )
2018-04-19 10:59:52 -07:00
Nathan McKinley
3628e263e2
Switch from protoc_output to protoc_output_base64. ( #1290 )
2018-04-17 13:00:37 -07:00
Vincent Roseberry
49191c5d91
Fix auto-delete default network in google_project. ( #1336 )
...
* Use projectId and enable required compute API
* Delete firewall rules before deleting default network
2018-04-16 10:25:49 -07:00
Shashank Saxena
59697c6f6b
Typo in the documentation ( #1330 )
...
Fixed a small but pretty critical typo on the terraform docs for GCP
2018-04-13 11:39:12 -07:00
Vincent Roseberry
4695f6fe81
Notice changes ( #1329 )
2018-04-12 16:08:42 -07:00
Dana Hoffman
bde72e7576
un-deprecate name_prefix for instance templates ( #1328 )
2018-04-12 16:08:31 -07:00
Stefan Schmidt
4b4b3d916c
Fix the example GCloud command line for listing the enabled APIs. ( #1325 )
2018-04-12 13:26:34 -07:00
Gabriel A.S
814e1fc63e
Add missing markdown rulers ( #1319 )
...
* Update compute_region_instance_group_manager.html.markdown
* Update compute_instance_group_manager.html.markdown
2018-04-11 15:21:48 -07:00
The Magician
3c8f6b31b6
Extend description for Http(s)HealthCheck resources. ( #1304 )
2018-04-11 13:41:12 -07:00
Nathan McKinley
98dbf7a758
Delete the default network created by the project. ( #1316 )
2018-04-10 15:23:04 -07:00
Brandon Ooi
34e9e995e3
Google managed zone dns_name argument requires a fully qualified domain name.
2018-04-09 14:51:04 -07:00
Dominik Lekse
cde62c3935
Add additional example usages to google_dns_record_set documentation ( #1308 )
2018-04-09 14:46:42 -07:00
Dana Hoffman
cd0a462735
add subnetwork iam resources ( #1305 )
2018-04-06 17:38:48 -07:00
lnesci
b02686b9eb
google folder data source ( #1280 )
...
* adding google folder data source with get by id, search by fields and lookup organization functionality
* removing search functionality
* creating folders for each test and updating documentation with default values
2018-04-05 16:59:47 -07:00
Paddy Carver
668e7b6b39
Fix broken link.
2018-04-05 16:08:38 -07:00
ashish-amarnath
f488a6e6bf
Add support for regional GKE clusters in google_container_cluster ( #1181 )
...
* Add support for regional GKE clusters in google_container_cluster:
* implement operation wait for v1beta1 api
* implement container clusters get for regional clusters
* implement container clusters delete for regional cluster
* implement container clusters update for regional cluster
* simplify logic by using generic 'location' instead of 'zone' and 'region'
* implement a method to generate the update function and refactor
* rebase and fix
* reorder container_operation fns
* cleanup
* add import support and docs
* additional locations cleanup
2018-04-05 14:51:35 -07:00
Michael Parker
b8adcc28fe
Updates container_cluster to set enable_legacy_abac to false by default ( #1281 )
...
* Updates the default GKE legacy ABAC setting to false
* Updates docs for container_cluster
* Update test comments
* Format fix
* Adds ImportState test step to default legacy ABAC test
2018-04-04 10:58:08 -07:00
Vincent Roseberry
f8efd6376b
Update google_service_account_key.html.markdown ( #1284 )
2018-04-04 09:08:08 -07:00
Dana Hoffman
7bee5507f6
add timeouts support for sql database instance ( #1288 )
...
* add timeouts support for sql database instance
* rm a tag
2018-04-03 14:44:18 -07:00
emily
360260d8d0
Add project to container cluster import name. ( #1282 )
...
* allow import of container cluster by project as well
* update docs for importing container cluster with project
* combine tests
2018-04-03 13:39:28 -07:00
Dominik Lekse
3460ddcaa7
Retrieve current OAuth access token from google_client_config data source ( #1277 )
...
* Added access_token field to google_client_config data source
* Refined documentation of google_client_config
2018-04-03 12:54:48 -07:00
Dana Hoffman
7596164ad1
Deprecate name_prefix ( #1035 )
...
* deprecate name_prefix
* make name_prefix computed and add migration instructions
2018-04-02 10:28:59 -07:00
Adrián Matellanes
1f6ffa0f4b
Add time partitioning field to google_bigquery_table resource ( #1240 )
...
* Add time partitioning field to google_bigquery_table resource
* Fix flatten time partitioning field to google_bigquery_table resource
* Add resource bigquery table time partitioning field test
* Move resource bigquery table time partitioning field test to basic
* Add step to check that all the fields match
* Mark resource bigquery table time partitioning field as ForceNew
* Add time partitioning field test to testAccBigQueryTable config
2018-03-30 10:15:06 -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
Paddy
ea3d1034d6
Merge pull request #1260 from wayfair/ishashchuk_rigm_rolling
...
rIGM rolling update support
2018-03-29 14:30:17 -07:00
Dana Hoffman
33d87a2bc1
add support for node pool versions ( #1266 )
2018-03-29 13:27:11 -07:00
Seth Vargo
4b353bb7a0
Read GOOGLE_CLOUD_PROJECT environment variable also ( #1271 )
2018-03-29 11:43:45 -07:00
Dana Hoffman
42cca119eb
add gke taints
2018-03-27 14:55:42 -07:00
Nick Jacques
72efdb1d92
New resource/datasource: SSL Policy ( #1247 )
...
* Add SSL Policy to provider
* Add resource for SSL Policy
* Add SSL Policy data source
* Add tests for SSL Policy resource
* Add documentation for SSL Policy resource
* Add SSL Policy datasource docs
* Add test for SSL Policy datasource
* Update SSL Policy datasource docs
* Make full update for SSL Policy resource
* SSL Policy resource test multi-attrib update
* Clean up SSL Policy datasource
* Set-ify custom_features in SSL Policy resource
* Document description ForceNew rationale
* Remove refs to TLS_1_3
* Update docs: plural -> singular
* Remove extraneous attrs from datasource
* Fix update logic for custom_features and add enabled_features
* Update docs to include enabled_features
* Add test for updating to/from custom_features
* Add TLS 1.3 bug link
* Add import between multi-step test configs
* Move Profile and minTlsVersion back into sslPolicy struct
2018-03-26 16:53:35 -07:00
Dana Hoffman
9fd4d02b89
allow setting service account email for keys ( #1256 )
2018-03-26 15:44:34 -07:00
Andy Lawrence
5b6e7f29c0
google_project_organization_policy ( #1226 )
...
* support google_project_organization_policy
* add documentation for google_project_organization_policy
* remove "folder" references and cleanup docs
* fix tests
* un-parallelize tests
* add comment about non-parralel tests
* moving canonicalProjectId() to test
2018-03-26 12:45:32 -07:00
emily
6a76b84d6e
Fix API link in logging docs
...
Was a compute API link
2018-03-26 10:28:33 -07:00
Irena Shashchuk
d17c5a2a88
rIGM rolling update
2018-03-23 16:51:30 -04:00
Dana Hoffman
95f96674a8
add ability to delete the default node pool ( #1245 )
2018-03-22 17:22:44 -07:00
Dana Hoffman
790711c649
add support for security policies in backend services ( #1243 )
2018-03-22 09:53:24 -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
Vincent Roseberry
3a197d0550
Update container_cluster.html.markdown ( #1234 )
2018-03-20 17:17:42 -07:00
Dana Hoffman
2cc0416d86
consolidate iam docs, add a bit more for service account ( #1227 )
2018-03-20 17:06:54 -07:00
Dana Hoffman
28efae534a
Add wait_for_instances field to IGM and self_link option to the IG data source ( #1222 )
...
* Add wait_for_instances field to IGM and self_link option to the IG data source
* don't be clever with errors
2018-03-20 14:20:43 -07:00
psalaberria002
82878e8f00
Fix variable reference in docs ( #1216 )
...
`data` prefix was missing
2018-03-19 17:12:17 -07:00
Nick Jacques
8ada4ffdb2
Add deletion_protection wrapper for deleting instance ( #1211 )
2018-03-16 14:09:21 -07:00
Nick Jacques
46a3d2fd47
Add deletion protection to resource_compute_instance ( #1205 )
2018-03-16 11:57:42 -07:00
Dana Hoffman
eb8b19eeef
Add cdn_policy
field to backend service ( #1208 )
...
* Add CDN policy support
* docs and reorderings for cdn policy
* test fmt
2018-03-16 10:50:32 -07:00
Nathan McKinley
e717edb7a6
Add network policy config. ( #1200 )
2018-03-15 14:50:24 -07:00
Dana Hoffman
fe8ceed1d5
Add support for GKE metadata concealment ( #1199 )
...
* add support for gke metadata concealment
* docs for metadata concealment
2018-03-15 13:28:30 -07:00
ishashchuk
14f1431896
Rolling update support for instance group manager ( #1137 )
2018-03-15 11:10:09 -07:00
Nathan McKinley
5bbc02c378
Add the organization iam policy, with suitable warnings. ( #1196 )
2018-03-14 15:21:33 -07:00
Dana Hoffman
65147fd23e
Add support for pod security policy ( #1192 )
...
* move setid calls back
* add support for pod security policy
* pod security policy docs
* Revert "move setid calls back"
This reverts commit 0c7b2dbf92aff33dac8c5beb95568c2bc86dd7de.
* cleanup
* remove comments about disabling update
2018-03-14 14:00:31 -07:00
Seth Vargo
49f9757f78
Update example and clarify image project ( #1189 )
...
This updates the example to focus more on google_compute_image and
provides a real example for debian.
2018-03-13 14:45:16 -07:00
Dana Hoffman
99860f39e4
Dataproc autogen bucket changes ( #1171 )
...
* add extra wait for storage bucket object deletion
* make timeout for object deletion 5 minutes, make it succeed 3 times
* delete the cluster before deleting the bucket
* deprecate delete_autogen_bucket
* improve deprecation message
2018-03-13 11:46:27 -07:00
Dana Hoffman
fd0819786b
revive initial_node_count ( #1176 )
2018-03-13 11:45:01 -07:00
Benjamin Pineau
f65127585a
Datasource for Backend Services ( #1150 )
...
Exposes existing `google_compute_backend_service` as data sources.
This addresses #149 .
This allows, for instance, to collect a backend service's self_link and
use it from an other workspace/tfstate, sharing most of the
loadbalancers definition.
2018-03-12 15:09:30 -07:00
Alexandru Topliceanu
7e64b3f1c1
make it clear that the attribute represents the project id ( #672 )
2018-03-12 13:59:47 -07:00
ishashchuk
2efa710696
Datasource for GCE service account ( #1119 )
...
* Data source for retrieving GCE service account
* Added project id for service account lookups (#15 )
* Renaming attribute project_id -> project
2018-03-12 09:41:15 -07:00
Dana Hoffman
edf8918db6
Add generated resources for http(s)_health_check, updates to backend_bucket, and import helpers ( #1177 )
...
* add import helpers for generated code
* Updates to backend bucket and transport.go from MM
* add generated http(s)_health_check resources
* name is required; transport import style
* update docs with new fields/timeouts
* fixes
2018-03-09 17:14:32 -08:00
Toby Lawrence
08e81f528c
Support distributionPolicy
when creating regional instance group managers. ( #1092 )
...
* Support `distributionPolicy` when creating regional instance group managers.
* Better match the API structure of distributionPolicy.
* Switch to "distribution_policy_zones".
This approach lets us more simply allow a list of zones to use, while
providing a deprecation path for implementing the distribution policy
field more holistically, avoiding backwards-incompatible changes.
* fix typo
* use slice instead of Set for flattenDP
2018-03-09 11:04:09 -08:00
Bob
f3691675a4
[docs] - Improve docs for google_container_{node_pool,cluster} ( #1155 )
...
* [docs] - Improve docs for google_container_{node_pool,cluster}
* node pool examples formatting
2018-03-08 09:08:14 -08:00
Vincent Roseberry
91c9e0851c
Add IAM resources for pubsub subscriptions ( #1156 )
...
* Add IAM resources for pubsub subscription
* Add documentation
* Refactored topic and subscription computed methods
* Add project field to documentation
* Addressed Dana's comments
2018-03-06 09:52:39 -08:00
Vincent Roseberry
5a90bafa54
Highlight only one entry in the documentation side menu ( #1152 )
2018-03-05 15:33:16 -08:00
Vincent Roseberry
35c2cb2abf
Add project field to iam pubsub topic resources ( #1154 )
...
* Add project field to iam pubsub topic resources
* Update documentation
2018-03-05 15:31:24 -08:00
Julien Phalip
3e4b66884b
Let the compute zones data source accept a project
parameter ( #1122 )
2018-03-05 13:32:14 -08:00
Dana Hoffman
1d64cc5d26
allow importing a pubsub topic using its full id ( #1142 )
2018-03-02 11:22:58 -08:00
Genevieve
e57eef944c
Add docs for first_ip_address on sql db instance. ( #1143 )
...
* Add docs for first_ip_address on sql db instance.
* Clarify the usecase for this attribute.
2018-03-01 19:47:47 -08:00
ishashchuk
67ecf5345e
Data source for retrieving project information ( #1111 )
...
* Project data source
* Mirroring project datasource from project resource (#14 )
2018-02-28 12:37:24 -08:00
Darren Hague
5b0d8d43ff
Allow specifying accelerators in cluster node_config ( #1115 )
2018-02-23 16:55:07 -08:00
ishashchuk
ef3ea881b1
Datasource for retrieving GCS service account ( #1110 )
...
* Datasource for retrieving GCS service account
* Removing duplicated argument
* Gofmt post resolving conflicts
* Addressing review comment
2018-02-21 13:37:23 -08:00
Julien Phalip
1966a791a6
Add data source for forwarding rule ( #1078 )
2018-02-13 17:43:08 -08:00
Nathan McKinley
8354a43d1a
Add usage export bucket resource. ( #1080 )
2018-02-13 13:30:17 -08:00
Kit Ewbank
21e0075f6f
Add 'google_folder_iam_binding' and 'google_folder_iam_member' resources ( #1076 )
2018-02-13 12:49:51 -08:00
Julien Phalip
f6c5f01a95
Add VPN gateway data source ( #1071 )
2018-02-12 15:28:02 -08:00
Nathan McKinley
ae70019805
Update docs to use valid syntax. ( #1074 )
2018-02-12 13:25:06 -08:00
Chase
e1323489ba
Feature: select compute instance attached disk mode ( #947 )
2018-02-12 10:56:06 -08:00
Vincent Roseberry
b789d7c2a0
Support multiple users with the same name for different host for 1st gen. ( #1066 )
...
* Support multiple users with the same name for different host for 1st gen.
* Fix typo and rename user
2018-02-09 13:43:49 -08:00
Dana Hoffman
9900e6a4c7
Add generated BackendBucket resource + transport.go ( #1064 )
...
* Add generated BackendBucket resource
* add ForceNew back to name
* Add log statements back
2018-02-08 17:58:20 -08:00
Vincent Roseberry
5db0c53f32
Update sql_user.html.markdown
2018-02-07 12:02:01 -08:00
Vaidas Jablonskis
1b042a3b18
Cloud SQL user password can be optional ( #1056 )
2018-02-07 11:59:23 -08:00
ishashchuk
7257b9aaa8
Storage Notification Resource ( #1033 )
...
* Storage Default Object ACL resource
* Fixed the doc
* Renamed the resource id. Log change
* Complying with go vet
* Changes for review
* link to default object acl docs in sidebar
* Support for GCS notifications
* docs for storage notification
* docs for storage notification
* Clarified the doc
* Doc modifications
* Addressing requested changes from review
* Addressing requested changes from review
* Using ImportStatePassthrough
2018-02-05 14:14:36 -08:00
Anders Bruun Olsen
9ee952af16
Add example usage and better description of private_key attribute of google_service_account_key. ( #1047 )
2018-02-05 10:46:27 -08:00
Dana Hoffman
cfac1dbc8b
deprecate compute_image.custom_timeout ( #1038 )
2018-02-02 10:56:18 -08:00
Byron Lantzsch
d58d3ddc76
add staging bucket to example
2018-02-01 18:56:57 -08:00
Byron Lantzsch
449b21b7ee
put closing brace for cluster config in correct location
2018-02-01 17:27:20 -08:00
Byron Lantzsch
2704faa0af
close brace on cluster config block
2018-02-01 16:41:58 -08:00
Tugdual Saunier
97cc6fb404
Fix wrong resource type in CryptoKey/IAM binding doc ( #1030 )
2018-01-31 09:35:52 -08:00
Vincent Roseberry
3a65e36cbc
Diff suppress unconventional public image family naming pattern ( #1024 )
...
* DiffSuppress for all public images family names
* Update documentation
* TF_ACC guard
* diskImageEquals should use ==
2018-01-31 09:33:26 -08:00
Vincent Roseberry
559f28016f
Remove unnecessary StateFunc in compute_target_https_proxy ( #1027 )
...
* Remove unnecessary StateFunc in https proxy
* Support name only certificates
* Remove test for the removed validate func
2018-01-30 16:07:43 -08:00
Julien Phalip
bc294ab552
Update doc to reflect the fact that the GCE route's priority option is optional.
2018-01-30 13:56:11 -08:00
Julien Phalip
0421710712
Fixed small typos in the doc, where the custom roles names should contain "projects|organizations" in plural form. ( #1012 )
2018-01-26 16:36:57 -08:00
ishashchuk
9f21b56fe5
Add google_storage_default_object_acl resource ( #992 )
...
* Storage Default Object ACL resource
* Fixed the doc
* Renamed the resource id. Log change
* Complying with go vet
* Changes for review
* link to default object acl docs in sidebar
2018-01-25 11:29:49 -08:00
Patrick Pelletier
eaac260f36
Add support for setting bucket's logging config ( #946 )
...
* Add support for setting bucket's logging config
* Add log_object_prefix and fix nil Logging condition
2018-01-25 11:02:08 -08:00
Nathan McKinley
9d3e64cdaf
Add cloud endpoints resource ( #933 )
...
OpenAPI & gRPC Endpoints on Compute Engine.
New Resource:
- Endpoints Service Create/Read/Delete
- Example terraform config
2018-01-24 13:03:57 -08:00
Simon Pizonka
fec2f0bc02
Add support for Google Cloud IoT Core registry ( #970 )
2018-01-24 13:03:09 -08:00
Kit Ewbank
b795a4563e
Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources ( #1004 )
...
* Import google_compute_shared_vpc_host_project/google_compute_shared_vpc_service_project resources.
* Incorporate testing of resource import into main acceptance tests.
2018-01-24 12:54:42 -08:00
Dana Hoffman
3b753cefa2
Add update support for machine type, min cpu platform, and service accounts ( #1005 )
...
* Add update support for compute instance fields that require the machine to be stopped
* add warnings in docs about stopping the instance before updating
* add allow_stopping_for_update field
2018-01-24 12:50:39 -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
Dana Hoffman
2a69744518
clarify custom roles format for iam ( #998 )
2018-01-22 15:34:17 -08:00
sarunask
da5c5e8b7c
Adding description of Cloud Functions to website ( #958 )
...
* Adding description of Cloud Functions to website
* docs changes
2018-01-19 11:33:07 -08:00
Nathan McKinley
b68dc6e984
Docs change - Specify that cluster is a zonal resource. ( #984 )
2018-01-19 10:45:19 -08:00
Radek Simko
00d9b3b39c
docs: Fix link to google_container_cluster DS
2018-01-19 15:36:39 +00:00
Paddy
dadb935048
Fix broken links on the website.
2018-01-18 14:07:24 -08:00
Nathan McKinley
d8aea17b19
New simple data sources for GCR Repo and Image. ( #954 )
...
New, very simple data sources for GCR Repo and Image, plus docs.
2018-01-17 18:47:25 -08:00