initial commit of replacement infrastructure automation
[awsible] / infrastructure / management-stack / main.tf
1 provider "aws" {
2 region = "${var.region}"
3 }
4
5 module "management-stack" {
6 source = "../modules/management-stack"
7 vpc_id = "${data.terraform_remote_state.vpc.vpc_id}"
8 acct_name = "${var.acct_name}"
9 key_name = "${var.key_name}"
10 phase = "${var.environment}"
11 management_subnet_ids = ["${data.terraform_remote_state.vpc.private_subnets}"]
12 security_group_ids = ["${data.terraform_remote_state.vpc.general_access_sg_id}"]
13 policy_arns = ["${data.terraform_remote_state.vpc.base_policy_arn}"]
14 management_service_name = "${var.project}-management"
15 }