Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terraform-community-modules/tf_aws_vpc_only
A Terraform module to provide only VPC (without subnets) in AWS.
https://github.com/terraform-community-modules/tf_aws_vpc_only
aws terraform-modules vpc
Last synced: about 2 months ago
JSON representation
A Terraform module to provide only VPC (without subnets) in AWS.
- Host: GitHub
- URL: https://github.com/terraform-community-modules/tf_aws_vpc_only
- Owner: terraform-community-modules
- License: apache-2.0
- Created: 2015-12-10T11:48:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T14:56:09.000Z (about 7 years ago)
- Last Synced: 2024-04-30T06:31:32.877Z (5 months ago)
- Topics: aws, terraform-modules, vpc
- Language: HCL
- Homepage:
- Size: 6.84 KB
- Stars: 6
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VPC (only) Terraform Module
=============================A Terraform module to provide only VPC (without subnets) in AWS.
If you want to create public and private subnets using single module you can use [tf_aws_vpc module](https://github.com/terraform-community-modules/tf_aws_vpc).
Module Input Variables
----------------------- `cidr` - VPC CIDR
- `name` - Name (optional)
- `enable_dns_support` - should be true if you want to use private DNS within the VPC (optional)
- `enable_dns_hostnames` - should be true if you want to use private DNS within the VPC (optional)
- `tags` - dictionary of tags that will be added to resources created by the moduleUsage
-----```js
module "vpc" {
source = "github.com/terraform-community-modules/tf_aws_vpc_only"name = "production"
cidr = "10.0.0.0/16"
enable_dns_support = true
enable_dns_hostnames = truetags {
"Terraform" = "true"
"Environment" = "${var.environment}"
}
}
```Outputs
=======- `vpc_id` - VPC id
- `vpc_cidr` - VPC CIDR block
- `vpc_default_security_group` - The ID of the security group created by default on VPC creationAuthors
=======Originally created and maintained by [hashicorp/atlas-examples](https://github.com/hashicorp/atlas-examples/tree/master/infrastructures/terraform/aws/network/vpc).
Hijacked by [Anton Babenko](https://github.com/antonbabenko).License
=======Apache 2 Licensed. See LICENSE for full details.