Join in Below Terraform Group and Signal Group for Documents and Videos. Telegram Group: t.me/joinchat/UUh9c42TnVU1Vquc Signal Group: signal.group/#CjQKIOZjTZ5KY52b4V2R4pbQ-vJAM9B6AGxSLaefuWn_Ly3XEhAi7DPiCt1HGKhHN6SWpf5y
I am getting this error after following all of your steps any help will be appreciated main.tf-------- Error: Reference to an undeclared resource on main.tf line 11, in resource "aws_instance" "AWSEC2Instance": 11: instance_type = "${vars.instance_type}" A managed resource "vars" "instance_type" has not been declared in the root module. vars.tf---------- variable "instance_type" { description = "Instance Type : t2.micro" default = "t2.micro" }
Join in Below Terraform Group and Signal Group for Documents and Videos. Telegram Group: t.me/joinchat/UUh9c42TnVU1Vquc Signal Group: signal.group/#CjQKIOZjTZ5KY52b4V2R4pbQ-vJAM9B6AGxSLaefuWn_Ly3XEhAi7DPiCt1HGKhHN6SWpf5y