Skip to content

Commit f7c73a5

Browse files
committed
Remove redundant export REGION= in cloudscale install
1 parent e77d367 commit f7c73a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/modules/ROOT/pages/how-tos/cloudscale/install.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ response=$(curl -sH "Authorization: Bearer ${CLOUDSCALE_API_TOKEN}" \
162162
+
163163
[source,bash]
164164
----
165-
export REGION=$(curl -sH "Authorization: Bearer $(commodore fetch-token)" ${COMMODORE_API_URL}/clusters/${CLUSTER_ID} | jq -r .facts.region)
166165
mc config host add \
167166
"${CLUSTER_ID}" "https://objects.${REGION}.cloudscale.ch" \
168167
$(echo $response | jq -r '.keys[0].access_key') \
@@ -190,7 +189,6 @@ mc mb --ignore-existing \
190189
----
191190
export AWS_ACCESS_KEY_ID=$(mc config host ls ${CLUSTER_ID} -json | jq -r .accessKey)
192191
export AWS_SECRET_ACCESS_KEY=$(mc config host ls ${CLUSTER_ID} -json | jq -r .secretKey)
193-
export REGION=$(curl -sH "Authorization: Bearer $(commodore fetch-token)" ${COMMODORE_API_URL}/clusters/${CLUSTER_ID} | jq -r .facts.region)
194192
195193
aws s3api put-public-access-block \
196194
--endpoint-url "https://objects.${REGION}.cloudscale.ch" \

0 commit comments

Comments
 (0)