diff --git a/roles/aws_graviton_nano_spot/tasks/main.yml b/roles/aws_graviton_nano_spot/tasks/main.yml index 3719707..a7ea098 100644 --- a/roles/aws_graviton_nano_spot/tasks/main.yml +++ b/roles/aws_graviton_nano_spot/tasks/main.yml @@ -2,12 +2,13 @@ amazon.aws.ec2_key: name: vpn_key key_material: "{{ lookup('file', '{{ ssh_pub_key_file }}') }}" + region: "{{ aws_region }}" - name: network security policy that allows all traffic incoming and outgoing amazon.aws.ec2_group: + region: "{{ aws_region }}" name: "vpn allow all" description: allow all traffic/protocol/ports - region: "{{ aws_region }}" rules: - proto: all cidr_ip: 0.0.0.0/0