mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 02:20:07 -04:00
15 lines
447 B
HCL
15 lines
447 B
HCL
# 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
|
|
}
|