mirror of https://github.com/pulumi/pulumi.git
38 lines
618 B
Puppet
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
|
|
}
|