# 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"
}
}
# 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"
}
}
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.