grem11n / terraform-aws-vpc-peering

Terraform module to setup VPC peering connection
https://registry.terraform.io/modules/grem11n/vpc-peering/aws/latest
Apache License 2.0
126 stars 91 forks source link

Terraform v0.12.19 - Deprecations #48

Closed jseiser closed 4 years ago

jseiser commented 4 years ago

`Warning: Quoted references are deprecated

on .terraform/modules/vpc-peering/grem11n-terraform-aws-vpc-peering-aff4255/data.tf line 2, in data "aws_caller_identity" "this": 2: provider = "aws.this"

In this context, references are expected literally rather than in quotes. Terraform 0.11 and earlier required quotes, but quoted references are now deprecated and will be removed in a future version of Terraform. Remove the quotes surrounding this reference to silence this warning.

(and 13 more similar warnings elsewhere)

Warning: Quoted type constraints are deprecated

on .terraform/modules/vpc-peering/grem11n-terraform-aws-vpc-peering-aff4255/variables.tf line 18, in variable "tags": 18: type = "map"

Terraform 0.11 and earlier required type constraints to be given in quotes, but that form is now deprecated and will be removed in a future version of Terraform. To silence this warning, remove the quotes around "map" and write map(string) instead to explicitly indicate that the map elements are strings.`

grem11n commented 4 years ago

@jseiser, thank you for reporting this issue. I will take a look into it soon