Commit Graph

1486 Commits

Author SHA1 Message Date
Vincent Roseberry
4795a87b41
Update CHANGELOG.md 2017-10-31 11:29:51 -07:00
Vincent Roseberry
0332208bc9
Add import support to global forwarding rule (#653) 2017-10-31 11:28:55 -07:00
Dana Hoffman
c3b54980f6
Update CHANGELOG.md 2017-10-30 16:42:10 -07: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
c3f3a8f892
Update CHANGELOG.md 2017-10-30 15:48:56 -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
Vincent Roseberry
d6cbabcaf1
Update CHANGELOG.md 2017-10-30 13:13:52 -07:00
sebasrobert
d3b8482388 Subscription with topic in different project (#640)
Right now we can't create subscription on a topic in a different gcp
project since it assume the project from the subscription. The provider
always create the full topic name string
projects/{project}/topics/{topic} with the received topic property.
Using a regexp we validate if the string is already in
the format projects/{project}/topics/{topic} and if it's the case
we don't wrap it again and take it directly. The original functionality
is maintained but it's possible to specify a different project for the
topic.
2017-10-30 13:12: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
Dana Hoffman
48192d62dc
Quick simplification for resource_compute_firewall logic (#631)
* simplify firewall logic

* fix whitespace
2017-10-27 15:08:22 -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
Dana Hoffman
b6af3c2b6d
Update CHANGELOG.md 2017-10-27 09:41:14 -07:00
Dana Hoffman
9ed80effaa
Update CHANGELOG.md 2017-10-27 09:40:53 -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
Dana Hoffman
45ebda08f9 Update CHANGELOG.md 2017-10-25 14:11:04 -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
David Quarles
7bac0a2db6 update container/v1 API (#624) 2017-10-25 13:52:00 -07:00
Dana Hoffman
7e6ee7bfb2 Update CHANGELOG.md 2017-10-25 13:46:19 -07:00
Sébastien GLON
1f954e0131 Add sort on google_container_cluster auth_scopes (#506)
* replalce TypeList by TypeSet

* Add migrate function and test

* CORRECT

* remove migrate

* fix tests
2017-10-25 13:41:42 -07:00
Dana Hoffman
ec008135ce Update CHANGELOG.md 2017-10-25 12:44:07 -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
Dana Hoffman
57f3ffc751 Update CHANGELOG.md 2017-10-25 12:34:21 -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
tf-release-bot
edc9df91d0 Cleanup after v1.1.1 release 2017-10-24 21:01:45 +00:00
tf-release-bot
5f0e9191cf
v1.1.1 2017-10-24 20:58:06 +00:00
Paddy
e9476ee8f6 Merge pull request #628 from terraform-providers/paddy-fix-lb-ip-ranges-link
Fix link to compute_lb_ip_ranges data source
2017-10-24 13:01:34 -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
Dana Hoffman
16fd631ad6 Update CHANGELOG.md 2017-10-23 14:24:42 -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
69207b87ec Update CHANGELOG.md 2017-10-23 13:27:38 -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
Dana Hoffman
be0525885e post-migration disk cleanup (#600)
* disk cleanup

* fix attached disk test
2017-10-23 12:53:41 -07:00
Daniel Compton
b798c7b81f Explain that sql_database_instance maintenance windows are specified in UTC 2017-10-21 22:55:02 +13:00
Dana Hoffman
26c7c62bd0 Update CHANGELOG.md 2017-10-20 09:48:28 -07:00
Dana Hoffman
3a442a81a2 add prefix to instance name (#593) 2017-10-20 09:48:00 -07:00
Dana Hoffman
7c2bf7f4a7 make addons_config updatable (#597) 2017-10-20 09:47:07 -07:00
Dana Hoffman
62eb5ceedf Allow updating google_container_cluster.monitoring_service (#598) 2017-10-20 09:46:21 -07:00
Dana Hoffman
081e675d3d migrate boot disk initialize params (#592) 2017-10-20 09:45:05 -07: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
8a115cc499 Update CHANGELOG.md 2017-10-13 11:06:58 -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
4c5d927ae2 Update CHANGELOG.md 2017-10-13 11:04:12 -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