Commit Graph

2615 Commits

Author SHA1 Message Date
Paddy
cf72a65aa5
Merge pull request #1663 from garethjevans/resourcelabels
Added ability to configure resource labels on a GKE cluster
2018-07-02 11:50:25 -07:00
Dana Hoffman
0b4321a9cb
Update CHANGELOG.md 2018-07-02 10:17:07 -07:00
The Magician
ded4eb8c64 Support Redis configuration (#1706)
<!-- This change is generated by MagicModules. -->
/cc @edevil 

Fixes #1547
2018-07-02 10:16:38 -07:00
The Magician
18e0d423d6 Autogenerate VPN Tunnel resource (#1699) 2018-06-29 16:27:01 -07:00
Dana Hoffman
d786d633af
Update CHANGELOG.md 2018-06-29 15:24:47 -07:00
The Magician
74c64030b8 add quic_override to google_compute_target_https_proxy (#1718) 2018-06-29 15:24:27 -07:00
The Magician
8e6552bd90 Update redis example to actually use network (#1720)
Update redis example to actually use network
2018-06-29 09:28:05 -07:00
Matt Oswalt
d7c1bf93a0
Update tests for image licenses
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
2018-06-29 06:45:02 -07:00
Dana Hoffman
32826ad533
Update CHANGELOG.md 2018-06-28 16:10:49 -07:00
Dana Hoffman
5742850ae2
Update CHANGELOG.md 2018-06-28 16:10:28 -07:00
Dana Hoffman
7e04cee958
add new compute_instance_from_template resource (#1652)
This was done as its own resource as suggested in slack, since we don't have the option of making all fields Computed in google_compute_instance. There's precedent in the aws provider for this sort of thing (see ami_copy, ami_from_instance).

When I started working on this I assumed I could do it in the compute_instance resource and so I went ahead and reordered the schema to make it easier to work with in the future. Now it's not quite relevant, but I left it in as its own commit that can be looked at separately from the other changes.

Fixes #1582.
2018-06-28 16:09:23 -07:00
Matt Oswalt
8941c5ef6e
Implement 'licenses' field in compute_image resource
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
2018-06-28 09:51:50 -07:00
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