multi_ec2.yaml.j2 365 B

1234567891011
  1. # multi ec2 inventory configs
  2. cache_max_age: {{ oo_inventory_cache_max_age }}
  3. accounts:
  4. {% for account in oo_inventory_accounts %}
  5. - name: {{ account.name }}
  6. provider: {{ account.provider }}
  7. env_vars:
  8. AWS_ACCESS_KEY_ID: {{ account.env_vars.AWS_ACCESS_KEY_ID }}
  9. AWS_SECRET_ACCESS_KEY: {{ account.env_vars.AWS_SECRET_ACCESS_KEY }}
  10. {% endfor %}