mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-09 04:10:27 -07:00
Ansible: better field names on gcp_compute_instance (#185)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
1ad570c341
commit
5f710afb3d
1 changed files with 7 additions and 2 deletions
|
@ -54,6 +54,8 @@ options:
|
||||||
routes.
|
routes.
|
||||||
required: false
|
required: false
|
||||||
type: bool
|
type: bool
|
||||||
|
aliases:
|
||||||
|
- ip_forward
|
||||||
disks:
|
disks:
|
||||||
description:
|
description:
|
||||||
- An array of disks that are associated with the instances that are created from
|
- An array of disks that are associated with the instances that are created from
|
||||||
|
@ -137,6 +139,9 @@ options:
|
||||||
create a disk with one of the public operating system images, specify
|
create a disk with one of the public operating system images, specify
|
||||||
the image by its family name.
|
the image by its family name.
|
||||||
required: false
|
required: false
|
||||||
|
aliases:
|
||||||
|
- image
|
||||||
|
- image_family
|
||||||
source_image_encryption_key:
|
source_image_encryption_key:
|
||||||
description:
|
description:
|
||||||
- The customer-supplied encryption key of the source image. Required if
|
- The customer-supplied encryption key of the source image. Required if
|
||||||
|
@ -889,7 +894,7 @@ def main():
|
||||||
module = GcpModule(
|
module = GcpModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||||
can_ip_forward=dict(type='bool'),
|
can_ip_forward=dict(type='bool', aliases=['ip_forward']),
|
||||||
disks=dict(
|
disks=dict(
|
||||||
type='list',
|
type='list',
|
||||||
elements='dict',
|
elements='dict',
|
||||||
|
@ -905,7 +910,7 @@ def main():
|
||||||
disk_name=dict(type='str'),
|
disk_name=dict(type='str'),
|
||||||
disk_size_gb=dict(type='int'),
|
disk_size_gb=dict(type='int'),
|
||||||
disk_type=dict(type='str'),
|
disk_type=dict(type='str'),
|
||||||
source_image=dict(type='str'),
|
source_image=dict(type='str', aliases=['image', 'image_family']),
|
||||||
source_image_encryption_key=dict(type='dict', options=dict(raw_key=dict(type='str'), sha256=dict(type='str'))),
|
source_image_encryption_key=dict(type='dict', options=dict(raw_key=dict(type='str'), sha256=dict(type='str'))),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue