mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
33 lines
465 B
HCL
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
|
|
}
|
|
}
|
|
|