mirror of https://github.com/hashicorp/terraform
init: detect and report invalid submodules (#35839)
parent
c986269f45
commit
698cb0d59d
@ -0,0 +1 @@
|
||||
.terraform/*
|
||||
@ -0,0 +1,28 @@
|
||||
# This fixture indirectly depends on a github repo at:
|
||||
# https://github.com/hashicorp/terraform-aws-module-installer-acctest
|
||||
# ...and expects its v0.0.1 tag to be pointing at the following commit:
|
||||
# d676ab2559d4e0621d59e3c3c4cbb33958ac4608
|
||||
#
|
||||
# This repository is accessed indirectly via:
|
||||
# https://registry.terraform.io/modules/hashicorp/module-installer-acctest/aws/0.0.1
|
||||
#
|
||||
# Since the tag's id is included in a downloaded archive, it is expected to
|
||||
# have the following id:
|
||||
# 853d03855b3290a3ca491d4c3a7684572dd42237
|
||||
# (this particular assumption is encoded in the tests that use this fixture)
|
||||
|
||||
|
||||
variable "v" {
|
||||
description = "in local caller for registry-modules"
|
||||
default = ""
|
||||
}
|
||||
|
||||
// see ../registry-modules/root.tf for more info, and for valid usages to the
|
||||
// acceptance test module
|
||||
|
||||
// this sub module is not available in the registry, we should see an error
|
||||
// message in the output
|
||||
module "acctest_child_c" {
|
||||
source = "hashicorp/module-installer-acctest/aws//modules/child_c"
|
||||
version = "0.0.1"
|
||||
}
|
||||
Loading…
Reference in new issue