pulumi/cmd/pulumi-test-language/tests/testdata/l2-resource-parent-inheritance/main.pp

38 lines
618 B
Puppet

resource "provider" "pulumi:providers:simple" {}
resource "parent1" "simple:index:Resource" {
value = true
options {
provider = provider
}
}
resource "child1" "simple:index:Resource" {
value = true
options {
parent = parent1
}
}
resource "orphan1" "simple:index:Resource" {
value = true
}
resource "parent2" "simple:index:Resource" {
value = true
options {
protect = true
}
}
resource "child2" "simple:index:Resource" {
value = true
options {
parent = parent2
}
}
resource "orphan2" "simple:index:Resource" {
value = true
}