KKloud Engineer Level 2 Lab 5 - Associate Elastic IP with EC2 instance Using Terraform

HI,

I’m trying to figure why I’m failing this lab. I got the following error message:

Terraform output does not contain the expected ‘Elastic IP’ name or ‘Instance Name’.

I ran the terraform configuration in the Terraform + AWS playground and got the following:

Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

Outputs:

KKE_eip = {
“ip” = “44.216.33.197”
“name” = “nautilus-eip”
}
KKE_instance_name = “nautilus-ec2”

But in the lab it assigns it the an ip address in the loopback range:

Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

Outputs:

KKE_eip = {
“ip” = “127.103.119.204”
“name” = “nautilus-eip”
}
KKE_instance_name = “nautilus-ec2”

Please can some assist?

Doesn’t seem right. I raised a ticket for engineers to look

Alistair,

Please close the ticket, everything is working as expected. I removed the name tag from the outputs file and it passed the lab checker; thanks for your help.