From 80958c4d44a06dd9e28e0152558e42da51304059 Mon Sep 17 00:00:00 2001 From: Artem Vang Date: Tue, 11 May 2021 20:01:38 +0300 Subject: [PATCH] SCALRCORE-18872 > Fix index.html --- upload.sh | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/upload.sh b/upload.sh index 9990383e..016962bb 100755 --- a/upload.sh +++ b/upload.sh @@ -88,16 +88,19 @@ cat << EOF > $TMP_DIR/.well-known/terraform.json EOF cat << EOF > $TMP_DIR/index.html -Example usage: - +

Example usage:

+
+
 terraform {
-  required_providers {
-    scalr = {
-      source = "$URL/$PROVIDER_SOURCE"
-      version= "$VERSION"
+    required_providers {
+        scalr = {
+            source = "$URL/$PROVIDER_SOURCE"
+            version= "$VERSION"
+        }
     }
-  }
 }
+
+
EOF gsutil -m -h "Cache-Control:private, max-age=0, no-transform" rsync -R $TMP_DIR $BUCKET_NAME