opentofu: fix tests.opentofu_plugins_test by explicitly setting provider source

This commit is contained in:
Nick Cao 2023-10-06 23:03:09 -04:00
parent 5fe9d41262
commit b6fd0852ef
No known key found for this signature in database

View File

@ -65,6 +65,14 @@ let
opentofu_plugins_test = let
mainTf = writeText "main.tf" ''
terraform {
required_providers {
random = {
source = "registry.terraform.io/hashicorp/random"
}
}
}
resource "random_id" "test" {}
'';
opentofu = package.withPlugins (p: [ p.random ]);