Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
NatIP not required true
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Jul 10, 2018
1 parent b1ed6ff commit 7df5206
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
field undefined to use an IP from a shared ephemeral IP address pool. If you specify
a static external IP address, it must live in the same region as the zone of the
instance.
required: true
required: false
type:
description:
- The type of configuration. The default and only option is ONE_TO_ONE_NAT.
Expand Down Expand Up @@ -875,7 +875,7 @@ def main():
network_interfaces=dict(type='list', elements='dict', options=dict(
access_configs=dict(type='list', elements='dict', options=dict(
name=dict(required=True, type='str'),
nat_ip=dict(required=True, type='dict'),
nat_ip=dict(type='dict'),
type=dict(required=True, type='str', choices=['ONE_TO_ONE_NAT'])
)),
alias_ip_ranges=dict(type='list', elements='dict', options=dict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
field undefined to use an IP from a shared ephemeral IP address pool. If you specify
a static external IP address, it must live in the same region as the zone of the
instance.
required: true
required: false
type:
description:
- The type of configuration. The default and only option is ONE_TO_ONE_NAT.
Expand Down Expand Up @@ -847,7 +847,7 @@ def main():
network_interfaces=dict(type='list', elements='dict', options=dict(
access_configs=dict(type='list', elements='dict', options=dict(
name=dict(required=True, type='str'),
nat_ip=dict(required=True, type='dict'),
nat_ip=dict(type='dict'),
type=dict(required=True, type='str', choices=['ONE_TO_ONE_NAT'])
)),
alias_ip_ranges=dict(type='list', elements='dict', options=dict(
Expand Down

0 comments on commit 7df5206

Please sign in to comment.