File: resources.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 (30 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
resource "null_resource" "foo" {
  triggers = {
    foo = "bar"
  }

  provisioner "local-exec" {
    command = "echo hello"
  }
}

resource "null_resource" "bar" {
  triggers = {
    foo_id = "${null_resource.foo.id}"
  }
}

data "null_data_source" "baz" {
  inputs = {
    foo_id = "${null_resource.foo.id}"
    bar_id = "${null_resource.bar.id}"
  }
}

resource "null_resource" "baz" {
  count = 3

  triggers = {
    foo_id = "${null_resource.foo.id}"
  }
}