Let us fix that now. Complete the resource block for jade-mw
. Inspect the state to make sure all the arguments used to create this resource are defined in the resource block.
If unsure, run terraform apply
after filling in the arguments and correct them until a plan shows no changes to apply.
resource “aws_instance” “jade-mw” {
ami = “ami-082b3eca746b12a89”
instance_type = “t2.nano”
}
error : The instance type of the ec2 instance called jade-mw has been tampered with! Fix it!
there is no instance jade-mw in .tfstate file
please provide ans with video