23 lines
432 B
YAML
23 lines
432 B
YAML
plugin: aws_ec2
|
|
regions:
|
|
- eu-west-1
|
|
filters:
|
|
tag:env:
|
|
- prod
|
|
hostnames:
|
|
- network-interface.association.public-ip
|
|
- network-interface.addresses.private-ip-address
|
|
- ip-address
|
|
- network-interface.addresses.private-ip-address
|
|
- private-dns-name
|
|
- instance-id
|
|
keyed_groups:
|
|
- key: tags.env
|
|
separator: ""
|
|
#prefix: MyGroupPrefix
|
|
- prefix: tag
|
|
key: tags
|
|
|
|
fact_caching_timeout: 10
|
|
caching_timeout: 10
|