feat(terraform): Refactor application version deploy
[csit.git] / fdio.infra.terraform / terraform-aws-fdio-csit-dash-app-base / variables.tf
index 2579029..cfd3f06 100644 (file)
@@ -1,13 +1,13 @@
 variable "region" {
   description = "AWS Region."
   type        = string
-  default     = "us-east-1"
+  default     = "eu-central-1"
 }
 
 variable "vault_provider_address" {
   description = "Vault cluster address."
   type        = string
-  default     = "http://10.30.51.28:8200"
+  default     = "http://vault.service.consul:8200"
 }
 
 variable "vault_provider_skip_tls_verify" {
@@ -19,10 +19,40 @@ variable "vault_provider_skip_tls_verify" {
 variable "vault_provider_token" {
   description = "Vault root token."
   type        = string
-  sensitive   = true
+  default     = "s.4z5PsufFwV3sHbCzK9Y2Cojd"
 }
 
 variable "vault_name" {
   type    = string
   default = "dynamic-aws-creds-vault-fdio-csit-jenkins"
 }
+
+variable "application_bucket" {
+  description = "The name of the bucket."
+  type        = string
+  default     = "elasticbeanstalk-eu-central-1-407116685360"
+}
+
+variable "application_description" {
+  description = "Short description of the Application Version."
+  type        = string
+  default     = "FD.io CDASH"
+}
+
+variable "application_name" {
+  description = "Name of the Beanstalk Application."
+  type        = string
+  default     = "fdio-csit-dash-app"
+}
+
+variable "application_source" {
+  description = "The source file with application code."
+  type        = string
+  default     = "../../csit.infra.dash/app.zip"
+}
+
+variable "application_version" {
+  description = "Application version string."
+  type        = number
+  default     = 41
+}