An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![Terraform AWS Module - Create VPC](https://github.frapsoft.com/top/open-source-v1.png)

# Terraform AWS Module - Create VPC

[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg)](https://github.com/ellerbrock/open-source-badges/) [![Gitter Chat](https://badges.gitter.im/frapsoft/frapsoft.svg)](https://gitter.im/frapsoft/frapsoft/) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](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

[![Github](https://github.frapsoft.com/social/github.png)](https://github.com/ellerbrock/)[![Docker](https://github.frapsoft.com/social/docker.png)](https://hub.docker.com/u/ellerbrock/)[![npm](https://github.frapsoft.com/social/npm.png)](https://www.npmjs.com/~ellerbrock)[![Twitter](https://github.frapsoft.com/social/twitter.png)](https://twitter.com/frapsoft/)[![Facebook](https://github.frapsoft.com/social/facebook.png)](https://www.facebook.com/frapsoft/)[![Google+](https://github.frapsoft.com/social/google-plus.png)](https://plus.google.com/116540931335841862774)[![Gitter](https://github.frapsoft.com/social/gitter.png)](https://gitter.im/frapsoft/frapsoft/)

## License

Creative Commons License [![MIT license](https://badges.frapsoft.com/os/mit/mit-125x28.png?v=103)](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.