【发布时间】:2018-10-01 20:35:21
【问题描述】:
我想使用 PowerShell 列出 CloudFormation 堆栈的 EC2 实例的 IpAddress。我正在尝试以下命令,但它没有返回 IpAddress。
Get-CFNStackResourceList -StackName 'teststack' -LogicalResourceId 'EC2Instance' -region 'eu-west-1'
【问题讨论】:
-
太棒了。赞赏。
标签: powershell amazon-ec2 amazon-cloudformation aws-powershell