54 Commits

Author SHA1 Message Date
Josh Soref
84d343bf7e
filepath isn't a word 2018-10-10 14:18:06 -04:00
Josh Soref
8808be339f
Grammar fixes for googlecompute.html.md
Most of these were suggested by app.grammarly.com
2018-10-10 14:16:13 -04:00
Adrien Delorme
f088ab6d44 gcp/builder: add doc for tags
closes #6446
2018-09-20 10:50:50 +02:00
Adrien Delorme
d8b537e258 website doc for min_cpu_platform 2018-08-21 10:35:33 +02:00
Adrien Delorme
3ea8f9f50d
Small updates on the googlecompute website docs 2018-08-17 12:41:37 +02:00
Adam Robinson
e74706c761 update googlecompute docs on images from scratch 2018-07-31 16:08:07 -04:00
Megan Marsh
6f727cd85d clarify how to change google compute's firewall setting 2018-04-23 15:21:00 -07:00
Megan Marsh
414dd80e61
Merge pull request #6013 from jsoref/spelling
Spelling
2018-03-14 09:50:27 -07:00
Josh Soref
8e36178e5b spelling: preemptible 2018-03-14 02:14:31 +00:00
Evan Brown
4a2c124ea2 builder/googlecompute: Optionally disable service account
The ability to use a service account other than the default was
introduced in #5928. This change adds to that by introducing the
'disable_default_service_account' config option. If true - and
'service_account_email' is not set - Packer will create a GCE VM
with no service account.
2018-03-07 20:53:26 -08:00
Christophe Courtaut
bda07497e9 website/docs: Adds documentation for GCE builder service account email new field 2018-02-22 18:46:13 +01:00
Sean Malloy
22deb5045d Remove extra new line from googlecompute docs 2018-02-04 01:16:34 -06:00
Sean Malloy
c75db88f6b Add documentation for new googlecompute builder image_licenses configuration option 2018-02-03 15:56:29 -06:00
Sean Malloy
1c9f18603c Fix Google Compute Builder Documentation
Added required configuration option ssh_username to basic config
example.
2018-02-03 15:32:10 -06:00
Malet
18b9487a38
Fix typo 2017-11-15 12:02:08 +00:00
Evan Brown
74403ef914 website: Update googlecompute engine docs
This change updates the documentation to describe how `network` and
`subnetwork` properties are processed.
2017-11-06 16:41:42 -08:00
Matthew Aynalem
1967c4bc81 docs correct datatype inconsistencies int/integer => number (issue #5468) 2017-10-16 11:30:23 -07:00
Peter Mounce
ac8eedf171 Introduce a new configuration parameter instead
... so that one can have a different list compared to instances.
2017-09-18 17:53:40 +01:00
Peter Mounce
8789ae72e8 Make the googlecompute builder label the resulting image.
... so that it's possible to find images matching particular characteristics more easily.
2017-09-18 15:44:01 +01:00
Matthew Hooker
817dc973c8
clarify docs 2017-09-06 15:01:39 -07:00
Patrick Decat
a005638e11 Document labels set on GCE instance 2017-09-06 23:22:51 +02:00
Megan Marsh
3974976518 Merge pull request #5137 from vilkaspilkas/f-googlecompute-accelerator
Add accelerator api support to googlecompute builder
2017-09-01 14:12:26 -07:00
Rickard von Essen
b66bc549cd
Remove ssh_username` from builder docs 2017-07-27 06:53:16 +02:00
Saulius Grusnys
1d4c42930f Update accelerator_type documentation to note the required on_host_maintenance value 2017-07-18 11:53:00 +01:00
Saulius Grusnys
2e1f85a3f2 Adding accelerator_count and accelerator_type to optional configuration reference 2017-07-18 11:14:36 +01:00
Rickard von Essen
f230f00726 googlecompute: Allow using URL's for network and subnetwork
If full server URL's is used in subnetwork we can skip reading from the network
API. This is usefull when you can launch instances in a shared network but don't
have access to do GET on the network resources.

Closes: #5018
2017-06-27 21:58:21 +02:00
Chainarong Tangsurakit
d4e83f044e Update Builder docs for Google Cloud Platform
Update Builder docs for Google Cloud Platform
2017-06-17 11:41:18 +07:00
Matthew Hooker
bcc0d24bf4
run docs through pandoc 2017-06-14 18:13:46 -07:00
Matthew Hooker
5e196490ab
fix typo 2017-03-28 17:09:41 -07:00
Seth Vargo
6b80c21043
Revamp pages and docs to fit HashiCorp brand 2017-03-28 16:05:19 -04:00
Rickard von Essen
f15925b017
builder/googlecompute: Added Windows example to the docs.
Closes: #4713
2017-03-28 17:27:57 +02:00
Rickard von Essen
2f50d7bea5 googlecompute: Added missing disk_name option to docs. 2017-03-08 19:47:08 +01:00
Rickard von Essen
eac5b6392d googlecompute: Correct values for on_host_maintenance
If preemptible is true then on_host_maintenance must be TERMINATE.

Also corrected order in docs.

Closes #4620
2017-03-08 19:44:07 +01:00
Matthew Hooker
6eaf8f4559
tighten up docs 2017-02-10 12:11:08 -08:00
Dimitri Rudnev
2009fcd9df OnHostMaintenance, googlecompute updating documenation , additional option for validation and setting defaults 2017-02-10 11:57:15 -08:00
James Portman
88fceff226 Correcting CLI usage
For gcloud compute instances create, multiple scopes should be comma separated in one set of quotes
2017-01-05 10:34:42 +00:00
Sean Malloy
e0fd5ac402 Fix formating for network_project_id config option 2016-12-28 23:15:18 -06:00
Troy Toman
12f279fa79 add ability to set a different project-id for a network in the googlecloud builder 2016-12-02 15:22:36 -06:00
Peter Schultz
54aa830943 builder/googlecompute: split docs for source_image and source_image_family
Also update the example values to currently non-deprecated images.
2016-11-14 13:06:43 +01:00
Peter Schultz
bcb319640e builder/googlecompute: support source image family
Closes #4100
2016-11-13 16:54:04 +01:00
Rickard von Essen
dd89aa7243
Formatted the default value and cleaned some trailing spaces. 2016-10-22 21:06:07 +02:00
YAMADA Tsuyoshi
283d3e5758 Updated document 2016-10-22 15:46:19 +09:00
Scott Crunkleton
591eb12806 Added googlecompute documentation for the source_image_project_id option. It was previously missing. 2016-10-12 13:48:37 -07:00
Rickard von Essen
7dafd4421e Merge pull request #3737 from clstokes/docs-googlecompute-metadata
builder/googlecompute: Clarify metadata usage.
2016-09-13 23:05:16 +02:00
Ingo Gottwald
0c1051a017 GCE builder: Switch to google.DefaultClient (#3655)
* GCE builder: Switch to google.DefaultClient

This enables authentication through an authenticated gcloud tool.

* GCE builder: Add docs about auth mech precedence
2016-08-27 03:12:55 +02:00
crunk1
55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
Added documentation and changed authentication stuff on temporary VM.
2016-08-15 14:36:26 -07:00
Evan Brown
a5c598264f builder/googlecompute: Support provisioning VM without external IP address
This change adds an `omit_external_ip` configuration property that, when true,
will cause no external IP address to be associated with the Google Compute
Engine VM provisioned to create an image. When using `omit_external_ip`, you
must also set the `use_internal_ip` configuration property to true.

Addresses #3296
2016-08-02 13:43:04 -07:00
Scott Crunkleton
7190fbeed8 Adding support for googlecompute startup scripts.
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.

Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
Cameron Stokes
923375cdbc Clarify googlecompute#metadata usage. 2016-07-20 11:12:20 -07:00
Adron Hall
c4b93d00ad Format change to spaces vs. tabs. & indentation cleanup. 2016-07-14 14:54:02 -07:00