docs/builder/google: Add note about boolean values for compute instance metadata
Closes #9393
This commit is contained in:
parent
b5b8f2e308
commit
ce6284f760
|
@ -128,6 +128,9 @@ type Config struct {
|
|||
// The machine type. Defaults to "n1-standard-1".
|
||||
MachineType string `mapstructure:"machine_type" required:"false"`
|
||||
// Metadata applied to the launched instance.
|
||||
// All metadata configuration values are expected to be of type string.
|
||||
// Google metadata options that take a value of `TRUE` or `FALSE` should be
|
||||
// set as a string (i.e `"TRUE"` `"FALSE"` or `"true"` `"false"`).
|
||||
Metadata map[string]string `mapstructure:"metadata" required:"false"`
|
||||
// Metadata applied to the launched instance. Values are files.
|
||||
MetadataFiles map[string]string `mapstructure:"metadata_files"`
|
||||
|
|
|
@ -93,6 +93,9 @@
|
|||
- `machine_type` (string) - The machine type. Defaults to "n1-standard-1".
|
||||
|
||||
- `metadata` (map[string]string) - Metadata applied to the launched instance.
|
||||
All metadata configuration values are expected to be of type string.
|
||||
Google metadata options that take a value of `TRUE` or `FALSE` should be
|
||||
set as a string (i.e `"TRUE"` `"FALSE"` or `"true"` `"false"`).
|
||||
|
||||
- `metadata_files` (map[string]string) - Metadata applied to the launched instance. Values are files.
|
||||
|
||||
|
|
Loading…
Reference in New Issue