Skip to content

Commit

Permalink
Merge pull request #99 from digitalsleuth/awscli_static
Browse files Browse the repository at this point in the history
Update aws-cli to be static
  • Loading branch information
ekristen authored Apr 15, 2024
2 parents 3b0874c + 964c789 commit becd760
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 7 additions & 6 deletions sift/packages/aws-cli.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@
# Category:
# Author: Amazon
# License: Apache License v2.0 (https://github.com/aws/aws-cli/blob/develop/LICENSE.txt)
# Version: 2.15.21
# Version: 2.15.24
# Notes:

{% set hash = '77c6c3d1ac23638b07a02587ed6b1d4adc84c561c9ecc7df1ff3778e43a4b49b' %}
{% set hash = 'c939005170508b19f53730ead3e15b959ec2d9d078a44668e43275864d73ef2f' %}
{% set version = '2.15.24' %}

aws-cli-download:
file.managed:
- name: /tmp/awscli-exe-linux-x86_64.zip
- source: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
- name: /tmp/awscli-exe-linux-x86_64-{{ version }}.zip
- source: https://awscli.amazonaws.com/awscli-exe-linux-x86_64-{{ version }}.zip
- source_hash: sha256={{ hash }}
- makedirs: True

aws-cli-extract:
archive.extracted:
- name: /tmp/
- source: /tmp/awscli-exe-linux-x86_64.zip
- source: /tmp/awscli-exe-linux-x86_64-{{ version }}.zip
- enforce_toplevel: False
- overwrite: True
- trim_output: True
Expand All @@ -37,7 +38,7 @@ aws-cli-install:
aws-cli-cleanup:
file.absent:
- names:
- /tmp/awscli-exe-linux-x86_64.zip
- /tmp/awscli-exe-linux-x86_64-{{ version }}.zip
- /tmp/aws/
- require:
- cmd: aws-cli-install
2 changes: 2 additions & 0 deletions sift/packages/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include:
- sift.packages.apache2
- sift.packages.arp-scan
- sift.packages.autopsy
- sift.packages.aws-cli
- sift.packages.avfs
- sift.packages.bless
- sift.packages.blt
Expand Down Expand Up @@ -211,6 +212,7 @@ sift-packages:
- sls: sift.packages.apache2
- sls: sift.packages.arp-scan
- sls: sift.packages.autopsy
- sls: sift.packages.aws-cli
- sls: sift.packages.avfs
- sls: sift.packages.bless
- sls: sift.packages.blt
Expand Down

0 comments on commit becd760

Please sign in to comment.