2026-09-29 22:32:39 +00:00
|
|
|
locals {
|
|
|
|
|
project = "file-share"
|
|
|
|
|
environment = "prod"
|
|
|
|
|
|
|
|
|
|
hcp_project = "seahaven-prod"
|
|
|
|
|
hcp_workspace = "file-share-prod"
|
|
|
|
|
apply_role = "hcptf-file-share"
|
|
|
|
|
plan_role = "hcptf-file-share-plan"
|
|
|
|
|
stack_name = local.project
|
|
|
|
|
stack_prefix = "file-share-"
|
|
|
|
|
|
|
|
|
|
instance_role_name = "file-share-role"
|
|
|
|
|
instance_profile_name = "file-share-profile"
|
|
|
|
|
boundary_name = "file-share-instance-boundary"
|
2026-10-01 13:45:29 -04:00
|
|
|
dlm_role_name = "file-share-dlm"
|
|
|
|
|
dlm_boundary_name = "file-share-dlm-boundary"
|
2026-09-29 22:32:39 +00:00
|
|
|
|
|
|
|
|
office_lan_cidrs = ["10.10.0.0/16", "10.30.0.0/16"]
|
|
|
|
|
subnet_cidr = "10.40.20.0/24"
|
|
|
|
|
subnet_az = "us-east-1a"
|
|
|
|
|
|
|
|
|
|
create_instance = var.data_volume_id != ""
|
|
|
|
|
|
|
|
|
|
user_data = templatefile("${path.module}/user_data.sh.tftpl", {
|
|
|
|
|
aws_region = var.aws_region
|
|
|
|
|
filebrowser_version = var.filebrowser_version
|
|
|
|
|
})
|
|
|
|
|
}
|