AWS CloudFormation: How to output a machine's PublicIP?
问题 I wrote a CloudFormation template which creates a linux docker host. I want to display the PublicIP of the machine under the "Outputs" section. This is the relevant portion of the template: "Outputs" : { "ServerAddress" : { "Value" : { "Fn::GetAtt" : [ "Server", "PublicDnsName" ] }, "Description" : "Server Domain Name" }, "SecurityGroup" : { "Value" : { "Fn::GetAtt" : [ "ServerSecurityGroup", "GroupId" ] }, "Description" : "Server Security Group Id" }, "PublicIp" : { "Value" : { "Fn::GetAtt"