Terraform – AWS SSM: Extract content

The SSM Parameter Store contains the following JSON:   It is necessary to extract the login and password, and use their values in the Terraform code. To do this, you can use the following construction:   And use variables:    

 Python – AWS EBS creating snapshots based on a tag and keeping only one latest version

This script looks for an EBS in the region “eu-west-1” with a tag whose key is “Application” and the value is passed as an argument, creating a snapshot of this EBS. In the same way, it searches for a snapshot by tag and deletes everything except the last one. An example of running to create … Continue reading " Python – AWS EBS creating snapshots based on a tag and keeping only one latest version"

 Jenkins – Active Choice: SSH – Return remote command values

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: SSH – Return remote command values"

 Jenkins – Active Choice: S3 – Return necessary key value from JSON file

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: S3 – Return necessary key value from JSON file"