Skip to content

Commit

Permalink
fix: add required_providers and remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmacedot authored Nov 4, 2024
1 parent ce7495a commit a0d71d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
17 changes: 0 additions & 17 deletions _variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 7 additions & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit a0d71d7

Please sign in to comment.