Skip to content

Commit

Permalink
Merge pull request #1313 from guardian/https-cloudwatch
Browse files Browse the repository at this point in the history
Use HTTPS S3 urls to download CloudWatchMonitoring scripts
  • Loading branch information
davidfurey authored Oct 10, 2023
2 parents 08b831e + 0d738eb commit 18289b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/cloud-watch-monitoring/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
apt: name=unzip state=present

- name: Download scripts
unarchive: src="http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip" dest=/usr/local/ copy=no
unarchive: src="https://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip" dest=/usr/local/ copy=no

2 changes: 1 addition & 1 deletion roles/usage-monitoring-agent/files/monitoring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function install_cloudwatch_client() {
local __resultvar=$1
local CLOUDWATCH_CLIENT_VERSION="1.2.1"
apt-get install -y libwww-perl libdatetime-perl unzip
wget http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-${CLOUDWATCH_CLIENT_VERSION}.zip
wget https://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-${CLOUDWATCH_CLIENT_VERSION}.zip
unzip CloudWatchMonitoringScripts-${CLOUDWATCH_CLIENT_VERSION}.zip
mv aws-scripts-mon ${INSTALL_LOCATION}
rm CloudWatchMonitoringScripts-${CLOUDWATCH_CLIENT_VERSION}.zip
Expand Down

0 comments on commit 18289b9

Please sign in to comment.