Skip to content

Commit 26fde70

Browse files
committed
a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e: Set AWS_DEFAULT_REGION
The command prefers that form [1], and doesn't work with AWS_REGION [2]. [1]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html [2]: openshift#6189 (comment)
1 parent 13538fe commit 26fde70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,8 @@ objects:
828828
export PATH="${HOME}/.local/bin:${PATH}"
829829
easy_install --user pip # our Python 2.7.5 is even too old for ensurepip
830830
pip install --user awscli
831-
export AWS_REGION="$(python -c 'import json; data = json.load(open("/tmp/artifacts/installer/metadata.json")); print(data["aws"]["region"])')"
831+
export AWS_DEFAULT_REGION="$(python -c 'import json; data = json.load(open("/tmp/artifacts/installer/metadata.json")); print(data["aws"]["region"])')"
832+
echo "gathering node console output from ${AWS_DEFAULT_REGION}"
832833
fi
833834
834835
while IFS= read -r i; do

0 commit comments

Comments
 (0)