summaryrefslogtreecommitdiffstats
path: root/inventory/multi_ec2.yaml.example
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2014-12-15 11:14:56 -0500
committerKenny Woodson <kwoodson@redhat.com>2014-12-15 11:14:56 -0500
commitc5c69ab47dc0e65c3da590bbc91e0938a2623725 (patch)
tree67271421c0aeca6bb72b80f0b3e2d49129938926 /inventory/multi_ec2.yaml.example
parentffe702b2e85278d7a1625b9fae33695360aff3ed (diff)
parentd8ccf2a6b937f53e4f564102d4e7f009ade1e26a (diff)
downloadopenshift-c5c69ab47dc0e65c3da590bbc91e0938a2623725.tar.gz
openshift-c5c69ab47dc0e65c3da590bbc91e0938a2623725.tar.bz2
openshift-c5c69ab47dc0e65c3da590bbc91e0938a2623725.tar.xz
openshift-c5c69ab47dc0e65c3da590bbc91e0938a2623725.zip
Merge pull request #34 from kwoodson/meta_inventory
Adding a meta inventory to query multiple cloud accounts.
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