The variables set for base64 encoding don't get encoded in a local serverless environment using the serverless-offline plugin. Instead they are available directly as objects without decoding & parsing. Trying to decode & parse the variables locally results in an error.
The variables work as expected base64 encoded strings on aws. And they can be decoded and parsed.
Using serverless 1.25.0
The same issue on serverless-offline: dherault/serverless-offline#353
The variables set for base64 encoding don't get encoded in a local serverless environment using the serverless-offline plugin. Instead they are available directly as objects without decoding & parsing. Trying to decode & parse the variables locally results in an error.
The variables work as expected base64 encoded strings on aws. And they can be decoded and parsed.
Using serverless 1.25.0
The same issue on serverless-offline: dherault/serverless-offline#353