Files
hp-iac/terraform/versions.tf
T

24 lines
733 B
Terraform

# Points at the locally-built provider binary, not a real registry --
# this only resolves because of the dev_overrides block in ~/.tofurc:
#
# provider_installation {
# dev_overrides {
# "local/joachimfriberg/hpe1810" = "/home/joachimfriberg/code/experiments/hpe/terraform-provider-hpe1810"
# }
# direct {}
# }
#
# With dev_overrides in effect, "tofu init" is not needed (and would fail,
# since this source doesn't exist in any real registry) -- go straight to
# "tofu plan". Before that, build the provider binary:
#
# cd ../terraform-provider-hpe1810 && go build -o terraform-provider-hpe1810 .
terraform {
required_providers {
hpe1810 = {
source = "local/joachimfriberg/hpe1810"
}
}
}