I need to discover the private IP address for every host in a AWS CloudFormation stack.
The CloudFormation API (see http://boto3.readthedocs.io/en/latest/reference/services/cloudformation.html ) doesn't seem to have any direct support for extracting nodes given a stack ID. Is it even possible?
Yes it is possible but not straightforward.
I have coded this and use it regularly. AWS may throttle your CF calls, if it is called too often.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.