Commit Graph

1508 Commits

Author SHA1 Message Date
Dana Hoffman
1b8f450cb3
Update google_compute_target_pool to no longer have a plan/apply loop with instance URLs (#666)
* Using instance URLs in `google_compute_target_pool` no longer has a plan/apply loop

* global regex; parts length check
2017-11-03 17:02:02 -07:00
Dana Hoffman
8f8d36d04c
Update CHANGELOG.md 2017-11-03 15:27:19 -07:00
Dana Hoffman
f68765f5cd
Fix bug with empty initialize_params block (#664)
* fix initialize params bug

* make sure all init params are deleted, not just #
2017-11-03 15:25:54 -07:00
Dana Hoffman
49a91427b4
check for sets in node pool tests (#661) 2017-11-03 15:07:01 -07:00
Dana Hoffman
794d971695
make dataproc tests parallel and use service account resource (#660) 2017-11-03 15:05:20 -07:00
Dana Hoffman
68e1ee6a4d
Update CHANGELOG.md 2017-11-03 11:10:35 -07:00
Dana Hoffman
0668525e5c
increase timeout for deleting networks (#662) 2017-11-03 11:08:54 -07:00
Tony Li
7507a2954d fix link format (#673) 2017-11-03 09:45:48 -07:00
Dana Hoffman
08f4539476
Update CHANGELOG.md 2017-11-02 13:08:43 -07:00
Dana Hoffman
51ed0b74dd
Allow attaching and detaching disks from instances (#636)
* allow updating attached disks

* check for scratch and update comment
2017-11-02 13:08:02 -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
Dana Hoffman
96c7d8666e
Update CHANGELOG.md 2017-11-02 10:38:48 -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
Radek Simko
905ee21dd2
Make CoC and support channels more visible
https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/
https://help.github.com/articles/adding-support-resources-to-your-project/
2017-11-01 23:05:10 +01:00
Dana Hoffman
c889e7d5a1
Update CHANGELOG.md 2017-10-31 16:38:36 -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
Dana Hoffman
c8673a300e
Update CHANGELOG.md 2017-10-31 16:27:29 -07:00
Antonio Lobato
d37f352f41 Add IAP support for backend services (#471)
* initial work on adding IAP support for backend services

* readback of IAP

* flatten IAP + static set id

* expandIap function

* removed enabled flag/state rework

Removed the enabled flag for IAP
IAP is now enabled when the client id and secret are set
IAP now correctly disables when IAP stanza is removed
Client secret is now correctly hashed against the secret hash stored on the server

* Tests for IAP

* added comments, fixed tabs.

* testing for IAP disabled
2017-10-31 16:27:03 -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
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
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
Radek Simko
c3da024d7e
Remove 'id' fields from schemas 2017-10-31 16:27:36 +00: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