X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e2dfad1cee9bfad7c148429925ca6cea651cd419..648c8c4928da80b9fb3f6a7fd41904ff017bcd44:/tools/salt-install/terraform/aws/services/locals.tf diff --git a/tools/salt-install/terraform/aws/services/locals.tf b/tools/salt-install/terraform/aws/services/locals.tf index 523954ce3a..191b7e03e0 100644 --- a/tools/salt-install/terraform/aws/services/locals.tf +++ b/tools/salt-install/terraform/aws/services/locals.tf @@ -6,11 +6,16 @@ locals { region_name = data.terraform_remote_state.vpc.outputs.region_name cluster_name = data.terraform_remote_state.vpc.outputs.cluster_name use_external_db = data.terraform_remote_state.data-storage.outputs.use_external_db + private_only = data.terraform_remote_state.vpc.outputs.private_only public_ip = data.terraform_remote_state.vpc.outputs.public_ip private_ip = data.terraform_remote_state.vpc.outputs.private_ip pubkey_path = pathexpand(var.pubkey_path) - pubkey_name = "arvados-deployer-key" public_hosts = data.terraform_remote_state.vpc.outputs.public_hosts private_hosts = data.terraform_remote_state.vpc.outputs.private_hosts + user_facing_hosts = data.terraform_remote_state.vpc.outputs.user_facing_hosts + internal_service_hosts = data.terraform_remote_state.vpc.outputs.internal_service_hosts ssl_password_secret_name = "${local.cluster_name}-${var.ssl_password_secret_name_suffix}" + instance_ami_id = var.instance_ami != "" ? var.instance_ami : data.aws_ami.debian-11.image_id + custom_tags = data.terraform_remote_state.vpc.outputs.custom_tags + compute_node_iam_role_name = data.terraform_remote_state.data-storage.outputs.compute_node_iam_role_name }