Skip to content

ellerbrock/tf-aws-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Module - Create VPC

Terraform AWS Module - Create VPC

Open Source Love Gitter Chat MIT Licence

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

GithubDockernpmTwitterFacebookGoogle+Gitter

License

Creative Commons License MIT license

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.

About

😀 terraform aws module - create vpc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages