Skip to content

Commit

Permalink
/snap/bin/aws
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Edouard Barrault committed Nov 10, 2024
1 parent b27ffee commit d9d48c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ resource "null_resource" "setup_services" {
"sudo mkdir -p /srv/data/source /srv/data/processed /srv/data/failed /srv/logs", # creating all data directories
"sudo chown -R ${var.scaleway_server_user}:${var.scaleway_server_user} /srv/data",
"sudo chown -R ${var.scaleway_server_user}:${var.scaleway_server_user} /srv/logs",
"aws s3api get-object --bucket ${var.data_bucket} --key ${var.data_source} /srv/data/source/$(basename '${var.data_source}') >> /srv/logs/s3download.log 2>&1",
"/snap/bin/aws s3api get-object --bucket ${var.data_bucket} --key ${var.data_source} /srv/data/source/$(basename '${var.data_source}') >> /srv/logs/s3download.log 2>&1",

# Install Node.js from NodeSource
"echo 'Installing Node.js ...'",
Expand Down

0 comments on commit d9d48c9

Please sign in to comment.