Skip to content

Commit

Permalink
Remove quoted types in variables for tf > 0.11 support (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Hieu Doan <hiieu@users.noreply.github.com>
  • Loading branch information
Hiieu and Hiieu authored Jul 29, 2021
1 parent fcf4336 commit d4a7bb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions examples/mask/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ variable "tf_sensitive_key_3" {}
variable "tf_sensitive_key_4" {}
variable "tf_sensitive_key_6" {}

variable "tf_sensitive_list_vals" { type = "list" }
variable "tf_sensitive_flatmap_vals" { type = "map" }
variable "tf_sensitive_list_vals" { type = list(string) }
variable "tf_sensitive_flatmap_vals" { type = map(string) }

# ----------------------------------------------------------------
# Non sensitive variable defaults
# ----------------------------------------------------------------
variable "tf_normal_key_1" { default = "normal value 1" }
variable "tf_normal_key_2" { default = "normal value 2" }

5 changes: 3 additions & 2 deletions examples/tfstate-encrypt/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ variable "tf_sensitive_key_3" {}
variable "tf_sensitive_key_4" {}
variable "tf_sensitive_key_6" {}

variable "tf_sensitive_list_vals" { type = "list" }
variable "tf_sensitive_flatmap_vals" { type = "map" }
variable "tf_sensitive_list_vals" { type = list(string) }
variable "tf_sensitive_flatmap_vals" { type = map(string) }

# ----------------------------------------------------------------
# Non sensitive variable defaults
# ----------------------------------------------------------------
variable "tf_normal_key_1" { default = "normal value 1" }
variable "tf_normal_key_2" { default = "normal value 2" }

0 comments on commit d4a7bb0

Please sign in to comment.