github.com/terraform-linters/tflint@v0.51.2-0.20240520175844-3750771571b6/integrationtest/inspection/chdir/dir/main.tf (about)

     1  variable "from_config" {
     2    default = "default"
     3  }
     4  
     5  variable "from_cli" {
     6    default = "default"
     7  }
     8  
     9  variable "from_auto" {
    10    default = "default"
    11  }
    12  
    13  variable "from_auto_default" {
    14    default = "default"
    15  }
    16  
    17  module "aws_instance" {
    18    source = "./module"
    19  
    20    instance_type = "${var.from_config}-${var.from_cli}-${var.from_auto}-${var.from_auto_default}-${file("dir.txt")}-${file("${path.cwd}/root.txt")}-${file("${path.module}/module.txt")}-${file("${path.root}/module.txt")}"
    21  }