I am running below command to ingress in aws-cli, it is working fine if I provide an IP address, but I want it to know the IP and pass it. I was trying something like below but it is not helping If I am doing below then it works but I want it to be done by above way. Answer
Tag: aws-cli
aws cli describe cluster error using ‘for loop’
I’m having trouble trying to run a for loop with the aws cli command aws eks describe-cluster. I receive the below error on execution. My scripting is not the best. Any help would be greatly appreciated. Thanks. If I simply run aws eks list-clusters | grep dev-shark it outputs the below: It seems to be the comma (,) that is
AWS CLI S3 CP –recursive function works in console but not in .sh file
I have the following line inside of a .sh file: When I run this line in the console, it runs fine and completes as expected. When I run this line inside of a .sh file, the line returns the following error. Here is my full .sh script. If I manually add the Run.py file (not having it copied over from
Retrieve secrets from AWS Secrets Manager
I have a bunch of secrets (key/value) pairs stored in AWS Secrets Manager. I tried to parse the secrets using jq as: It retrieves the value stored in .PASSWORD, but the problem is I not only want to retrieve the value stored in key but also want to retrieve the key/value in the following manner: By running the above command
Bash script to install AWS CLI tools
I am writing a bash script that will automatically install and configure AWS CLI tools. I am able to install AWS CLI tools but unable to configure it. My script is something like this: I wish to do the configuration using this script too. I wish that I can provide these credentials via script so that it prevents manual entry.