infra/main.tf: Correct typo in b9bee14

This commit is contained in:
Collin J. Doering 2023-05-04 23:00:14 -04:00
parent b9bee14f30
commit c51be05eb4
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022

View File

@ -401,7 +401,7 @@ aws configure --profile ${aws_iam_user.app_deploy.name} set aws_secret_access_ke
aws configure --profile ${aws_iam_user.app_deploy.name} set region ${var.region}; aws configure --profile ${aws_iam_user.app_deploy.name} set region ${var.region};
: Create a random string to be used as a temporary directory name; : Create a random string to be used as a temporary directory name;
TMPDIR=/tmp/$$(printf '%s' {a..z} {A..Z} {0..9} | fold -w1 | shuf | paste -s -d '' | head -c16); TMPDIR=/tmp/$(printf '%s' {a..z} {A..Z} {0..9} | fold -w1 | shuf | paste -s -d '' | head -c16);
: Copy site files so that they get a new date/time stamp, allowing 's3 sync' to operate correctly; : Copy site files so that they get a new date/time stamp, allowing 's3 sync' to operate correctly;
cp -r ${var.site_static_files_dir} $${TMPDIR}; cp -r ${var.site_static_files_dir} $${TMPDIR};