diff --git a/aws-env.go b/aws-env.go index 9bbd62d..8d2f245 100644 --- a/aws-env.go +++ b/aws-env.go @@ -77,6 +77,7 @@ func OutputParameter(path string, parameter *ssm.Parameter, format string) { env := strings.Replace(strings.Trim(name[len(path):], "/"), "/", "_", -1) value = strings.Replace(value, "\n", "\\n", -1) + value = strings.Replace(value, "'", "\\'", -1) switch format { case formatExports: