aboutsummaryrefslogtreecommitdiff
path: root/snips
diff options
context:
space:
mode:
Diffstat (limited to 'snips')
-rw-r--r--snips/aws/ami1
-rw-r--r--snips/aws/id1
-rw-r--r--snips/aws/ip1
-rw-r--r--snips/aws/ip-pub1
4 files changed, 4 insertions, 0 deletions
diff --git a/snips/aws/ami b/snips/aws/ami
new file mode 100644
index 0000000..ca5dba9
--- /dev/null
+++ b/snips/aws/ami
@@ -0,0 +1 @@
+curl http://169.254.169.254/latest/meta-data/ami-id ; echo
diff --git a/snips/aws/id b/snips/aws/id
new file mode 100644
index 0000000..12c2147
--- /dev/null
+++ b/snips/aws/id
@@ -0,0 +1 @@
+curl http://169.254.169.254/latest/meta-data/instance-id ; echo
diff --git a/snips/aws/ip b/snips/aws/ip
new file mode 100644
index 0000000..f7ea033
--- /dev/null
+++ b/snips/aws/ip
@@ -0,0 +1 @@
+curl http://169.254.169.254/latest/meta-data/local-ipv4 ; echo
diff --git a/snips/aws/ip-pub b/snips/aws/ip-pub
new file mode 100644
index 0000000..1852bb7
--- /dev/null
+++ b/snips/aws/ip-pub
@@ -0,0 +1 @@
+curl http://169.254.169.254/latest/meta-data/public-ipv4 ; echo