Commit Graph

2553 Commits

Author SHA1 Message Date
Dana Hoffman
cf4451177e
Update CHANGELOG.md 2018-06-27 16:49:55 -07:00
Rodrigo Queiro
4a41eaad77 Retry creation of Cloud IoT registry (#1713)
This can fail with 503, which is a transient error.
2018-06-27 16:49:09 -07:00
Daniel Compton
ae39b9fafb Fix spelling of source in 1.15.0 CHANGELOG entry (#1698) 2018-06-27 16:39:05 -07:00
The Magician
5976152ad9 Add generated google_compute_autoscaler and google_compute_region_autoscaler resources. Because this adds the ability to import by more than just the name, we can get rid of all the code in resource_compute_autoscaler.go that tries to find the autoscaler in the provider-specified region. (#1700) 2018-06-27 12:49:34 -07:00
The Magician
97b8419ea5 Fix bug with forwarding rule when used with non-targetpool target. (#1707) 2018-06-27 11:27:32 -07:00
Nathan McKinley
a239a6b9a6
Update CHANGELOG.md 2018-06-25 14:04:54 -07:00
The Magician
788e1efaac Autogenerate google_compute_forwarding_rule. (#1674) 2018-06-25 14:03:48 -07:00
tf-release-bot
616b5e3694 Cleanup after v1.15.0 release 2018-06-25 20:43:18 +00:00
tf-release-bot
515492600b
v1.15.0 2018-06-25 20:38:27 +00:00
Paddy
f0d6b4d4f4
Merge pull request #1697 from terraform-providers/paddy_storace_acl_diff
Fix failing test for storage ACLs.
2018-06-25 13:16:20 -07:00
Paddy Carver
87be5d2345 Explain this silliness.
Add a comment explaining why I'm setting something to nil in state.
2018-06-25 13:12:28 -07:00
Paddy Carver
d7078ab309 Fix failing test for storage ACLs.
When using predefined storage ACLs, you'd get a permadiff, because the
role_entities list was computed, but was never set in state. So it would
be read as empty in the config, and not present in state, so Terraform
would want to pull it down and sync it. This is probably, technically
speaking, a bug in Terraform, but we can work around it by just setting
role_entities to an empty value on every read.
2018-06-25 13:02:05 -07:00
Gareth Evans
bf7c70b392 Minor code changes as requested 2018-06-25 09:55:27 +01:00
johnsw87
02ba99025f
private_cluster update 2018-06-24 09:44:58 +01:00
Dana Hoffman
101b15fb80
Update CHANGELOG.md 2018-06-22 16:22:36 -07:00
Dana Hoffman
34a68289cd
retry node pool writes on failed precondition (#1660)
Hypothetically fixes #1643.

@thomasriley, are you able to patch this change into your provider to see if it fixed the problem? I haven't been able to get a working repo so I haven't verified the fix yet.
2018-06-22 16:21:35 -07:00
Paddy
e123401caa
Update CHANGELOG.md 2018-06-22 11:57:12 -07:00
Paddy
aaf0e1d69a
Update CHANGELOG.md 2018-06-22 11:53:27 -07:00
Paddy
9bd15ad48d
Merge pull request #1685 from emilymye/container_cluster_list_param_multifix
Make sure TypeList keys still have empty values
2018-06-22 11:52:06 -07:00
emily
2015b4aac9
make email computed for GCE default service account (#1690) 2018-06-22 10:42:39 -07:00
Emily Ye
6b0dbf5bbe check d.Set errors for complex values for container cluster 2018-06-22 10:35:46 -07:00
Emily Ye
f8c3a10809 Merge branch 'master' of https://github.com/terraform-providers/terraform-provider-google into container_cluster_list_param_multifix 2018-06-22 10:31:06 -07:00
Paddy
d9fa83f6db
Merge pull request #1692 from terraform-providers/paddy_storage_bucket_acl_custom_diff
Fix the perma-diff in storage bucket ACLs
2018-06-22 09:39:29 -07:00
Paddy
9ffe753bb4
Merge pull request #1693 from terraform-providers/paddy_dns_managed_zone_data_source
Update DNS managed zone in tests.
2018-06-22 09:38:37 -07:00
Paddy
e035332911
Update CHANGELOG.md 2018-06-22 00:38:51 -07:00
Paddy
5453591210
Update CHANGELOG.md 2018-06-22 00:32:15 -07:00
Paddy
fe0950d8e1
Merge pull request #1684 from ndmckinley/sql-disk
Reject disk shrinkage on SQL instances
2018-06-22 00:30:57 -07:00
Paddy Carver
2edf3087a9 Update DNS managed zone in tests.
Move from using qa.test.com, a domain we don't own, to qa.tf-test.club,
a domain we do own, so the domain validation doesn't cause our tests to
fail anymore.
2018-06-22 00:00:30 -07:00
Paddy Carver
1c8d56eca2 Fix the perma-diff in storage bucket ACLs.
Add a CustomDiff function to storage bucket ACLs that will ignore a diff
if the config and state have the same role_entities, even if they're in
a different order.

Fixes #1525.
2018-06-21 23:42:25 -07:00
The Magician
a3964baed6 Fix some unit test failures in generated code where custom expanders are used. (#1691)
<!-- This change is generated by MagicModules. -->
/cc @ndmckinley
2018-06-21 17:46:50 -07:00
johnsw87
1b49d8507c
Update to private clusters
Private clusters maintain a public IP address for kubectl to communicate with the master, the workers are internal IP addresses only.
2018-06-21 15:03:45 +01:00
Emily Ye
f3b092b3ca make sure TypeList keys still have empty values 2018-06-20 16:45:49 -07:00
Nathan McKinley
a64056156c Reject disk shrinkage. 2018-06-20 15:17:49 -07:00
emily
a2b95e35e6
Add diff suppress for empty/default pod_security_policy_config (#1670)
* add diff suppress for pod_security_policy_config

* change key comparison to exact
2018-06-19 16:37:10 -07:00
Josh Yelton
81bffe570f Add documentionat for client certificate authorization setting (#1680) 2018-06-19 15:57:25 -07:00
The Magician
57a2e984ca Autogenerate Subnetwork. (#1661) 2018-06-19 13:56:06 -07:00
Misha Brukman
fbfdd47602 Fix Bigtable docs for instance/cluster [skip ci] (#1671)
An instance is an abstract container of clusters, it's the cluster that
has the nodes and holds the data, so the number of nodes and location
apply to the cluster.
2018-06-19 10:34:10 -07:00
Bastien Cadiot
751a3d5c9e Add project variable for GCS service account datasource (#1677) 2018-06-19 10:30:20 -07:00
Dana Hoffman
c7bd0cb0f8
Update CHANGELOG.md 2018-06-18 13:39:20 -07:00
Jonathan Pentecost
f8a3335bf9 service_account_key: regression fix for v1.14 (#1664)
Commit 8f31fec introduced a bug for the 'service_account_key' resource
where it required a project be set either in the provider or in the
resource for 'service_account_key', but a project isn't required if the
service account is a service account fully qualified name or a service
account email.

This PR relaxes the requirement that a project needs to be set for the
'service_account_key' resource, 'service_account' datasource and
'service_account_key' datasource, but will error if we try to build a
fully qualified name from a service account id when no project can be
found.

This also cleans up 'serviceAccountFQN' so it is slightly easier to
follow and return an error if there is no project but we need one to
build the service account fully qualified name.

Fixes: #1655
2018-06-18 13:37:41 -07:00
Jonathan Pentecost
d0890dc2b7 container_cluster: added disk_type node configuration
Added node config 'disk_type' which can either be 'pd-standard' or
'pd-ssd', if left blank 'pd-standard' will be the default used by google
cloud.

Closes: #1656
2018-06-15 21:21:51 +01:00
Gareth Evans
fee1c7f682 Type conversion issue 2018-06-15 11:39:08 +01:00
Gareth Evans
e14aa8bf39 Added ability to configure resource labels on a GKE cluster 2018-06-15 11:10:25 +01:00
The Magician
43cccf3e2c Minor cleanup of disk's labelFingerprint. (#1651) 2018-06-14 20:34:10 -05:00
Dana Hoffman
8591ab1577
Update CHANGELOG.md 2018-06-14 14:50:48 -07:00
Dana Hoffman
d884312f88
don't error if service account key is already gone on delete (#1659)
Fixes #1657
2018-06-14 14:49:24 -07:00
The Magician
f4e4d880c5 Autogenerate Route resource. (#1647) 2018-06-14 15:22:02 -05:00
Dana Hoffman
8aeb7d3c0a
Update CHANGELOG.md 2018-06-14 09:54:45 -07:00
Daisuke Fujita
b7f2025fb9 Add project to container_node_pool import name (#1653)
## What

As well as https://github.com/terraform-providers/terraform-provider-google/pull/1282 , make `resource_container_node_pool` importer accept `{project}/{zone}/{cluster}/{name}` format to specify the project where the node pool belongs to actually.

## Why

Sometimes I want to import container pool in different project from default SA's. However, currently there is no way to specify project the target node pool belongs to, Terraform tries to retrieve node pool from SA's project, then it fails due to `You cannot import non-existent resources using Terraform import.` error.
2018-06-14 09:54:08 -07:00
Stefan Schmidt
502e6176a2 Add a link to the official documentation of launch stages. (#1654) 2018-06-14 09:52:26 -07:00