-Adictionaryarrayofresourcetagsoftheform:{tag1:value1,tag2:value2}.ThismoduleidentifiesasubnetbyCIDRandwillupdatethesubnet's tags to match. Tags not in this list will be ignored.
-"The availability zone for the subnet. 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
az:
default:null
tags:
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
default:null
aliases:['resource_tags']
state:
description:
-Createorremovethesubnet
required:true
-"Create or remove the subnet"
required:false
default:present
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
'''
@ -248,4 +252,4 @@ from ansible.module_utils.ec2 import * # noqa