publicIp

val publicIp: Output<String>

Public IP address assigned to the instance, if applicable. NOTE: If you are using an aws.ec2.Eip with your instance, you should refer to the EIP's address directly and not use public_ip as this field will change after the EIP is attached.