Key "--environment" AWS Cli utility replaces all the variables, those that you specify as an argument. To change the value of only one variable without erasing the others, or without listing them all, you can use the following BASH script: aws_lambda_update_env.sh: This script requires jq utility The script reads all current variables, changes … Continue reading "AWS Cli – Lambda: Update single variable value"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" - "Pipeline", indicate that it will be a parameterized assembly, and … Continue reading "Jenkins – Active Choice: AWS ECR Images tag (AWS Cli)"
Example using AWS Cli only, without third-party utilities Example using "jq" utility
To get the IP addresses of all instances with the "Application" tag and its value "Frontend", and also filter by state to display information about only those instances that are in the "running" state. To display the name of the istans along with the IP address:
An example of CloudFormation for transfer to the inside of EC2 instance "ACCESS_KEY" and "SECRET_KEY" directly from the IAM to access the S3 Bucket using AWS-Cli.
Install Python PIP: CentOS: Ubuntu: