aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf9
1 files changed, 7 insertions, 2 deletions
diff --git a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf
index 1de8c391b1..7ecca06394 100644
--- a/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf
+++ b/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf
@@ -1,3 +1,8 @@
+locals {
+ name = "fdio-csit-dash-app"
+ version = "fdio-csit-dash-app-${var.version}"
+}
+
data "vault_aws_access_credentials" "creds" {
backend = "${var.vault_name}-path"
role = "${var.vault_name}-role"
@@ -6,6 +11,6 @@ data "vault_aws_access_credentials" "creds" {
module "elastic_beanstalk_application_version" {
source = "../terraform-aws-elastic-beanstalk-application-version"
application_description = "FD.io CSIT Results Dashboard"
- application_name = "fdio-csit-dash-app"
- application_version_name = "fdio-csit-dash-app-base"
+ application_name = local.name
+ application_version_name = local.version
}