terraform/internal/command/testdata/dynamic-module-sources/module-with-count/main.tf

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

11 lines
159 B
Terraform
Raw Permalink Normal View History

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