summaryrefslogtreecommitdiffstats
path: root/inventory/multi_ec2.yaml.example
blob: 91e7c79706d542172689a80a02a970b691d56b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# multi ec2 inventory configs
accounts:
  - name: aws1
    provider: aws/hosts/ec2.py
    env_vars:
      AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
      AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  - name: aws2
    provider: aws/hosts/ec2.py
    env_vars:
      AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
      AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

cache_max_age: 60