terraform/internal/stacks/stackruntime/testdata/mainbundle/test/auth-provider-w-data/auth-provider-w-data.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

33 lines
465 B
HCL

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "main" {}
provider "testing" "credentialed" {
config {
require_auth = true
authentication = component.load.credentials
}
}
component "load" {
source = "./load"
providers = {
testing = provider.testing.main
}
}
component "create" {
source = "./create"
providers = {
testing = provider.testing.credentialed
}
}