aboutsummaryrefslogtreecommitdiff
path: root/snips
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-05-24 18:15:41 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-05-24 18:15:41 -0400
commitd853632dfaf1b42546638d79c88decd58d3a430a (patch)
tree75f285028f7b180f287ef8a70c17f7cdb24f880f /snips
parentb303b069e5de3a7ab4310dde740a3b3d04b26a0a (diff)
downloaddotfiles-d853632dfaf1b42546638d79c88decd58d3a430a.tar.gz
dotfiles-d853632dfaf1b42546638d79c88decd58d3a430a.tar.xz
Add AWS related snippets
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