I want to output public IP of my instance in cloud formation. This is the relevant part of my yaml file.
What attribute do I have to specify to get public IP. (Here myec2 is where I described my instance)
<code>
.
.
Outputs:
instancedetails:
Description: ec2 details
Value: !GetAtt Myec2.instance