summaryrefslogtreecommitdiffstats
path: root/inventory/multi_ec2.yaml.example
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/multi_ec2.yaml.example')
-rw-r--r--inventory/multi_ec2.yaml.example15
1 files changed, 15 insertions, 0 deletions
diff --git a/inventory/multi_ec2.yaml.example b/inventory/multi_ec2.yaml.example
new file mode 100644
index 000000000..0bd505816
--- /dev/null
+++ b/inventory/multi_ec2.yaml.example
@@ -0,0 +1,15 @@
+# multi ec2 inventory configs
+accounts:
+ - name: aws1
+ provider: aws/ec2.py
+ env_vars:
+ AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
+ AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+
+ - name: aws2
+ provider: aws/ec2.py
+ env_vars:
+ AWS_ACCESS_KEY_ID: XXXXXXXXXXXXXXXXXXXX
+ AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+
+cache_max_age: 60