File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
docs/modules/ROOT/pages/how-tos/cloudscale Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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)
166165mc 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----
191190export AWS_ACCESS_KEY_ID=$(mc config host ls ${CLUSTER_ID} -json | jq -r .accessKey)
192191export 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
195193aws s3api put-public-access-block \
196194 --endpoint-url "https://objects.${REGION}.cloudscale.ch" \
You can’t perform that action at this time.
0 commit comments