terraform/internal/stacks/stackruntime/testdata/mainbundle/test/with-write-only-attribute/with-write-only-attribute.tfcomponent.hcl
Liam Cervante a80220dcc9
stacks: rename .tfstack files to .tfcomponent (#37013)
* stacks: rename .tfstack files to .tfcomponent

* fix consistency issues
2025-05-15 08:33:13 +02:00

28 lines
419 B
HCL

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
variable "providers" {
type = set(string)
}
provider "testing" "main" {
for_each = var.providers
}
component "main" {
source = "./"
providers = {
testing = provider.testing.main["single"]
}
inputs = {
datasource_id = "datasource"
resource_id = "resource"
write_only_input = "secret"
}
}