aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-fdio-csit-dash-app-base/main.tf
blob: 7eb5ea59b9e9b91eb9977632a4eda69cd01739b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
locals {
  bucket       = var.application_bucket
  description  = var.application_description
  name         = var.application_name
  name_version = "${var.application_name}-base-1.${var.application_version}"
  source       = var.application_source
}

data "vault_aws_access_credentials" "creds" {
  backend = "${var.vault_name}-path"
  role    = "${var.vault_name}-role"
}

module "elastic_beanstalk_application_version" {
  source                   = "../terraform-aws-elastic-beanstalk-application-version"
  application_bucket       = local.bucket
  application_description  = local.description
  application_name         = local.name
  application_name_version = local.name_version
  application_source       = local.source
}