mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
13 lines
211 B
HCL
13 lines
211 B
HCL
variable "foo" {
|
|
type = string
|
|
}
|
|
|
|
// "bar" is defined as sensitive by both the parent and the child
|
|
variable "bar" {
|
|
sensitive = true
|
|
}
|
|
|
|
resource "aws_instance" "foo" {
|
|
foo = var.foo
|
|
value = var.bar
|
|
}
|