Skip to content

Commit d051683

Browse files
committed
Merge branch 'hotfix/missing_tags'
2 parents 5361f45 + 8867463 commit d051683

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/infrastructure/tasks/setup_aws_network.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
# Using CLI due to hardcoded module behavior - see https://github.com/boto/boto3/issues/2929
3030
- name: Update AWS VPC
31+
when: __aws_vpc_tags is defined and __aws_vpc_tags | length > 0
3132
ansible.builtin.command: "aws ec2 create-tags --region {{ infra__region }} --resources {{ infra__aws_vpc_id }} --tags {{ __aws_vpc_tags | join(' ') }}"
3233

3334
- name: Set up AWS VPC

0 commit comments

Comments
 (0)