<commit_before>---
- name: VPC | Networking
  ec2_vpc:
    state: present
    region: "{{ region }}"
    cidr_block: "{{ subnet_prefix }}.0.0/16"
    resource_tags:
      'Project':     "{{ project }}"
      'Environment': "{{ environment_tier }}"
      'Name':        "{{ project }}-{{ environment_tier }}"
    subnets: "{{ subnets }}"
    internet_gateway: True

    route_tables:
      - subnets: "{{ subnets | map(attribute='cidr') | list }}"
        routes:
          - dest: 0.0.0.0/0
            gw: igw
        resource_tags: 
          'Project': "{{ project }}"
          'Role':    'outbound'
          'Name':    "{{ project }}-nat"
  register: vpc

- name: VPC | Peering
  shell: "superluminal peering --from {{ peering_from }} --to {{ peering_too }} --region {{ region }}"
  when: peering_enabled<commit_msg>fix typo<commit_after>---
- name: VPC | Networking
  ec2_vpc:
    state: present
    region: "{{ region }}"
    cidr_block: "{{ subnet_prefix }}.0.0/16"
    resource_tags:
      'Project':     "{{ project }}"
      'Environment': "{{ environment_tier }}"
      'Name':        "{{ project }}-{{ environment_tier }}"
    subnets: "{{ subnets }}"
    internet_gateway: True

    route_tables:
      - subnets: "{{ subnets | map(attribute='cidr') | list }}"
        routes:
          - dest: 0.0.0.0/0
            gw: igw
        resource_tags: 
          'Project': "{{ project }}"
          'Role':    'outbound'
          'Name':    "{{ project }}-nat"
  register: vpc

- name: VPC | Peering
  shell: "superluminal peering --from {{ peering_from }} --to {{ peering_to }} --region {{ region }}"
  when: peering_enabled
{'fraction_non_alphanumeric': 0.17582417582417584, 'fraction_numerical': 0.01221001221001221, 'mean_word_length': 2.164092664092664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6160608', 'n_tokens_mistral': 575, 'n_tokens_neox': 560, 'n_words': 116}