Notification Regarding Cross-stack Requests from AWS

I received a notification from AWS stating, “We identified EC2 instances in your account that have been retrieving resource metadata information from CloudFormation stacks in your account that are outside of the stack from which the instances were created.”

The notification then went on to list some example instances and which stacks they had accessed. E.g. (instance IDs and stack names changed),

  • i-0493cb18192ba2444 calls mystack-env2-db-test
  • i-05c2d6d19d256b255 calls mystack-env2-net

However, when I checked the instances and stacks they listed in the e-mail, each stack is in fact the same stack that created the instance. Is there anything else that might be making cross-stack requests that I should investigate? To the best of my knowledge, the only component that is making such requests is cfn-init, which is called from userdata and only references the creating stack.


Related discussions:

I’ve spoken to a lead in the service team about this. I’ll post again when I know more.

Hi /u/new-creation ! I’d like to help with this. Just sent you a private message.

If someone else is encountering this, please contact me via private message so we can troubleshoot this with you.

- Luis (AWS CloudFormation)

Thank you kindly for following up! The case is currently open and I have a work-around ready to go for May 30 in case the underlying issue is still around.