feat(terraform): Refactor application version deploy
[csit.git] / fdio.infra.terraform / terraform-aws-elastic-beanstalk-application-version / variables.tf
index 6ac2ae7..8d7dd45 100644 (file)
@@ -1,3 +1,9 @@
+variable "application_bucket" {
+  description = "The name of the bucket."
+  type        = string
+  default     = "elasticbeanstalk-eu-central-1"
+}
+
 variable "application_description" {
   description = "Short description of the Application Version."
   type        = string
@@ -5,13 +11,19 @@ variable "application_description" {
 }
 
 variable "application_name" {
-  description = "Name of the Beanstalk Application the version is associated."
+  description = "Name of the Beanstalk Application."
+  type        = string
+  default     = "beanstalk"
+}
+
+variable "application_name_version" {
+  description = "Version of the Beanstalk Application."
   type        = string
-  default     = "Beanstalk"
+  default     = "beanstalk-1"
 }
 
-variable "application_version_name" {
-  description = "Unique name for the this Application Version."
+variable "application_source" {
+  description = "The source file with application code."
   type        = string
-  default     = "Beanstalk Version"
+  default     = "app.zip"
 }