@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
ANSIBLE_METADATA = { ' status ' : [ ' stableinterface ' ] ,
ANSIBLE_METADATA = { ' status ' : [ ' deprecated ' ] ,
' supported_by ' : ' committer ' ,
' supported_by ' : ' committer ' ,
' version ' : ' 1.0 ' }
' version ' : ' 1.0 ' }
@ -25,6 +25,10 @@ short_description: configure AWS virtual private clouds
description :
description :
- Create or terminates AWS virtual private clouds . This module has a dependency on python - boto .
- Create or terminates AWS virtual private clouds . This module has a dependency on python - boto .
version_added : " 1.4 "
version_added : " 1.4 "
deprecated : > -
Deprecated in 2.3 . Use M ( epc_vpc_net ) along with supporting modules including
M ( ec2_vpc_igw ) , M ( ec2_vpc_route_table ) , M ( ec2_vpc_subnet ) , M ( ec2_vpc_dhcp_options ) ,
M ( ec2_vpc_nat_gateway ) , M ( ec2_vpc_nacl ) .
options :
options :
cidr_block :
cidr_block :
description :
description :
@ -400,7 +404,6 @@ def create_vpc(module, vpc_conn):
vpc_conn . modify_vpc_attribute ( vpc . id , enable_dns_support = dns_support )
vpc_conn . modify_vpc_attribute ( vpc . id , enable_dns_support = dns_support )
vpc_conn . modify_vpc_attribute ( vpc . id , enable_dns_hostnames = dns_hostnames )
vpc_conn . modify_vpc_attribute ( vpc . id , enable_dns_hostnames = dns_hostnames )
# Process all subnet properties
# Process all subnet properties
if subnets is not None :
if subnets is not None :
if not isinstance ( subnets , list ) :
if not isinstance ( subnets , list ) :