Paddy
8b2486cd15
Merge pull request #359 from terraform-providers/paddy_95_dns_ns
...
dns: Add special handling for ns records.
2017-11-07 16:46:38 -08:00
Michael Bannister
12060f9f3d
Add support for maintenance window on google_container_cluster ( #670 )
...
* Add support for maintenance window on google_container_cluster (#526 )
* Address review comments
- Set ForceNew: true on the schema element daily_maintenance_window
- Correct resource name in acceptance test
- Correct documentation of resource attribute maintenance_policy.0.daily_maintenance_window.0.duration
2017-11-07 15:42:11 -08:00
Dana Hoffman
10e4f68441
Add new google_project_service
resource for fine-grained service control. ( #668 )
...
* add new project service resource; add retry logic for enable/disable
* docs for google_project_service
* add project into the id
2017-11-07 15:19:57 -08:00
Patrick Decat
af0a22fbfb
Make google_logging_project_sink resource importable ( #688 )
2017-11-07 14:40:22 -08:00
Nic Cope
20fc7cf077
Give addresses beta support, add internal addresses ( #594 )
2017-11-07 13:38:26 -08:00
Nic Cope
96db217168
Add secondary range support to google_compute_subnetwork data source ( #687 )
...
..and throw in project and region while we're at it.
2017-11-06 11:19:46 -08:00
thomas
0ffa93802e
Fix the info about the default credentials in the provider page ( #689 )
2017-11-06 10:53:52 -08:00
Dana Hoffman
4a499b2f7d
Add support for source/target service accounts to google_compute_firewall
( #681 )
...
* add source/target service accounts to firewalls
* firewall service account docs
2017-11-06 09:34:48 -08:00
Tony Li
7507a2954d
fix link format ( #673 )
2017-11-03 09:45:48 -07:00
Mioi Hanaoka
c551cb9585
fixing example of google_storage_object_acl ( #642 )
...
* fixing example of google_storage_object_acl
some of the resource names seem to be incorrect. fixing to reflect
the actual resource names in the example.
* fixup
forgot to add `.name` here.
2017-11-02 10:50:54 -07:00
David Quarles
ca7551c8c5
Add support for master authorized networks in google_container_cluster
( #626 )
...
* Add support for master authorized networks in `google_container_cluster`
* [review] remove enabled flag / restructure schema
- remove `google_container_cluster.master_authorized_networks_config.enabled`
- add `display_name` and restructure schema as follows:
master_authorized_networks_config {
cidr_blocks {
cidr_block = "0.0.0.0/0"
display_name = "foo"
}
}
- amend tests
* [review] add test for validateRFC1918Network, fix acc test
2017-11-02 10:38:20 -07:00
Aeneas
8cf605f23e
Document that GKE master_auth key is an array ( #617 )
...
* Document that GKE master_auth key is an array
This resolves https://github.com/hashicorp/terraform/issues/16417 and is a follow up to https://github.com/hashicorp/terraform/issues/14073
* Update container_cluster.html.markdown
* Update container_cluster.html.markdown
* Update container_cluster.html.markdown
2017-11-02 10:11:12 -07:00
Henry Bell
026d76616d
Add support for Kubernetes alpha features ( #646 )
...
* Add support for Kubernetes alpha features
* Add tests for support of Kubernetes alpha features
* Fix dodgy copy and paste operations
* Add documentation
2017-10-31 16:38:18 -07:00
Paddy
c882a77db6
Merge pull request #399 from terraform-providers/vendor-tf-0.10.3
...
Remove 'id' fields from schemas
2017-10-31 16:10:45 -07:00
Vincent Roseberry
0332208bc9
Add import support to global forwarding rule ( #653 )
2017-10-31 11:28:55 -07:00
Paddy
ac73bebb15
Rename instead of removing.
...
Rename all ID fields to {resource_noun}_id instead of removing them
outright. This means people can still get at the info.
Leave project's id deleted. It has been marked as Removed for months.
I'm fine with cleaning it up before 1.0.0.
Also, update website docs.
2017-10-31 16:27:37 +00:00
Nicki Watt
96ac8fc8a4
Add google_dataproc_cluster resource ( #252 )
...
* Add google_dataproc_cluster resource
* Add google_dataproc_cluster tests
* Add google_dataproc_cluster docs
* Removed google_dataproc_job ref (to be added in separate PR)
* Added delete_autogen_bucket attribute
* Refactored / simplified wait mechanism
* Changes based on review
* go fmt
* Add cluster_config enclosing config block
* Review updates - primarily re restructuring hierarchy
* Removed rogue import
* docs - alignment
* Changes for review
* Refactoring into expandXXX methods
* Refactoring of flattenXXX methods to be explicit
2017-10-30 16:41:37 -07:00
Dana Hoffman
7b69c31f6a
Add labels to google_storage_bucket
( #652 )
...
* revendor storage
* revendor gensupport
* revendor bigquery
* add support for storage bucket labels
* bucket label docs
2017-10-30 15:48:26 -07:00
Vincent Roseberry
f6c1a236d9
Add example in docs for creating a subscription with a topic in another project ( #651 )
2017-10-30 15:08:50 -07:00
Dana Hoffman
6b4afb963f
update region backend service docs ( #650 )
2017-10-30 13:27:14 -07:00
Dana Hoffman
adbb5dd4fb
Update GKE docs to match actual schema; reorder fields in schema ( #637 )
...
* reorder schemas and update docs
* initial_node_count is optional
* clarify when initial_node_count must be set
2017-10-27 15:18:34 -07:00
Paddy
57449a88a2
Merge pull request #615 from danielcompton/deprecate-health-checks
...
Update docs to mark compute_http(s)_health_check as legacy resources
2017-10-27 12:28:48 -07:00
Michael Parker
f2fc78d082
Adds support for creating KMS KeyRing resources ( #518 )
...
* Instantiate the cloudkms client
* Implement Create and Read for the kms key ring resource
* Expose the kms key ring resource
* Create acceptance test for creating a KeyRing, fix read to use KeyRing ID
* Add cloudkms library to vendor
* Address style comments
* Use fully-qualified keyring name in read operation
* Remove call to SetId during read operation
* Set ID as entire resource string
* Spin up a new project for acceptance test
* Use Getenv for billing and org environment variables
* And test and logs around removal from state
* Add comments
* Fixes formatting
* Log warning instead of info
* Use a single line for cloudkms client actions
* Add resource import test
* Add ability to import resource, update helper functions to use keyRingId struct
* Use shorter terraform ID for easier import
* Update import test to use the same config as the basic test
* Update KeyRing name regex to be consistent with API docs
* Add documentation page for resource
* Add KeyRing documentation to sidebar
* Adds unit tests around parsing the KeyRing import id
* Allow for project in id to be autopopulated from config
* Throw error in import if project provider is not provided for location/name format
* Consistent variable names
* Use tabs in resource config instead of spaces
* Remove "-x" suffix for docs
* Set project attribute on import if different from the project config
2017-10-27 09:40:01 -07:00
Daniel Compton
eda98639da
Update docs to mark compute_http(s)_health_check as legacy resources
...
See https://cloud.google.com/compute/docs/load-balancing/health-checks#legacy_health_checks
for more info.
2017-10-27 13:34:28 +13:00
Paddy
548d572bc3
Merge pull request #612 from danielcompton/patch-1
...
Expand docs for auto_healing_policies for Instance Group Managers
2017-10-26 16:07:14 -07:00
Daniel Compton
25bad09a8e
Expand docs for auto_healing_policies in Instance Group Managers
...
Adds more information for both (Zonal) Instance Group Managers and
Regional Instance Group Managers.
2017-10-27 12:02:50 +13:00
Paddy
8c28cddee8
Merge pull request #613 from danielcompton/patch-2
...
Explain that sql_database_instance maintenance windows are specified in UTC
2017-10-26 15:34:19 -07:00
David Quarles
1a8f3b8d18
Add support for CPU Platform in google_container_node_pool
( #622 )
...
* update container/v1 API
* add support for CPU Platform in `google_container_node_pool`
* fix broken links
2017-10-25 14:08:48 -07:00
Sébastien GLON
94e0b746df
Add support for google_service_account_key ( #472 )
...
* Initial support for google service account keys
* Add vendor for vault and encryption
* Add change for PR comment
* Add doc and improvement fo public key management
* adding waiter for compatibility with issue google/google-api-go-client#234
* improvement
* Add test with pgp_key
* Perform doc anf format
* remove test if public_key exists
* Add link on doc
* correct pr
2017-10-25 12:43:20 -07:00
Patrick Decat
3d1e11023d
Make google_service_account resource importable ( #606 )
...
* Make google_service_account resource importable
* Add google_service_account testcase with default project
* Mark google_service_account.project as computed to ensure the project id is always stored in the state, defined in configuration or not. Add corresponding test cases
* Inline variables with single usage
* Replace tabs with spaces in configuration strings
* Ensure service account is not recreated when the default project is explicitely added to the configuration
* camelcase
2017-10-25 12:33:21 -07:00
Paddy
0e2fa2e38f
Address comments.
...
Fix typo, add log line, and document what we're doing on the website.
2017-10-24 14:43:35 -07:00
Paddy
1ab0b1f911
Fix link to compute_lb_ip_ranges data source
...
We had a typo in the sidebar link, which was causing the link to be broken. This fixes the link.
2017-10-24 11:39:02 -07:00
Patrick Decat
16611cb3ac
Make google_project_services resource importable ( #601 )
...
* Make google_project_services resource importable
* Reuse testAccGoogleProjectAssociateServicesBasic() from resource_google_project_services_test.go
2017-10-23 14:23:51 -07:00
Dana Hoffman
c577ad6e8d
Allow setting boot and attached disk sources by name or self link ( #605 )
...
* disk cleanup
* fix attached disk test
* allow disk sources from name or url
* parse disk source better on read
* update docs
* fix boot disk source url
2017-10-23 13:26:59 -07:00
Daniel Compton
b798c7b81f
Explain that sql_database_instance maintenance windows are specified in UTC
2017-10-21 22:55:02 +13:00
Joe Selman
2765290724
Add label support to google_compute_snapshot ( #570 )
...
* Add label support to google_compute_snapshot
* Refactor operation polling code to use client directly
2017-10-13 15:36:03 -07:00
Vincent Roseberry
3f3fa868c7
Fix import for compute_route ( #565 )
...
* Reorder fields in schema for style consistency
* Add reusable ZonalFieldValue
* Fix import and read state from API for compute route
* Generate network link without calling the API
2017-10-13 11:05:22 -07:00
Vincent Roseberry
66f876e6ae
Add new resource google_compute_target_ssl_proxy ( #569 )
...
* Add target ssl proxy
* Add documentation
2017-10-13 11:02:42 -07:00
Vincent Roseberry
fdd9432ed2
Fix autoscaler and org policies docs ( #584 )
...
* Add region autoscaler docs
* Change link to API docs in autoscaler docs
* Add autoscaler and org policies documentation to the side menu
2017-10-13 10:14:21 -07:00
Radek Simko
25869fa5c8
Merge pull request #567 from terraform-providers/f-ds-lb-ip-ranges
...
d/compute_lb_ip_ranges: Add new data source
2017-10-13 07:09:09 +01:00
Dana Hoffman
811530f145
Fix cluster version upgrades ( #577 )
...
* wait for running status on a cluster on read
* add min_master_version field
* respond to comments
* add docs
* no node_version on create
2017-10-12 11:21:33 -07:00
Vincent Roseberry
e5d9fe6163
Add support for shared VPC ( #572 )
...
* Add VPC host project resource
* Add VPC service project resource
* Add combined acceptance test for shared VPC
* Add docs for shared VPC
* Increase deadline for project services operation
2017-10-11 12:51:09 -07:00
Radek Simko
80ca6c26b1
d/compute_lb_ip_ranges: Add new data source
2017-10-10 22:07:21 +01:00
Radek Simko
96ac8255d1
Merge pull request #561 from terraform-providers/f-compute-vpn-tunnel-secret-sensitive
...
r/compute_vpn_tunnel: Mark 'shared_secret' as sensitive
2017-10-10 18:24:33 +01:00
Stefan Schmidt
db62fe7b8e
Fix broken link to GCP Resource Manager's folder API doc. ( #562 )
2017-10-10 09:38:40 -07:00
Radek Simko
0e5b4b0597
r/compute_vpn_tunnel: Mark 'shared_secret' as sensitive
2017-10-10 12:57:52 +01:00
kev1nlaube
fa661697e1
Add missing parameters to the node pool docs ( #551 )
2017-10-09 10:42:35 -07:00
Joe Selman
e3ca8fbe59
Add labels to google_compute_instance_template ( #515 )
2017-10-09 10:17:15 -07:00
Mioi Hanaoka
efa4c36e37
fix default for connection_draining_timeout_sec ( #548 )
...
The default value for the connection_draining_timeout_sec arg was
changed in commit 5cd3e1ec99
from
0 to 300. Fixing the doc to reflect this change.
2017-10-06 12:03:16 -07:00
Vincent Roseberry
306b3d66b4
Forwarding rule network field supports name in addition of self_link ( #487 )
...
* Forwarding rule network field supports name in addition of self_link
* Update documentation
2017-10-06 09:33:42 -07:00
Vincent Roseberry
c94cbde1f6
Add import support to google_compute_target_tcp_proxy ( #534 )
2017-10-05 14:29:53 -07:00
Vincent Roseberry
87f3a58cb2
Add support for org policies at the organization level ( #523 )
...
* Fetch latest resource manager client
* Add new resource to manage Org Policy at the organization level.
* Update documentation
2017-10-05 13:20:16 -07:00
Vincent Roseberry
03b11da5bb
Update Region Backend Service docs example to use a region instance group manager. ( #533 )
...
* Update compute_region_backend_service to use a regional instance group manager in the example
* Update the attributes section
2017-10-05 12:35:33 -07:00
Dana Hoffman
4ec0920ef3
Update region in sql db docs ( #521 )
...
* update region in sql db docs
* Update phrasing
2017-10-05 11:17:05 -07:00
Alberto
2f94ff9ad4
Add support for target_tcp_proxy ( #528 )
2017-10-05 10:27:56 -07:00
Vincent Roseberry
d60deb044a
Update google_project docs to reflect that the id field has been removed ( #530 )
2017-10-04 16:19:43 -07:00
Michael Parker
467481745f
Fix: Updates sidebar text for google_client_config resource ( #520 )
2017-10-03 18:07:15 -07:00
Bryce Kahle
7e4c17d8a5
Fix formatting of container_node_pool.min_node_count ( #499 )
2017-10-03 10:46:33 -07:00
Joe Selman
475ddb1b5b
Add kubernetes dashboard addon ( #464 )
...
* Update google.golang.org/api/container/v1
* Add support for kubernetes_dashboard addon
* Fix tab/spaces issue in string
2017-10-03 09:29:27 -07:00
Joe Selman
ef543b20c5
Add google_logging_folder_sink resource ( #470 )
...
* Fix bad page title
* Add resource logging_folder_sink
* Use proper parse function and string format
* Remove unused strings
2017-10-03 09:26:19 -07:00
Paddy
cfe614b5d9
Fix broken links.
2017-10-02 10:19:22 -07:00
Paddy
fccae61d61
1.0.0 Deprecations, pt 2
...
Fix the CI tests we broke with the deprecations for 1.0.0, and update
the docs we missed. Also, update the examples.
2017-09-29 16:04:52 -07:00
Paddy
3db816d686
Merge pull request #491 from terraform-providers/paddy_1.0_deprecations
...
Remove deprecated resources for 1.0.0.
2017-09-29 11:32:14 -07:00
Paddy
02512af271
Revert Shared VPC.
...
We want to talk about the design of Shared VPC a little bit more before
it ships, so this PR removes it, to be added back at a later date.
2017-09-29 04:59:41 -07:00
Paddy
50ad10a513
Address comments.
2017-09-29 04:57:47 -07:00
Paddy
e1b0eadfa7
Remove disk.
2017-09-28 17:23:29 -07:00
Paddy
81162a745e
Update docs to reflect removal and deprecations.
2017-09-28 15:51:31 -07:00
Vincent Roseberry
bc25c02cbf
Firewall network field now supports self_link in addition of name ( #477 )
2017-09-28 12:02:39 -07:00
Vincent Roseberry
d35b92086a
global_address ipv6 uses v1 api
...
global_forwarding_rule ipv6 uses v1 api
Update documentation
2017-09-26 15:57:22 -07:00
Joe Selman
8231d6a83a
Add resource_logging_billing_account_sink resource ( #457 )
...
* Add resource_logging_billing_account_sink resource
* Fix bad style
2017-09-26 15:26:54 -07:00
kf Fellows
30c8186a2e
Update dataset_id value for google_bigquery_table resource in docs ( #465 )
2017-09-26 14:17:34 -07:00
Vincent Roseberry
5e44df5199
Pubsub subscription read state from API and import support ( #456 )
2017-09-26 13:44:13 -07:00
Vincent Roseberry
20929eb468
Assign IAM policy to folder. ( #447 )
...
* Assign IAM policy to folder.
* Add documentation for google_folder_iam_policy
2017-09-25 11:30:45 -07:00
Vincent Roseberry
2e940178d8
Fix example in google_project. Name field is required. ( #450 )
2017-09-22 12:42:36 -07:00
Manoj Srivastava
c1d0e716d9
Folder support: Assign/Reassign a google project to a folder. ( #438 )
...
+ Make the org_id optional when creating a project. Closes #131
+ Mark org_id as computed to allow for GCP automatically assigning the org.
+ Add an acceptance test for project creation without an organization.
+ Skip TestAccGoogleProject_createWithoutOrg if GOOGLE_ORG is set.
+ Add a folder_id to the google_project resource, optionally
specifying the ID of the GCP folder in which the GCP project should
live.
+ Document how one can provision a project into a folder, and added a
sample configuration to create a project into an existing folder.
* Skip test without org if service account is used
* Support folders/* or id only for the folder id field
2017-09-22 13:03:08 -05:00
Marcus Barczak
f3ecd1ea1c
note ipv4 addresses can't be disabled on 2nd gen ( #446 )
...
Adds a note that IPv4 addresses can't be disabled on 2nd generation cloudsql instances to save end user confusion.
2017-09-22 12:12:28 -05:00
Vincent Roseberry
a575c6e824
Update service account docs to mark policy field as deprecated. ( #437 )
...
Also, update example to stop using the deprecated field.
2017-09-18 08:24:08 -07:00
Christopher Stelma
43e749c213
Add versioning for google storage buckets ( #381 )
2017-09-15 08:36:01 -07:00
Joe Selman
3d5eccc1c6
Add stackdriver project sink support ( #432 )
...
* Vendor cloud logging api
* Add logging sink support
* Remove typo
* Set Filter simpler
* Rename typ, typName to resourceType, resourceId
* Handle notFoundError
* Use # instead of // for hcl comments
* Cleanup test code
* Change testAccCheckLoggingProjectSink to take a provided api object
* Fix whitespace change after merge conflict
2017-09-14 19:15:14 -07:00
Vincent Roseberry
167abea500
Create, update, move and delete a GCP folders. ( #416 )
...
* Initialize resourcemanager v2beta1 client
* Create new google_folder resource supporting create, move, update and delete operations.
* Add documentation for folders
2017-09-14 11:19:58 -07:00
Raúl Naveiras
eee011fc99
Add support for setting labels to google_project ( #383 )
2017-09-14 10:39:21 -07:00
Joe Selman
41248230ef
Expose instance_id as a computed field on compute_instance ( #427 )
2017-09-13 16:18:08 -07:00
Dana Hoffman
2d733a1600
Add new google_compute_shared_vpc
resource ( #396 )
...
* Revendor compute apis
* Add new resource for shared VPC host
* add test for disabled
* add docs for shared vpc host resource
* make project required
* Add new resource google_compute_shared_vpc
* Remove google_compute_shared_vpc_host
* Add docs for shared vpc resource
* Remove docs for shared vpc host resource
* fix typos in shared vpc docs
* move helper fn to utils.go
2017-09-13 10:36:07 +08:00
Victor Hiairrassary
9ede711538
Fix BigQuery Dataset doc ( #407 )
...
The `labels` argument should not be nested under `default_table_expiration_ms`
2017-09-12 11:26:19 -07:00
Vincent Roseberry
6b2669f406
Cross-reference multi-zone and single-zone documentation ( #402 )
2017-09-12 09:34:58 -07:00
Joe Selman
7206284739
Add support for labels to compute_global_forwarding_rule ( #395 )
...
* Add support for labels to compute_global_forwarding_rule
* Factor out label api methods and use case statement for api version
2017-09-12 08:06:40 -07:00
Joe Selman
7dea4e86c1
Export connection_name on sql instance resource ( #406 )
2017-09-12 08:04:13 -07:00
Daniel Compton
22865ce3bc
Update compute_global_forwading_rule docs to reference global IP address ( #404 )
2017-09-11 10:09:07 -07:00
Anders Bruun Olsen
bf51f26c07
Pubsub importable ( #392 )
2017-09-11 09:46:27 -07:00
Vincent Roseberry
c751a32626
Add new resource region_instance_group_manager ( #394 )
2017-09-08 17:02:32 -07:00
Vincent Roseberry
7ceea51dfd
Add support for alias_ip_range in google_compute_instance network interface ( #375 )
2017-09-07 13:43:00 -07:00
Vincent Roseberry
5be9d28369
Import for compute_address supports multiple id formats. ( #378 )
...
This allows to import address from region and project different than the default project.
2017-09-07 10:38:26 -07:00
Anders Bruun Olsen
67b7b2dd72
Container cluster importable ( #391 )
2017-09-07 10:31:58 -07:00
Kit Ewbank
0858e7cd2d
Add google_client_config data source ( #385 )
2017-09-06 14:52:32 -07:00
Matt Morrison
31d4113875
Fix docs. Node Pool autoscaling attribute names ( #382 )
2017-09-06 13:57:00 -07:00
Joe Selman
0605638885
Add preemptible as an option to node config ( #341 )
...
* Add preemptible as an option to node config
* Check for preemptible in test matching functions
* Move flattenClusterNodeConfig to node_config
* Handle bools properly when comparing in cluster and node pool tests
* Use a supported image_type in cluster tests
2017-09-01 13:02:26 -07:00
Vincent Roseberry
c2399f76fb
Add support for min_cpu_platform in google_compute_instance. ( #349 )
2017-08-30 17:25:31 -04:00
Joe Selman
6377443d4a
Add ability to set priority on compute_firewall ( #345 )
...
* Add ability to set priority on compute_firewall
* Set the priority explicitly when upgrading v1->v0beta
2017-08-30 12:19:50 -07:00
Dana Hoffman
2f71ca6530
multi-nic is now GA ( #361 )
2017-08-29 17:29:07 +09:00
Vincent Roseberry
7a216c40b5
Add support for guest_accelerators (GPU) to google_compute_instance ( #330 )
2017-08-22 15:49:43 -04:00