Locally-exec provisioner was not executed

I add provisioner in eip resource, and then “terraform apply”, nothing has happened.
Is there something wrong?


resource “aws_eip” “eip” {

vpc = true

instance = aws_instance.cerberus.id

provisioner “local-exec” {

  command = "echo ${aws_eip.eip.public_dns} >> /root/cerberus_public_dns.txt"

}

}

Hello, @zhaoxin0948
Thanks for reporting. We will fix it. :+1:

We have fixed it please try when you get a chance. @zhaoxin0948

The problem is still exist. @Tej-Singh-Rana

Hi @sainishanth994 ,
What kind of problem are you facing? Can you please share more details?

Regards,
KodeKloud Support