mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-04 21:00:39 -04:00
15 lines
304 B
HCL
15 lines
304 B
HCL
terraform {
|
|
required_providers {
|
|
foo = {
|
|
source = "hashicorp/foo"
|
|
// since this module declares an alias with no config, it is not valid as
|
|
// a root module.
|
|
configuration_aliases = [ foo.alternate ]
|
|
}
|
|
}
|
|
}
|
|
|
|
resource "foo_instance" "bam" {
|
|
provider = foo.alternate
|
|
}
|