modules/terraform-aws-amplify-static-website-deployment-from-s3/variables.tf [12:26]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}

variable "aws_s3_bucket_store" {
  type = object({
    bucket_name   = string
    bucket_path   = string
    zip_file_name = string
    region        = string
  })
  validation {
    condition     = endswith(var.aws_s3_bucket_store.zip_file_name, ".zip")
    error_message = "The provided file name does not have a ZIP extension. It does not end in .zip"
  }
  description = "The AWS S3 details where the ZIP bundle that needs to be deployed is stored"
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



variables.tf [23:37]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
}

variable "aws_s3_bucket_store" {
  type = object({
    bucket_name   = string
    bucket_path   = string
    zip_file_name = string
    region        = string
  })
  validation {
    condition     = endswith(var.aws_s3_bucket_store.zip_file_name, ".zip")
    error_message = "The provided file name does not have a ZIP extension. It does not end in .zip"
  }
  description = "The AWS S3 details where the ZIP bundle that needs to be deployed is stored"
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



