Reputation: 67
Iam writing a shell script in which I am configuring awscli. The container in which the script whill be running has the default output format as json. I have to change the output format to text when I run the script in the method.
I have written below function in shell but doesn't works
function awsConfigure(){
echo "configuring aws cli"
aws configure set aws_access_key_id *************
aws configure set aws_secret_access_key **********
aws configure set default.region us-east-2
aws configure output text
}
How can I set the text format in this function
Upvotes: 0
Views: 1157