when i try to spinup the machine with terraform config locally scripts are working fine as expected but when trying from intance provisiong it says Instance is not valid.
Logback Settings for terraform set to debug.
Can you please suggest on how this can be investigated .where can i find logs or validations for the error to identify the cause of it.
Variables are defined as below.
variable “region” {
description = “AWS Region”
type = string
default = “<%= customOptions.region%>”
}
variable “instance_type” {
description = “Instance Type”
type = string
default = “<%= customOptions.instance_type%>”
}