blob: 766cf9987f4d74ce29f3a1b4620203821d5eeb37 [file] [edit]
# This fixture tests that plan detects a version mismatch when the dynamic
# version constraint changes between init and plan.
#
# The pre-populated .terraform/modules/modules.json records version 0.0.1
# but the configuration requires a version determined by the const variable.
variable "module_version" {
type = string
const = true
}
module "child" {
source = "hashicorp/module-installer-acctest/aws"
version = var.module_version
}