initial commit of replacement infrastructure automation
[awsible] / infrastructure / vpcaccess-stack / main.tf
1 provider "aws" {
2 region = "${var.region}"
3 }
4
5 module "vpcaccess-stack" {
6 source = "../modules/vpcaccess-stack"
7 vpc_id = "${data.terraform_remote_state.vpc.vpc_id}"
8 subnet_ids = "${data.terraform_remote_state.vpc.public_subnets}"
9 security_group_ids = ["${data.terraform_remote_state.vpc.general_access_sg_id}"]
10 role_policy_arns = ["${data.terraform_remote_state.vpc.role_policy_arn}"]
11 key_name = "${var.key_name}"
12 environment = "${var.environment}"
13 acct_name = "${var.acct_name}"
14 notification_arns = ["${data.terraform_remote_state.management.events_topic_arn}"]
15 }