mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -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.
|
||||
required: false
|
||||
type: bool
|
||||
aliases:
|
||||
- ip_forward
|
||||
disks:
|
||||
description:
|
||||
- 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
|
||||
the image by its family name.
|
||||
required: false
|
||||
aliases:
|
||||
- image
|
||||
- image_family
|
||||
source_image_encryption_key:
|
||||
description:
|
||||
- The customer-supplied encryption key of the source image. Required if
|
||||
|
@ -889,7 +894,7 @@ def main():
|
|||
module = GcpModule(
|
||||
argument_spec=dict(
|
||||
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(
|
||||
type='list',
|
||||
elements='dict',
|
||||
|
@ -905,7 +910,7 @@ def main():
|
|||
disk_name=dict(type='str'),
|
||||
disk_size_gb=dict(type='int'),
|
||||
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'))),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue