Skip to content

Instantly share code, notes, and snippets.

View wolviecb's full-sized avatar

Thomas Andrade wolviecb

  • Volvo Cars
  • Stockholm, Sweden
View GitHub Profile
@wolviecb
wolviecb / flatten_yaml.sh
Created May 18, 2022 15:57
Flatten a yaml file or write a terraform helm_release 'set' block, using yq
#!/usr/bin/env bash
_usage() {
echo "
${0} Parses a yaml file and returns a list of flattened key/values
${0} -f filename
${0} -tf filename #Return a terraform set with the key/value sets
"
exit 1
}
@wolviecb
wolviecb / ssmGet.go
Created February 22, 2019 21:07
Get AWS SSM Parameter
package main
import (
"fmt"
"log"
"os"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ssm"

Keybase proof

I hereby claim:

  • I am wolviecb on github.
  • I am wolvie (https://keybase.io/wolvie) on keybase.
  • I have a public key whose fingerprint is F290 2D44 8E2D E463 E0A3 41E0 42CA AABC D881 2968

To claim this, I am signing this object: