From eec55f5aa7c0f3ee85fce82cf379b97ef1e9dcd7 Mon Sep 17 00:00:00 2001 From: siozosdr Date: Mon, 24 Jun 2019 10:54:36 +0200 Subject: [PATCH] (MODE-11365) Escape variables from terraform renderer. --- deployment/modules/tileserver/files/user-data.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deployment/modules/tileserver/files/user-data.sh b/deployment/modules/tileserver/files/user-data.sh index 7f33099..7da0ebf 100644 --- a/deployment/modules/tileserver/files/user-data.sh +++ b/deployment/modules/tileserver/files/user-data.sh @@ -51,13 +51,13 @@ sudo chown -R ubuntu:ubuntu /usr/src/app/. tar xzf /tmp/tileserver-gl.tar.gz -C /tmp/uncompressed/ # Setup map files sudo mv -f /tmp/uncompressed/configuration/map_files/config.json /data/ - sudo rm -rf /data/mbtiles/${DATA_VERSION}_data/styles \ - /data/mbtiles/${DATA_VERSION}_data/glyphs \ - /data/mbtiles/${DATA_VERSION}_data/sprites - sudo mv -f /tmp/uncompressed/configuration/map_files/* /data/mbtiles/${DATA_VERSION}_data/ - sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/styles - sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/glyphs - sudo chown -R ubuntu:ubuntu /data/mbtiles/${DATA_VERSION}_data/sprites + sudo rm -rf /data/mbtiles/$${DATA_VERSION}_data/styles \ + /data/mbtiles/$${DATA_VERSION}_data/glyphs \ + /data/mbtiles/$${DATA_VERSION}_data/sprites + sudo mv -f /tmp/uncompressed/configuration/map_files/* /data/mbtiles/$${DATA_VERSION}_data/ + sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/styles + sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/glyphs + sudo chown -R ubuntu:ubuntu /data/mbtiles/$${DATA_VERSION}_data/sprites sudo chown ubuntu:ubuntu /data/config.json # Setup nginx sudo mv /tmp/uncompressed/configuration/nginx.conf /etc/nginx/.