Added vpc endpoints module to base_infra module
This commit is contained in:
parent
ba3d8c6458
commit
8449125237
12
main.tf
12
main.tf
@ -52,6 +52,18 @@ module "subnets" {
|
|||||||
tags = local.tags
|
tags = local.tags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
module "vpc_endpoints" {
|
||||||
|
#count = var.enable_s3_endpoint ? 1 : 0
|
||||||
|
#source = "git@github.com:webuildyourcloud/terraform-aws-vpc_endpoints.git?ref=tags/0.18.1"
|
||||||
|
source = "git@github.com:webuildyourcloud/terraform-aws-vpc_endpoints.git"
|
||||||
|
#region = var.region
|
||||||
|
#name = var.name
|
||||||
|
vpc_id = module.vpc.vpc_id
|
||||||
|
private_route_table_id = module.subnets.private_route_table_ids
|
||||||
|
public_route_table_id = module.subnets.public_route_table_ids
|
||||||
|
#tags = local.tags
|
||||||
|
}
|
||||||
|
|
||||||
module "bastion" {
|
module "bastion" {
|
||||||
source = "git@github.com:webuildyourcloud/terraform-aws-bastion.git"
|
source = "git@github.com:webuildyourcloud/terraform-aws-bastion.git"
|
||||||
enable_bastion = true
|
enable_bastion = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user