{"id":20656372,"url":"https://github.com/flaconi/ansible-role-aws-vpc","last_synced_at":"2025-04-19T12:21:25.903Z","repository":{"id":38306506,"uuid":"134409814","full_name":"Flaconi/ansible-role-aws-vpc","owner":"Flaconi","description":"Ansible role to create an arbitrary number of VPC's on AWS","archived":false,"fork":false,"pushed_at":"2023-02-13T16:55:36.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-03-29T07:51:18.125Z","etag":null,"topics":["ansible","ansible-role","aws","role","vpc"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flaconi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-22T12:10:18.000Z","updated_at":"2024-09-11T10:42:59.000Z","dependencies_parsed_at":"2022-08-25T21:23:02.655Z","dependency_job_id":null,"html_url":"https://github.com/Flaconi/ansible-role-aws-vpc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fansible-role-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fansible-role-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fansible-role-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flaconi%2Fansible-role-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flaconi","download_url":"https://codeload.github.com/Flaconi/ansible-role-aws-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249692912,"owners_count":21311421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","aws","role","vpc"],"created_at":"2024-11-16T18:14:58.283Z","updated_at":"2025-04-19T12:21:25.868Z","avatar_url":"https://github.com/Flaconi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible role: AWS VPC\n\nThis role handles the creation of AWS VPC's\n\n[![Build Status](https://travis-ci.org/Flaconi/ansible-role-aws-vpc.svg?branch=master)](https://travis-ci.org/Flaconi/ansible-role-aws-vpc)\n[![Version](https://img.shields.io/github/tag/Flaconi/ansible-role-aws-vpc.svg)](https://github.com/Flaconi/ansible-role-aws-vpc/tags)\n[![Ansible Galaxy](https://img.shields.io/ansible/role/d/25919.svg)](https://galaxy.ansible.com/Flaconi/aws-vpc/)\n\n## Requirements\n\n* Ansible 2.6\n* [botocore](https://pypi.org/project/botocore/)\n* [boto3](https://pypi.org/project/boto3/)\n\n\n## Additional variables\n\nAdditional variables that can be used (either as `host_vars`/`group_vars` or via command line args):\n\n| Variable                 | Description                  |\n|--------------------------|------------------------------|\n| `aws_vpc_profile`        | Boto profile name to be used |\n| `aws_vpc_default_region` | Default region to use        |\n\n\n## Example definition\n\n#### Required parameter only\n\n```yml\naws_vpc_vpcs:\n  - name: my-vpc-1\n    cidr: 172.28.0.0/16\n  - name: my-vpc-2\n    cidr: 172.29.0.0/16\n```\n\n#### All available parameter\n```yml\naws_vpc_vpcs:\n  - name: my-vpc-1\n    cidr: 172.28.0.0/16\n    # Optional\n    region: eu-central-1\n    tags:\n      - key: env\n        val: development\n      - key: department\n        val: infra\n  - name: my-vpc-2\n    cidr: 172.29.0.0/16\n    # Optional\n    region: eu-central-1\n    tags:\n      - key: env\n        val: production\n      - key: department\n        val: devops\n```\n\n#### Variablized tags\n\n```yml\nmy_key: env\nmy_val: staging\n\naws_vpc_vpcs:\n  - name: my-vpc-1\n    cidr: 172.28.0.0/16\n    # Optional\n    region: eu-central-1\n    tags:\n      - key: \"{{ my_key }}\"\n        val: \"{{ my_val }}\"\n```\n\n\n## Testing\n\n#### Requirements\n\n* Docker\n* [yamllint](https://github.com/adrienverge/yamllint)\n\n#### Run tests\n\n```bash\n# Lint the source files\nmake lint\n\n# Run integration tests with default Ansible version\nmake test\n\n# Run integration tests with custom Ansible version\nmake test ANSIBLE_VERSION=2.6\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaconi%2Fansible-role-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflaconi%2Fansible-role-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflaconi%2Fansible-role-aws-vpc/lists"}