File: main.tf

package info (click to toggle)
golang-github-hashicorp-terraform-json 0.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,572 kB
  • sloc: makefile: 31
file content (22 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
variable "one" {
  type = "string"
}

resource "null_resource" "foo" {
  triggers = {
    foo = null
  }
}

resource "null_resource" "bar" {
  triggers = {
    foo = var.one
  }
}

resource "null_resource" "baz" {
  triggers = {
    foo = var.one
    bar = null
  }
}