AWS SSM put and URL value handling

ismail yenigül
Jun 20 · 2 min read
$ aws ssm put-parameter --name '/MYPATH/MYURL' --value "https://www.mydomain.com"  --type "String"$ aws ssm get-parameter --name '/MYPATH/MYURL'
{
"Parameter": {
"Name": "/MYPATH/MYURL",
"Type": "String",
"Value": "<!DOCTYPE html><html lang=en><head><meta charset..."
cli_follow_urlparam controls whether or not the CLI will attempt to follow URL links in parameters that start with either prefix https:// or http://.  The valid values of the cli_follow_urlparam configuration variable are:true - This is the default value. With this configured the CLI will follow any string parameters that start with https:// or http:// will be fetched, and the downloaded content will be used as the parameter instead.
false - The CLI will not treat strings prefixed with https:// or http:// any differently than normal string parameters.
$ aws ssm put-parameter --cli-input-json '{
"Name": "
/MYPATH/MYURL",
"Value": "
https://www.mydomain.com",
"Type": "String"
}'

Faun

The Must-Read Publication for Aspiring Developers & DevOps Enthusiasts

ismail yenigül

Written by

Linux and Cloud

Faun

Faun

The Must-Read Publication for Aspiring Developers & DevOps Enthusiasts