Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 26, 2022
1 parent 3051263 commit 6fe4430
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions examples/full-setup/vpc-endpoints.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ locals {
vpc_endpoints = [
"autoscaling",
"ec2",
"ec2messages",
"ecr.api",
"ecr.dkr",
"ecs",
Expand All @@ -25,6 +26,7 @@ locals {
"logs",
"secretsmanager",
"ssm",
"ssmmessages",
"sts",
]
}
Expand Down Expand Up @@ -72,6 +74,23 @@ module "vpce_ec2" {
)
}

module "vpce_ec2messages" {
source = "git@github.e.it.census.gov:terraform-modules/aws-vpc-setup.git//vpc-interface-endpoint"

service = "ec2messages"
subnet_ids = tolist(data.aws_subnet_ids.endpoint_subnets.ids)
security_group_ids = local.security_group_ids

vpc_id = local.vpc_id
vpc_full_name = var.vpc_full_name
vpc_environment = var.vpc_environment

tags = merge(
local.common_tags,
local.tags,
)
}

module "vpce_ecr_api" {
source = "git@github.e.it.census.gov:terraform-modules/aws-vpc-setup.git//vpc-interface-endpoint"

Expand Down Expand Up @@ -225,6 +244,23 @@ module "vpce_ssm" {
)
}

module "vpce_ssmmessages" {
source = "git@github.e.it.census.gov:terraform-modules/aws-vpc-setup.git//vpc-interface-endpoint"

service = "ssmmessages"
subnet_ids = tolist(data.aws_subnet_ids.endpoint_subnets.ids)
security_group_ids = local.security_group_ids

vpc_id = local.vpc_id
vpc_full_name = var.vpc_full_name
vpc_environment = var.vpc_environment

tags = merge(
local.common_tags,
local.tags,
)
}

module "vpce_sts" {
source = "git@github.e.it.census.gov:terraform-modules/aws-vpc-setup.git//vpc-interface-endpoint"

Expand Down

0 comments on commit 6fe4430

Please sign in to comment.