We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efb0ee8 commit 2818165Copy full SHA for 2818165
tests/integration/setup-aws-cli.sh
@@ -6,10 +6,12 @@ sudo snap install aws-cli --classic
6
# Get Access key and secret key from MinIO
7
ACCESS_KEY=$(kubectl get secret -n minio-operator microk8s-user-1 -o jsonpath='{.data.CONSOLE_ACCESS_KEY}' | base64 -d)
8
SECRET_KEY=$(kubectl get secret -n minio-operator microk8s-user-1 -o jsonpath='{.data.CONSOLE_SECRET_KEY}' | base64 -d)
9
+
10
S3_BUCKET="spark"
11
+DEFAULT_REGION="us-east-2"
12
13
# Configure AWS CLI credentials
14
aws configure set aws_access_key_id $ACCESS_KEY
15
aws configure set aws_secret_access_key $SECRET_KEY
-aws configure set default.region us-east-2
16
+aws configure set default.region $DEFAULT_REGION
17
echo "AWS CLI credentials set successfully"
0 commit comments