Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Update quoted type constraints to compliance with Terraform 0.15.3 #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws/aws_reverse_proxy/certificate.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generate a certificate for the domain automatically using ACM
# https://www.terraform.io/docs/providers/aws/r/acm_certificate.html
resource "aws_acm_certificate" "this" {
provider = "aws.us_east_1" # because ACM is only available in the "us-east-1" region
provider = aws.us_east_1 # because ACM is only available in the "us-east-1" region
domain_name = "${var.site_domain}"
validation_method = "DNS" # the required records are created below
tags = "${merge(var.tags, map("Name", "${var.comment_prefix}${var.site_domain}"))}"
Expand Down
4 changes: 2 additions & 2 deletions aws/aws_reverse_proxy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ variable "default_root_object" {

variable "add_response_headers" {
description = "Map of HTTP headers (if any) to add to outgoing responses before sending them to clients"
type = "map"
type = map(string)

default = {
"Strict-Transport-Security" = "max-age=31557600; preload" # i.e. 1 year (in seconds)
Expand Down Expand Up @@ -105,7 +105,7 @@ variable "lambda_logging_enabled" {

variable "tags" {
description = "AWS Tags to add to all resources created (where possible); see https://aws.amazon.com/answers/account-management/aws-tagging-strategies/"
type = "map"
type = map(string)
default = {}
}

Expand Down
4 changes: 2 additions & 2 deletions aws/aws_static_site/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ variable "default_root_object" {

variable "add_response_headers" {
description = "Map of HTTP headers (if any) to add to outgoing responses before sending them to clients"
type = "map"
type = map(string)

default = {
"Strict-Transport-Security" = "max-age=31557600; preload" # i.e. 1 year (in seconds)
Expand Down Expand Up @@ -73,7 +73,7 @@ variable "lambda_logging_enabled" {

variable "tags" {
description = "AWS Tags to add to all resources created (where possible); see https://aws.amazon.com/answers/account-management/aws-tagging-strategies/"
type = "map"
type = map(string)
default = {}
}

Expand Down