Commit Graph

26 Commits

Author SHA1 Message Date
Max Riveiro
f31cca6ba3 Massively add HCL source tag in docs Markdown files
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00
Paddy
7c8681ddd5 Make all image string templates code formatted.
Update our docs to code format all the image template strings that a
disk can use.
2017-03-13 23:39:07 -07:00
Paddy
a0e6311936 Update the documentation.
Document the acceptable inputs everywhere that uses the function.
2017-03-13 22:15:37 -07:00
George Christou
06fa75423e website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00
zbikmarc
b5333fe9d9 providers/google: Add subnetwork_project field to enable cross-project networking in instance templates (#11110)
* Add subnetwork_project field to allow for XPN in GCE instance templates

* Missing os import

* Removing unneeded check

* fix formatting

* Add subnetwork_project to read
2017-01-12 16:05:13 +02: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
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
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
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
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
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
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
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
Lars Wander
2a45008ba5 provider/google: Fix documentation around GCE Disk 2016-02-13 10:20:56 -05:00
Dave Cunningham
76ee939e7b Merge pull request #3667 from lwander/f-gcp-instance-template-preemptible
provider/google: Added `preemtible` flag to `instance_template`
2015-10-30 17:38:15 -04:00
Lars Wander
e316e72a12 provider/google: Added preemtible flag to instance_template 2015-10-30 16:07:11 -04:00
Lars Wander
e2baa63aeb provider/google: SQL instance & database tests & documentation 2015-10-30 15:35:29 -04:00
David Watson
406d374baa Update Instance Template network definition to match changes to Instances. 2015-02-16 17:04:56 +00:00
David Watson
8ea20eab8d Add docs for google Instance Template. 2015-02-10 10:41:21 +00:00