Commit Graph

206 Commits

Author SHA1 Message Date
Reinhard Nägele
0f1a85d4d8 GKE: Fix docs for node_version (#10856) 2016-12-20 14:06:19 +00:00
Daniel Bryant
4c41dbced1 Make clearer that ipv4_range is deprecated (#10749)
Removed example code usage that demonstrated deprecated ipv4_range argument, and made clearer that argument is deprecated
2016-12-15 12:37:13 +00:00
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
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
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
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
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
Rasty Turek
c2e14a7da4 typo 2016-08-03 13:44:52 -07:00
Greg Aker
45b78ab468 Add enable_cdn to google_compute_backend_service.
Add the ability to add/remove the Cloud CDN configuration
option on a backend service.
2016-07-28 15:38:09 -05:00
Steven Wirges
895465d9c3 Updated compute_address docs
Added address to attribute ref
2016-07-28 17:08:06 +02:00
Dave Cunningham
71008edf91 Fix address docs in gce instance (#6639)
@evandbrown @lwander
2016-05-13 00:51:20 +01:00
Evan Brown
665c4fff2a providers/google: support optionial uuid naming for Instance Template (#6604)
Auto-generating an Instance Template name (or just its suffix) allows the
create_before_destroy lifecycle option to function correctly on the
Instance Template resource. This in turn allows Instance Group Managers
to be updated without being destroyed.
2016-05-11 22:54:47 +01:00
Evan Brown
9aaa5b3141 Update docs and fix computed container settings 2016-04-14 16:33:52 -07:00
Seth Vargo
9da0d13c73 Update documentation to include new "project" attribute
This commit also normalizes the format we display attributes.
2016-04-10 17:34:15 -04:00
Sebastien Badia
9e5f25a922 docs/google: Update links, fix syntax errors and remove whitespaces 2016-03-31 12:40:04 +02:00
Bill Fumerola
4aa7bbc92e provider/google: use non-deprecated image in acceptance tests, documentation 2016-03-26 09:55:28 -07:00
Bill Fumerola
57004b8d54 Correct markdown for google_compute_instance_group and attach to index 2016-03-21 10:29:59 -07:00
James Nugent
57202f3c70 Merge pull request #5428 from shaneog/google_dns_managed_zone
description is now a required field for google_dns_managed_zone
2016-03-19 17:06:13 +00:00
Pradeep Chhetri
2f78e00329 Updated google instance docs with custom instance type 2016-03-13 10:23:52 +00:00
Lars Wander
5b5f55fa84 provider/google: Mark next_hop_network as read only. 2016-03-10 13:58:09 -05:00
Derek Goss
949c384171 Added disk_size_gb documentation to resource "google_compute_instance_template"
This was missing in the docs yet was implemented in Terraform. See line 81 in https://github.com/hashicorp/terraform/blob/master/builtin/providers/google/resource_compute_instance_template.go
2016-03-06 21:44:55 -05:00
Shane O'Grady
1696535082 description is now a required field for google_dns_managed_zone
The description field for a managed-zone is now a required field when using the Cloud API.
This commit defaults the field to use the text "Managed by Terraform" to minimize required boilerplate for Terraform users.

Ref: https://cloud.google.com/sdk/gcloud/reference/dns/managed-zones/create
2016-03-02 17:23:11 -03:00
Lars Wander
a20bc2fabc Merge pull request #4087 from ajcrowe/google-instance_groups
provider/google: Support for unmanaged instance groups (google_compute_instance_group)
2016-02-26 15:33:08 -05:00
Alex Crowe
b057c59430 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00
James Nugent
dcb2ebbb2a provider/google: Document schema conflict in network 2016-02-22 13:15:02 -05:00
Lars Wander
7b55d53ad1 provider/google: Add support for reading SQL instance assigned IP Addresses 2016-02-22 10:38:14 -05:00
Matt Morrison
e42ea36d23 Add more acceptance tests, and fix some test cases 2016-02-18 08:37:58 -08:00
Matt Morrison
a9c87749be Add subnetwork resource ACC tests, additional doc updates 2016-02-18 08:37:58 -08:00
Matt Morrison
b60e587750 Update google resources where necessary to make use of subnetworks, update som docs 2016-02-18 08:37:58 -08:00
Paul Stack
4a5f5cf2da Merge pull request #5126 from lwander/b-gcp-template-disk-type-doc
provider/google: Fix documentation around GCE Disk Type
2016-02-13 18:35:50 +00:00
Lars Wander
c58530f40c provider/google: Route doc zone update 2016-02-13 10:23:55 -05:00
Lars Wander
2a45008ba5 provider/google: Fix documentation around GCE Disk 2016-02-13 10:20:56 -05:00
chris
ee6cbff726 provider/google: Support named_port on instance_group_manager
This allows HTTP and HTTPs load-balancers to direct traffic to ports other than tcp/80 and tcp/443.
2016-01-20 09:15:30 -05:00
Seth Vargo
f4af21f902 Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00
James Nugent
a93e17e3bf Merge pull request #4669 from lwander/f-gcp-sql-user
provider/google: SQL user resource, documentation & tests
2016-01-14 06:51:17 +00:00
Lars Wander
7db6460afc Merge pull request #3893 from lwander/b-gcp-bucket-content
provider/google: Content field for bucket objects
2016-01-13 17:14:53 -05:00
Lars Wander
95beb3fb26 Merge pull request #4265 from lwander/gcp-assigned-nat-ip
provider/google: provide assigned_nat_ip as well as nat_ip
2016-01-13 17:13:16 -05:00
Lars Wander
7a6bedf782 provider/google: Content field for bucket objects 2016-01-13 17:06:58 -05:00
Lars Wander
6f48af81cd provider/google: SQL user resource, documentation & tests 2016-01-13 16:33:08 -05:00
Lars Wander
a9c5f8f9df provider/google: Clarify SQL database name cannot be reused 2016-01-08 11:54:55 -05:00
Lars Wander
313a30f11f Merge pull request #3735 from lwander/b-gcp-container-cluster-document-scopes
provider/google: Improve Container Scope Example Documentation
2015-12-15 13:03:05 -05:00
Lars Wander
1cc482772f Merge pull request #3892 from lwander/b-gcp-instance-group-restart
provider/google: Fix instance group manager instance restart policy
2015-12-15 11:38:12 -05:00
Lars Wander
148ddb1991 provider/google: provide assigned_nat_ip as well as nat_ip 2015-12-11 12:57:18 -05:00
Andrew Teixeira
57979438a6 Move pricing_plan and replication_type in documentation to "settings" sublist as that is where the code looks for those options 2015-12-07 11:40:41 -05:00
Corey Farwell
f37c94d369 Fix minor spacing inconsistency 2015-12-05 16:51:05 -05:00
Lars Wander
7b22d6a617 provider/google: Added missing pubsub documentation 2015-12-03 15:42:41 -05:00
pat
626817388c golang pubsub SDK has been released. moved topics/subscriptions to use that
Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

golang pubsub SDK has been released.  moved topics/subscriptions to use that

Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

file renames and add documentation files

remove typo'd merge and type file move

add to index page as well

only need to define that once

remove topic_computed schema value

I think this was used at one point but is no longer. away.

cleanup typo

adds a couple more config values

- ackDeadlineSeconds: number of seconds to wait for an ack
- pushAttributes: attributes of a push subscription
- pushEndpoint: target for a push subscription

rearrange to better match current conventions

respond to all of the comments
2015-12-02 10:36:00 -08:00
Jonathan Groth
2ea33dd834 Correct argument reference for certificate 2015-11-13 17:13:20 -05:00
Lars Wander
d1b35d9d69 provider/google: Fix instance group manager instance restart policy 2015-11-12 15:44:31 -05:00
Lars Wander
ac6dd0ca81 provider/google: HTTPS health checks resource + tests & documentation 2015-11-12 10:48:26 -05:00
Dave Cunningham
ce8c9d25d0 Merge pull request #3702 from lwander/f-gcp-global-forwarding-rule
provider/google: global forwarding rule tests & documentation
2015-11-03 13:41:08 -05:00
Lars Wander
26c676036a provider/google: global forwarding rule tests & documentation 2015-11-03 13:31:46 -05:00
Lars Wander
dc71df8455 provider/google: Target HTTPS proxy resource + tests & documentation 2015-11-03 12:34:13 -05:00
Lars Wander
215c53915c provider/google: Improve Container Scope Example Documentation 2015-11-03 10:30:36 -05:00
Lars Wander
da139fac94 provider/google: target http proxies resource + tests & documentation 2015-11-03 08:54:30 -05:00
Lars Wander
5eed1a3ad3 provider/google: Added url map resource + tests & documentation 2015-11-02 17:12:41 -05:00
Dave Cunningham
08f1522cd9 Merge pull request #3723 from lwander/f-gcp-ssl-certs
provider/google: SSL Certificates resource + tests & documentation
2015-11-02 14:44:19 -05:00
Lars Wander
dbd36c1559 provider/google: SSL Certificates resource + tests & documentation 2015-11-02 14:35:51 -05:00
Dave Cunningham
67140dbb7a Merge pull request #3701 from lwander/f-gcp-global-address
provider/google: global address + tests & documentation
2015-11-02 13:29:36 -05:00
Radek Simko
345827738d Merge pull request #3713 from lwander/b-gcp-backend-region
provider/google: Region attribute wasn't wrapped in quotes
2015-11-02 10:47:27 +00:00