Skip to content

Commit

Permalink
Add support for Fn::Base64 and allow it to be used in environment var…
Browse files Browse the repository at this point in the history
…iables
  • Loading branch information
mt-ronkorving committed Jan 12, 2023
1 parent 2f4de84 commit 96dcc39
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/plugins/aws/provider.js
Expand Up @@ -480,6 +480,18 @@ class AwsProvider {
required: ['Fn::Sub'],
additionalProperties: false,
},
awsCfBase64: {
type: 'object',
properties: {
'Fn::Base64': {
anyOf: [
{ type: 'string' },
{ $ref: '#/definitions/awsCfFunction' },
{ $ref: '#/definitions/awsCfToJsonString' },
],
},
},
},
awsCfToJsonString: {
type: 'object',
properties: {
Expand Down Expand Up @@ -578,6 +590,7 @@ class AwsProvider {
{ $ref: '#/definitions/awsCfIf' },
{ $ref: '#/definitions/awsCfSelect' },
{ $ref: '#/definitions/awsCfToJsonString' },
{ $ref: '#/definitions/awsCfBase64' },
],
},
},
Expand Down

0 comments on commit 96dcc39

Please sign in to comment.