Commit Graph

280 Commits

Author SHA1 Message Date
stack72
55ebfd82de Merge branch 'google-xpn' of https://github.com/danawillow/terraform 2016-12-13 19:15:54 +00:00
Patrick Decat
590ae43c5d Fix 404 on API link (#10693) 2016-12-13 10:12:49 +00:00
Patrick Decat
57c9fdf77f Fix 404 on API link 2016-12-13 11:10:55 +01:00
Christoph Blecker
ada3e5f3b6 Add support for name_prefix to google_compute_ssl_certificate 2016-12-12 15:57:58 -08: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
Dana Hoffman
cbe0a2078c Update docs 2016-12-08 18:05:48 -08:00
Dana Hoffman
94c58fbfc2 add links to docs on region backend service 2016-12-08 11:04:01 -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
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
117f5da06f Add documentation for Internal Load Balancing 2016-12-01 12:27:36 -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
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
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
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
eea2b7461c Resolve review feedback 2016-11-17 09:49:22 -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
8137551789 Fix spacing inconsistencies 2016-11-14 11:12:55 -08:00
Evan Brown
ff2f519d6a providers/google: Create and delete Service Accounts 2016-11-13 20:47:20 -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
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
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
9598afb20b Add support for default-internet-gateway alias for google_compute_route (#9676) 2016-11-01 13:45:36 +00:00
Christoph Blecker
5ac73bfd16 Add support for using source_disk to google_compute_image (#9614) 2016-11-01 10:32:47 +00:00
Dan Wendorf
ad6d146203 provider/google Support MySQL 5.7 instances (#9673)
* provider/google Document MySQL versions for second generation instances

Google Cloud SQL has first-gen and second-gen instances with different
supported versions of MySQL.

* provider/google Increase SQL Admin operation timeout to 10 minutes

Creating SQL instances for MySQL 5.7 can take over 7 minutes,
so the timeout needs to be increased to allow the
google_sql_database_instance resource to successfully create.
2016-10-28 14:41:03 +02:00
Dan Wendorf
cad67fe2ea provider/google Change default MySQL instance version to 5.6 (#9674)
The Google Cloud SQL API defaults to 5.6, and 5.6 is the only version avaiable
to both first- and second-generation Cloud SQL instances.
2016-10-28 00:11:08 +01:00
Dana Hoffman
3370e4fbcb Add section in docs for subnetwork_project 2016-10-27 10:22:01 -07:00
Walter Dolce
3c0cc4ba9c Fix link pointing to GCE docs
This partially fixes #9522. Not sure about the first link reported.
2016-10-22 18:34:59 +01:00
Michał Michałowski
61d0956c6a Config should reflect description
Example addons_config was supposed to show how to disable addons (http_load_balancing and horizontal_pod_autoscaling), but it was enabling them instead.
2016-10-11 10:14:27 +02:00
Evan Brown
81c3c048a2 Merge pull request #8977 from sl1pm4t/b-gcs-storage-class
provider/google: Add support for GCS StorageClass
2016-09-24 21:13:17 -07:00
Sean Chittenden
65a7ed87c2 Whitespace nit. 2016-09-23 10:59:27 -07:00
Matt Morrison
7adea2f0f3 Fix documentation 2016-09-22 07:49:50 +12:00
Matt Morrison
fa31b6d207 Add support for GCS StorageClass
Fixes: #7417
2016-09-22 07:46:35 +12:00
Matt Morrison
e391214b2b Incorporate @jen20 code comments (errors, errwrap, TODO’s)
Implement content_md5, content_type, extension_headers support.
2016-09-16 12:44:28 +12:00
Matt Morrison
1ecaf1e58b Add google_storage_object_signed_url documentation. 2016-09-16 12:44:28 +12:00
Evan Brown
34edaf56d6 providers/google: Add documentation for google_iam_policy resource 2016-09-07 13:35:33 -07:00
Evan Brown
e0289a462e providers/google: Fix VPN Tunnel acceptance test
This fix changes acceptance tests for VPN tunnel to use the correct ports (UDP
500 and 4500). It also changes the documentation to demonstrate using these
port single ports in a `port_range` field.
2016-09-05 12:34:40 -07:00
Matt Morrison
44bb890f57 Make network attribute more consistent.
Some google resources required network be refernced by resource URL (aka self_link), while others required network name.
This change allows either to be supplied.

DRY it out, and add a fix for #5552.
2016-09-05 08:02:54 +12:00
Sarah Zelechoski
f2710cf1ba Allow custom Compute Engine service account 2016-08-23 17:04:13 -04:00
Christoph Blecker
a0886decc3 Update docs to use GCP Image Families 2016-08-18 17:23:15 -07:00
Lars Wander
0a6a76a86d Merge pull request #8147 from nwwebb/import-instance-template
provider/google: Support Import of 'google_compute_instance_template'
2016-08-18 10:30:46 -04:00
kawa
73b246e9b5 provider/google: Fix typo in document. auto_create_subnets -> auto_create_subnetworks (#8250) 2016-08-17 07:50:05 +01:00
Christoph Blecker
6737e59577 Add support for using GCP Image Family names. (#8083) 2016-08-15 22:29:58 +01:00
Noah Webb
87fe233ae8 provider/google: Support Import of 'google_compute_instance_template' 2016-08-15 10:03:31 -04:00
Evan Brown
a21fc31e00 providers/google: Add google_compute_image resource (#7960)
* providers/google: Add google_compute_image resource

This change introduces the google_compute_image resource, which allows
Terraform users to create a bootable VM image from a raw disk tarball
stored in Google Cloud Storage. The google_compute_image resource
may be referenced as a boot image for a google_compute_instance.

* providers/google: Support family property in google_compute_image

* provider/google: Idiomatic checking for presence of config val

* vendor: Update Google client libraries
2016-08-12 12:35:33 +10:00
Evan Brown
68a3b283e3 provider/google: Support static private IP addresses (#6310)
* provider/google: Support static private IP addresses

The private address of an instance's network interface may now be specified.
If no value is provided, an address will be chosen by Google Compute Engine
and that value will be read into Terraform state.

* docs: GCE private static IP address information
2016-08-08 13:01:31 +12:00
Evan Brown
9f1f0b4aff providers/google: Allow custom Compute Engine service account
This commit allows an operator to specify the e-mail address of a service
account to use with a Google Compute Engine instance. If no service account
e-mail is provided, the default service account is used.

Closes #7985
2016-08-04 19:25:28 -07:00
Evan Brown
dc6ba4a8c7 Merge pull request #7852 from gaker/google-provider-backend-cdn
google_compute_backend_service "enable_cdn"
2016-08-03 20:11:54 -07:00