github.com/terraform-linters/tflint@v0.51.2-0.20240520175844-3750771571b6/integrationtest/inspection/no_calling_module/module.tf (about) 1 variable "instance_type" { 2 default = "t1.2xlarge" 3 } 4 5 resource "aws_instance" "main" { 6 instance_type = var.instance_type 7 } 8 9 module "local" { 10 source = "./ec2-instance" 11 12 instance_type = var.instance_type 13 } 14 15 module "remote" { 16 source = "terraform-aws-modules/ec2-instance/aws" 17 18 instance_type = var.instance_type 19 }