This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws rds describe-db-instances --query='DBInstances[*].{Address:Endpoint.Address,Port:Endpoint.Port,Id:DBInstanceIdentifier}[*].[Address,Port,Id]' --output=text | sed -E "s/(\S+)\s+(\S+)\s+(\S+)/Servers\\\\\3\\\\Host<|||>1<|||>\\1\r\nServers\\\\\3\\\\LoginPrompt<|||>3<|||>1\r\nServers\\\\\3\\\\Port<|||>1<|||>\\2\r\nServers\\\\\3\\\\NetType<|||>3<|||>0\r\nServers\\\\\3\\\\Compressed<|||>3<|||>1/" | unix2dos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ssm get-parameters-by-path --cli-input-json "{\"Path\": \"$SSM_PATH\", \"Recursive\": true}" --query 'Parameters[*].{Joined:join(`=`,[Name,Value])}' --output text | sed 's:[^=]*/::' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -r --merged | egrep -v '(master|main|release|development)' | sed 's/origin\///' | xargs -n 1 git push --delete origin |