Skip to content

Commit

Permalink
fix wrong var types
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamil Ganiev authored and Shamil Ganiev committed Nov 26, 2019
1 parent e4bcc40 commit 8d6b425
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ variable "tags" {
}

variable "enabled" {
default = "true"
type = string
default = true
type = bool
description = "Select Enabled if you want CloudFront to begin processing requests as soon as the distribution is created, or select Disabled if you do not want CloudFront to begin processing requests after the distribution is created."
}

Expand All @@ -61,9 +61,9 @@ variable "acm_certificate_arn" {
}

variable "use_regional_s3_endpoint" {
type = string
type = bool
description = "When set to 'true' the s3 origin_bucket will use the regional endpoint address instead of the global endpoint address"
default = "false"
default = false
}

variable "origin_bucket" {
Expand Down Expand Up @@ -138,7 +138,11 @@ variable "parent_zone_id" {
}

variable "lambda_function_association" {
type = list(string)
type = list(object({
event_type = string
include_body = bool
lambda_arn = string
}))
default = []
description = "A config block that triggers a lambda function with specific actions"
}
Expand Down

0 comments on commit 8d6b425

Please sign in to comment.