Skip to content

Commit

Permalink
SCALRCORE-18872 > Fix index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vang committed May 11, 2021
1 parent 399fcaf commit 80958c4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,19 @@ cat << EOF > $TMP_DIR/.well-known/terraform.json
EOF

cat << EOF > $TMP_DIR/index.html
Example usage:
<p>Example usage:</p>
<pre>
<code>
terraform {
required_providers {
scalr = {
source = "$URL/$PROVIDER_SOURCE"
version= "$VERSION"
required_providers {
scalr = {
source = "$URL/$PROVIDER_SOURCE"
version= "$VERSION"
}
}
}
}
</code>
</pre>
EOF

gsutil -m -h "Cache-Control:private, max-age=0, no-transform" rsync -R $TMP_DIR $BUCKET_NAME
Expand Down

0 comments on commit 80958c4

Please sign in to comment.