diff --git a/_variables.tf b/_variables.tf index c170da7..d7ea4eb 100644 --- a/_variables.tf +++ b/_variables.tf @@ -3,11 +3,6 @@ variable "name" { type = string } -variable "cluster_name" { - description = "Name of existing ECS Cluster to deploy this app to" - type = string -} - variable "hostnames" { description = "Hostnames to create DNS record for this app that the cloudfront distribution will accept" type = list(string) @@ -49,12 +44,6 @@ variable "certificate_arn" { type = string } -variable "cloudfront_web_acl_id" { - default = "" - description = "Optional web acl (WAF) to attach to CloudFront" - type = string -} - variable "cloudfront_forward_headers" { default = ["*"] description = "Headers to forward to origin from CloudFront" @@ -171,12 +160,6 @@ variable "wafv2_rate_limit_rule" { description = "The limit on requests per 5-minute period for a single originating IP address (leave 0 to disable)" } -variable "web_acl_id" { - type = string - description = "Web ACL ARN for Cloudfront distribution" - default = null -} - variable "record_type" { type = string description = "Type of the record to create on Route53" diff --git a/versions.tf b/versions.tf index 12ad22a..8a8376d 100644 --- a/versions.tf +++ b/versions.tf @@ -1,3 +1,9 @@ terraform { - required_version = ">= 1.3.0" + required_version = ">= 1.3.0" + required_providers = { + aws = { + source = "hashicorp/aws" + version = ">= 3.0.0" + } + } }