terraform/internal/command/testdata/dynamic-module-sources/local-source-with-variable-default/main.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
149 B
Terraform
Raw Permalink Normal View History

2026-02-27 10:43:11 -05:00
variable "module_name" {
type = string
const = true
default = "example"
}
module "example" {
source = "./modules/${var.module_name}"
}