blob: 860ccfa5a3ff21687c7b225cf3cc13873419fbf3 [file]
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
}
}