diff --git a/config/module/test-fixtures/discover-registry-local/exists-in-registry/identifier/provider/main.tf b/config/module/test-fixtures/discover-registry-local/exists-in-registry/identifier/provider/main.tf new file mode 100644 index 000000000..907b0c7e4 --- /dev/null +++ b/config/module/test-fixtures/discover-registry-local/exists-in-registry/identifier/provider/main.tf @@ -0,0 +1,3 @@ +output "local" { + value = "test" +} diff --git a/config/module/test-fixtures/discover-registry-local/main.tf b/config/module/test-fixtures/discover-registry-local/main.tf new file mode 100644 index 000000000..93bd57972 --- /dev/null +++ b/config/module/test-fixtures/discover-registry-local/main.tf @@ -0,0 +1,3 @@ +module "provider" { + source = "exists-in-registry/identifier/provider" +} diff --git a/config/module/test-fixtures/registry-subdir/main.tf b/config/module/test-fixtures/registry-subdir/main.tf new file mode 100644 index 000000000..2f008a73b --- /dev/null +++ b/config/module/test-fixtures/registry-subdir/main.tf @@ -0,0 +1,4 @@ +module "foo" { + // the mock test registry will redirect this to the local tar file + source = "registry/local/sub//baz" +}