package
0.10.4
Repository: https://github.com/useinsider/go-pkg.git
Documentation: pkg.go.dev

# README

SSM Package

This is a simple aws ssm packet wrapper.

Currently, we use env variables to disable ssm client initialization for local development and testing purposes.

Usage in Apps

package main

import (
	"fmt"
	"os"
	
	"github.com/useinsider/go-pkg/insssm"
)

func main() {
	_ = os.Setenv("ENV", "NOT-LOCAL")
	insssm.Init()
	
	value := insssm.Get("/SOME/SSM/KEY")
	fmt.Printf("value: %s", value)
}


# Functions

Get is the main function for ssm, it takes the key and returns the value.
Init If environment variable called "ENV" is set to value "LOCAL", Init function will not run.

# Variables

ParameterStore is the aws client for parameter store.