{"id":20329825,"url":"https://github.com/f5devcentral/terraform-xc-aws-vpc-site-networking","last_synced_at":"2026-06-20T08:31:23.001Z","repository":{"id":205374199,"uuid":"714065780","full_name":"f5devcentral/terraform-xc-aws-vpc-site-networking","owner":"f5devcentral","description":"Terraform module which creates AWS VPC for F5 Distributed Cloud (XC) AWS VPC Site","archived":false,"fork":false,"pushed_at":"2025-08-22T15:17:10.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-02T10:23:42.382Z","etag":null,"topics":["aws-vpc-site","f5-aws","f5-distributed-cloud","f5-xc","f5-xc-cloud","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/f5devcentral/aws-vpc-site-networking/xc/latest","language":"HCL","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/f5devcentral.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,"governance":null}},"created_at":"2023-11-03T20:56:45.000Z","updated_at":"2025-08-22T15:16:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb184049-39b9-44c1-8b7f-88c20b20b9a5","html_url":"https://github.com/f5devcentral/terraform-xc-aws-vpc-site-networking","commit_stats":null,"previous_names":["f5devcentral/terraform-xc-aws-vpc-site-networking"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/f5devcentral/terraform-xc-aws-vpc-site-networking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Fterraform-xc-aws-vpc-site-networking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Fterraform-xc-aws-vpc-site-networking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Fterraform-xc-aws-vpc-site-networking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Fterraform-xc-aws-vpc-site-networking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f5devcentral","download_url":"https://codeload.github.com/f5devcentral/terraform-xc-aws-vpc-site-networking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f5devcentral%2Fterraform-xc-aws-vpc-site-networking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34563535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws-vpc-site","f5-aws","f5-distributed-cloud","f5-xc","f5-xc-cloud","terraform"],"created_at":"2024-11-14T20:13:40.205Z","updated_at":"2026-06-20T08:31:22.996Z","avatar_url":"https://github.com/f5devcentral.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Networking module for F5 Distributed Cloud (XC) AWS VPC Site\r\n\r\nThis Terraform module provisions a VPC network in AWS that is required for XC Cloud AWS VPC Site. It creates a VPC, subnets, route tables, and security groups with whitelisted IP ranges.\r\n\r\n\u003e **Note**: This module is developed and maintained by the [F5 DevCentral](https://github.com/f5devcentral) community. You can use this module as an example for your own development projects.\r\n\r\n## Features\r\n\r\n- **Secure by default**: All subnets are private by default with configurable public IP assignment\r\n- **Hardened security groups**: Default security group blocks all traffic; XC-specific security groups with controlled access\r\n- **Flexible subnet tiers**: Support for outside, inside, local, and workload subnets\r\n- **Route table management**: Conditional route table creation and associations\r\n- **VS Code integration**: Pre-configured linting and validation tasks\r\n- **CI/CD ready**: GitHub Actions workflow for automated testing\r\n\r\n## Requirements\r\n\r\n| Name                                                                                                             | Version  |\r\n| ---------------------------------------------------------------------------------------------------------------- | -------- |\r\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](https://github.com/hashicorp/terraform)                         | \u003e= 1.3   |\r\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](https://registry.terraform.io/providers/hashicorp/aws/latest/docs)          | \u003e= 6.9.0 |\r\n| \u003ca name=\"requirement_random\"\u003e\u003c/a\u003e [random](https://registry.terraform.io/providers/hashicorp/random/latest/docs) | \u003e= 3.0   |\r\n\r\n## Usage\r\n\r\nTo use this module and create a VPC configured for XC Cloud AWS VPC Site on AWS Cloud, include the following code in your Terraform configuration:\r\n\r\n```hcl\r\nmodule \"aws_vpc\" {\r\n  source  = \"f5devcentral/aws-vpc-site-networking/xc\"\r\n  version = \"0.0.6\"\r\n\r\n  name             = \"aws-tf-demo-creds\"\r\n  environment      = \"dev\"\r\n  az_names         = [\"us-west-2a\", \"us-west-2b\", \"us-west-2c\"]\r\n  vpc_cidr         = \"192.168.0.0/16\"\r\n  outside_subnets  = [\"192.168.11.0/24\", \"192.168.12.0/24\", \"192.168.13.0/24\"]\r\n  inside_subnets   = [\"192.168.21.0/24\", \"192.168.22.0/24\", \"192.168.23.0/24\"]\r\n  workload_subnets = [\"192.168.31.0/24\", \"192.168.32.0/24\", \"192.168.33.0/24\"]\r\n  \r\n  # Optional: Enable public IP assignment (default: false)\r\n  map_public_ip_outside  = true\r\n  map_public_ip_inside   = false\r\n  map_public_ip_workload = false\r\n  map_public_ip_local    = false\r\n  \r\n  # Optional: Control resource creation\r\n  create_internet_gateway         = true\r\n  create_outside_route_table      = true\r\n  create_outside_security_group   = true\r\n  create_inside_security_group    = true\r\n  create_udp_security_group_rules = true\r\n\r\n  tags = {\r\n    Project = \"XC-Demo\"\r\n    Owner   = \"DevOps\"\r\n  }\r\n}\r\n```\r\n\r\n## Security\r\n\r\nThis module implements security best practices:\r\n\r\n- **Private by default**: All subnets disable auto-assign public IP by default\r\n- **Locked down default SG**: Default security group has no ingress or egress rules\r\n- **XC IP whitelisting**: Security groups use managed prefix lists with F5 XC IP ranges\r\n- **Lifecycle protection**: Security groups use `revoke_rules_on_delete = false`\r\n\r\n## Development\r\n\r\n### Prerequisites\r\n\r\n- [Terraform](https://www.terraform.io/downloads) \u003e= 1.3\r\n- [TFLint](https://github.com/terraform-linters/tflint) (for linting)\r\n- [VS Code](https://code.visualstudio.com/) with HashiCorp Terraform extension (recommended)\r\n\r\n### VS Code Setup\r\n\r\nThis repository includes VS Code configuration for enhanced development experience:\r\n\r\n1. Install recommended extensions when prompted\r\n2. Use `Ctrl+Shift+P` → \"Tasks: Run Task\" → \"Terraform: Full Lint Check\"\r\n3. Auto-formatting and validation on save are enabled\r\n\r\n### Linting\r\n\r\nRun linting checks:\r\n\r\n```bash\r\n# Initialize TFLint\r\ntflint --init\r\n\r\n# Run linting\r\ntflint --format compact\r\n\r\n# Format code\r\nterraform fmt -recursive\r\n\r\n# Validate syntax\r\nterraform validate\r\n```\r\n\r\n### CI/CD\r\n\r\nThe repository includes GitHub Actions workflows for:\r\n- Terraform formatting checks\r\n- TFLint validation\r\n- Terraform syntax validation\r\n\r\n## Contributing\r\n\r\nContributions to this module are welcome! Please see the contribution guidelines for more information.\r\n\r\n## License\r\n\r\nThis module is licensed under the Apache 2.0 License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff5devcentral%2Fterraform-xc-aws-vpc-site-networking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff5devcentral%2Fterraform-xc-aws-vpc-site-networking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff5devcentral%2Fterraform-xc-aws-vpc-site-networking/lists"}