https://github.com/ellerbrock/tf-aws-vpc
:grinning: terraform aws module - create vpc
https://github.com/ellerbrock/tf-aws-vpc
aws devops iac terraform vpc
Last synced: about 1 month ago
JSON representation
:grinning: terraform aws module - create vpc
- Host: GitHub
- URL: https://github.com/ellerbrock/tf-aws-vpc
- Owner: ellerbrock
- License: mit
- Created: 2017-09-07T20:32:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T23:46:28.000Z (almost 9 years ago)
- Last Synced: 2025-01-26T06:41:18.135Z (over 1 year ago)
- Topics: aws, devops, iac, terraform, vpc
- Language: HCL
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

# Terraform AWS Module - Create VPC
[](https://github.com/ellerbrock/open-source-badges/) [](https://gitter.im/frapsoft/frapsoft/) [](https://opensource.org/licenses/mit-license.php)
## Example Usage
#### Create VPC
```
# create vpc
module "aws_vpc" {
source = "github.com/ellerbrock/tf-aws-vpc"
cidr = "10.0.0.0/16"
tags = {
Name = "${module.aws_iam_alias.account_id}"
terraform = "true"
}
}
```
#### Create a VPC and Tag it with the AWS Account Name
```
# output iam alias
module "aws_iam_alias" {
source = "github.com/ellerbrock/tf-aws-iam-alias"
}
# create vpc
module "aws_vpc" {
source = "github.com/ellerbrock/tf-aws-vpc"
cidr = "10.0.0.0/16"
tags = {
Name = "${module.aws_iam_alias.account_id}"
terraform = "true"
}
}
```
## Contact
[](https://github.com/ellerbrock/)[](https://hub.docker.com/u/ellerbrock/)[](https://www.npmjs.com/~ellerbrock)[](https://twitter.com/frapsoft/)[](https://www.facebook.com/frapsoft/)[](https://plus.google.com/116540931335841862774)[](https://gitter.im/frapsoft/frapsoft/)
## License
[](https://opensource.org/licenses/mit-license.php)
This work by Maik Ellerbrock is licensed under a Creative Commons Attribution 4.0 International License and the underlying source code is licensed under the MIT license.