mirror of https://github.com/hashicorp/terraform
Updates terraform console to show "(sensitive)" when a value is marked as sensitive.pull/26485/head
parent
ee564a5ceb
commit
c57ca152e6
@ -0,0 +1,20 @@
|
||||
terraform {
|
||||
experiments = [sensitive_variables]
|
||||
}
|
||||
|
||||
variable "foo" {
|
||||
default = "bar"
|
||||
}
|
||||
|
||||
variable "snack" {
|
||||
default = "popcorn"
|
||||
}
|
||||
|
||||
variable "secret_snack" {
|
||||
default = "seaweed snacks"
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
locals {
|
||||
snack_bar = [var.snack, var.secret_snack]
|
||||
}
|
||||
Loading…
Reference in new issue