How can I migrate to V2
SecretsManager#
- Removed
convertToJSON,flatten,stringifiedValues - Use
rawOutputinstead:undefined/ not set (default):convertToJSONandflattenandstringifiedValues=trueRawOutput.STRING:convertToJSONandflattenandstringifiedValues=falseRawOutput.BINARY: same asSTRING, and the secret is binary
Parameter#
- Removed
convertToJSON,flatten,stringifiedValues— all of them made no sense here. Now the construct always outputs the raw decrypted secret.
MultiParameter#
- Removed
convertToJSON,flatten,stringifiedValues— most combinations made no sense - Always converts to JSON and flattens (required to create multiple parameters)
- You can still choose the
flattenSeparator
Questions after migrating? See the rest of the FAQ.