plugin: amazon.aws.aws_ec2 regions: - ap-east-1 filters: instance-state-name: running hostnames: - name: 'instance-id' #compose: # ansible_host: instance_id # ansible_connection: 'community.aws.aws_ssm'