You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/stacks/stackconfig/testdata/basics-bundle/errored-sources/main.tfcomponent.hcl

53 lines
823 B

required_providers {
null = {
source = "hashicorp/null"
version = "3.2.1"
}
}
provider "null" "a" {}
removed {
from = stack.a.component.a // bad, stack.a is undefined so this is orphaned
source = "./"
providers = {
null = provider.null.a
}
}
removed {
from = stack.a.stack.b // bad, stack.a is undefined so this is orphaned
source = "./subdir"
}
removed {
from = stack.b["a"]
source = "./subdir"
}
removed {
from = stack.b["b"]
source = "./" // bad, the sources should be the same for stack.b
}
removed {
from = stack.a.component.b["a"]
source = "./"
providers = {
null = provider.null.a
}
}
removed {
from = stack.a.component.b["b"] // bad, the sources should be the same for component.b
source = "./subdir"
providers = {
null = provider.null.a
}
}