# output iam alias
module "aws_iam_alias" {
source = "github.com/ellerbrock/tf-aws-iam-alias"
}
# create customer gateway
module "aws_customer_gateway" {
source = "github.com/ellerbrock/tf-aws-customer-gateway"
bgp_asn = "65000"
ip = "1.2.3.4"
type = "ipsec.1"
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.