Commit Graph

1006 Commits

Author SHA1 Message Date
Christoph Blecker
2b62f40b7f Add support for name_prefix to google_compute_ssl_certificate 2016-12-12 15:57:58 -08:00
Christoph Blecker
ada3e5f3b6 Add support for name_prefix to google_compute_ssl_certificate 2016-12-12 15:57:58 -08:00
James Bardin
06d17ca75f wrong printf verb 2016-12-12 15:03:21 -05:00
Paddy
e4d84578ad Merge pull request #10453 from danawillow/google-ilb
providers/google: Add support for Internal Load Balancing
2016-12-12 09:47:20 -08:00
Paddy
1c7fb083c9 Merge pull request #10453 from danawillow/google-ilb
providers/google: Add support for Internal Load Balancing
2016-12-12 09:47:20 -08:00
Dana Hoffman
ddbc902cf1 fix tests 2016-12-08 19:59:03 -08:00
Dana Hoffman
cbe0a2078c Update docs 2016-12-08 18:05:48 -08:00
Dana Hoffman
5cf3323c6f use conflictswith for health check instead of separate type field 2016-12-08 13:35:57 -08:00
Dana Hoffman
94c58fbfc2 add links to docs on region backend service 2016-12-08 11:04:01 -08:00
Dana Hoffman
61670a73d6 log id of health check that still exists on destroy 2016-12-08 10:40:09 -08:00
Kian Mohageri
90dafd2ae9 Doc spelling: referencd -> referenced (#10559)
Small spelling correction in the Google Project documentation.
2016-12-07 00:41:20 +01:00
Paddy
121b587aec Fix instance/template metadata support
Update our instance template to include metadata_startup_script, to
match our instance resource. Also, we've resolved the diff errors around
metadata.startup-script, and people want to use that to create startup
scripts that don't force a restart when they're changed, so let's stop
disallowing it.

Also, we had a bunch of calls to `schema.ResourceData.Set` that ignored
the errors, so I added error handling for those calls. It's mostly
bundled with this code because I couldn't be sure whether it was the
root of bugs or not, so I took care of it while addressing the startup
script issue.
2016-12-05 02:45:28 -08:00
Paddy
5b36f2f0e3 Fix instance/template metadata support
Update our instance template to include metadata_startup_script, to
match our instance resource. Also, we've resolved the diff errors around
metadata.startup-script, and people want to use that to create startup
scripts that don't force a restart when they're changed, so let's stop
disallowing it.

Also, we had a bunch of calls to `schema.ResourceData.Set` that ignored
the errors, so I added error handling for those calls. It's mostly
bundled with this code because I couldn't be sure whether it was the
root of bugs or not, so I took care of it while addressing the startup
script issue.
2016-12-05 02:45:28 -08:00
Dana Hoffman
242102e0e0 Actually add documentation for Internal Load Balancing 2016-12-01 12:27:37 -08:00
Dana Hoffman
bb21b57596 remove loadBalancingScheme as an option in RegionBackendService since it can only be INTERNAL 2016-12-01 12:27:36 -08:00
Dana Hoffman
117f5da06f Add documentation for Internal Load Balancing 2016-12-01 12:27:36 -08:00
Dana Hoffman
d87928118f add one more test for updating a health check 2016-12-01 12:27:35 -08:00
Dana Hoffman
d98cf1ce36 fix bugs in health check and its tests 2016-12-01 12:27:35 -08:00
Dana Hoffman
e0e00bdf80 Add the other HealthCheck types 2016-12-01 12:27:34 -08:00
Dana Hoffman
0057687fb0 clean up RegionBackendService and tests 2016-12-01 12:27:34 -08:00
Dana Hoffman
429f01689e use v1 apis instead of beta 2016-12-01 12:27:33 -08:00
Dana Hoffman
69ce33641d First set of changes to enable internal load balancing using beta apis 2016-12-01 11:14:21 -08:00
Paddy
0409971f69 providers/google: make projects importable.
This change doesn't make much sense now, as projects are read-only
anyways, so there's not a lot that importing really does for you--you
can already reference pre-existing projects just by defining them in
your config.

But as we discussed #10425, this change made more and more sense. In a
world where projects can be created, we can no longer reference
pre-existing projects just by defining them in config. We get that
ability back by making projects importable.
2016-12-01 10:38:27 -08:00
Paddy
b312a4bcae Merge pull request #10387 from bpineau/google_session_affinity
provider/google: allow session affinity for compute_backend_service
2016-12-01 10:18:27 -08:00
Benjamin Pineau
b84bad481b provider/google: allow session affinity for compute_backend_service
Google's Backend Services gives users control over the session affinity modes.
Let's allow Terraform users to leverage this option.
We don't change the default value ("NONE", as provided by Google).
2016-11-30 23:50:50 +01:00
Benjamin Pineau
9e26fb8bdc provider/google: allow session affinity for compute_backend_service
Google's Backend Services gives users control over the session affinity modes.
Let's allow Terraform users to leverage this option.
We don't change the default value ("NONE", as provided by Google).
2016-11-30 23:50:50 +01:00
Or Elimelech
d1271dd8bd Small typo (#10431)
Just fixing a small typo
2016-11-30 11:55:49 +02:00
Evan Brown
a9f3060b6a Merge pull request #10117 from cblecker/f-gke-node-scopes
provider/google: Add support for scope aliases to google_container_cluster
2016-11-18 20:19:26 -08:00
Evan Brown
771181a189 Merge pull request #10117 from cblecker/f-gke-node-scopes
provider/google: Add support for scope aliases to google_container_cluster
2016-11-18 20:19:26 -08:00
Evan Brown
08c7b0700c Merge pull request #10081 from aditya87/google_compute_image_timeout
Added create timeout for compute images and instances
2016-11-17 12:56:02 -08:00
Evan Brown
cc85aa2853 Merge pull request #10081 from aditya87/google_compute_image_timeout
Added create timeout for compute images and instances
2016-11-17 12:56:02 -08:00
Evan Brown
d267c3587a Resolve review feedback 2016-11-17 09:49:22 -08:00
Evan Brown
eea2b7461c Resolve review feedback 2016-11-17 09:49:22 -08:00
Christoph Blecker
706f4e5daa Add support for scope aliases to google_container_cluster 2016-11-14 15:50:24 -08:00
Christoph Blecker
0058a5b37e Add support for scope aliases to google_container_cluster 2016-11-14 15:50:24 -08:00
Christoph Blecker
1573b0a64b Clean up google_container_cluster docs 2016-11-14 15:49:43 -08:00
Evan Brown
6257dfe221 Fix spacing inconsistencies 2016-11-14 11:12:55 -08:00
Evan Brown
8137551789 Fix spacing inconsistencies 2016-11-14 11:12:55 -08:00
Evan Brown
c365768a76 Fix go vet issue 2016-11-14 09:59:44 -08:00
Evan Brown
14069696fd providers/google: random resource names in SA test 2016-11-14 09:42:11 -08:00
Evan Brown
ff2f519d6a providers/google: Create and delete Service Accounts 2016-11-13 20:47:20 -08:00
Evan Brown
b12005b247 providers/google: Create and delete Service Accounts 2016-11-13 20:47:20 -08:00
Aditya Anchuri
2c43213d1c Added create timeout for compute images and instances
- Prevents the corresponding terraform resource from timing out when the
  images or instances take longer than the default of 4 minutes to be
  created
2016-11-12 18:30:02 -08:00
Aditya Anchuri
7053606e93 Added create timeout for compute images and instances
- Prevents the corresponding terraform resource from timing out when the
  images or instances take longer than the default of 4 minutes to be
  created
2016-11-12 18:30:02 -08:00
Paddy
0e2c4da3e2 provider/google: throw an error for invalid disks
When configuring an instance's attached disk, if the attached disk has
both the disk and type attributes set, it would previously cause
terraform to crash with a nil pointer exception. The root cause was that
we only instantiate the InitializeParams property of the disk if its
disk attribute isn't set, and we try to write to the InitializeParams
property when the type attribute is set. So setting both caused the
InitializeParams property to not be initialized, then written to.

Now we throw an error explaining that the configuration can't have both
the disk and the type set.

Fixes #6495.
2016-11-07 16:11:00 -08:00
Patrick Decat
824dbd3a18 Fix deprecation warnings for automatic_restart and on_host_maintenance parameters (#9909)
Fix 
Warnings:

```
  * google_compute_instance_template.nat: "automatic_restart": [DEPRECATED] Please use `scheduling.automatic_restart` instead
  * google_compute_instance_template.nat: "on_host_maintenance": [DEPRECATED] Please use `scheduling.on_host_maintenance` instead
```
2016-11-07 10:42:38 +00:00
Christoph Blecker
99b165ab54 Search configured project image families (#9243)
* Search configured project image families

* Clarify documentation around google_compute_instance image families

* Acceptance test for private instance family creation
2016-11-01 21:00:12 +00:00
Christoph Blecker
ab9a002e09 Search configured project image families (#9243)
* Search configured project image families

* Clarify documentation around google_compute_instance image families

* Acceptance test for private instance family creation
2016-11-01 21:00:12 +00:00
Christoph Blecker
784b9f5247 Add support for default-internet-gateway alias for google_compute_route (#9676) 2016-11-01 13:45:36 +00:00
Christoph Blecker
9598afb20b Add support for default-internet-gateway alias for google_compute_route (#9676) 2016-11-01 13:45:36 +00:00