I’m currently working on an automation of our corresponding AWS account.
The objective is, to have an automated action based on information about specific EC2 instances.
I’m currently trying to list all available EC2 instances, get their tags and perform an action if a specific key value pair exists.
My problem however is, that I can’t manage to use the Instance id as a parameter. The instance id is obtained via the payload, but the AWS action expects the instance id to be a string, so I can’t use trigger.payload_instanceId as it is used in the criteria field.
Is there any possible way, to use information from the payload in the action section?
Thanks in advance.