Commit e0b526ef by Feanil Patel

Use profile for vpc creation.

parent 94ca263e
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
# to the vpc whose subnets and rts are not enumerated here. # to the vpc whose subnets and rts are not enumerated here.
- name: create a vpc - name: create a vpc
local_action: local_action:
profile: "{{ vpc_aws_profile }}"
module: "ec2_vpc_local" module: "ec2_vpc_local"
resource_tags: "{{ vpc_tags }}" resource_tags: "{{ vpc_tags }}"
cidr_block: "{{ vpc_cidr }}" cidr_block: "{{ vpc_cidr }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment