Updated doco for vpc_subnet

reviewable/pr18780/r1
whiter 9 years ago
parent c93cf8c054
commit d40bdd4645

@ -22,32 +22,34 @@ description:
version_added: "2.0" version_added: "2.0"
author: Robert Estelle (@erydo) author: Robert Estelle (@erydo)
options: options:
vpc_id: az:
description:
- VPC ID of the VPC in which to create the subnet.
required: false
default: null
resource_tags:
description: description:
- A dictionary array of resource tags of the form: { tag1: value1, tag2: value2 }. This module identifies a subnet by CIDR and will update the subnet's tags to match. Tags not in this list will be ignored. - "The availability zone for the subnet. Only required when state=present."
required: false required: false
default: null default: null
cidr: cidr:
description: description:
- The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present." - "The CIDR block for the subnet. E.g. 10.0.0.0/16. Only required when state=present."
required: false required: false
default: null default: null
az: tags:
description: description:
- "The availability zone for the subnet. Only required when state=present." - "A dictionary array of resource tags of the form: { tag1: value1, tag2: value2 }. This module identifies a subnet by CIDR and will update the subnet's tags to match. Tags not in this list will be ignored."
required: false required: false
default: null default: null
aliases: [ 'resource_tags' ]
state: state:
description: description:
- Create or remove the subnet - "Create or remove the subnet"
required: false required: false
default: present default: present
choices: [ 'present', 'absent' ] choices: [ 'present', 'absent' ]
vpc_id:
description:
- "VPC ID of the VPC in which to create the subnet."
required: false
default: null
extends_documentation_fragment: aws extends_documentation_fragment: aws
''' '''

Loading…
Cancel
Save