Skip to content

Commit

Permalink
feat: Recognize Fn::Base64 as CloudFormation instruction (#11671)
Browse files Browse the repository at this point in the history
  • Loading branch information
mt-ronkorving committed Jan 18, 2023
1 parent 57f2719 commit f020bd8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/plugins/aws/provider.js
Expand Up @@ -338,6 +338,8 @@ class AwsProvider {
{ $ref: '#/definitions/awsCfGetAtt' },
{ $ref: '#/definitions/awsCfRef' },
{ $ref: '#/definitions/awsCfSub' },
{ $ref: '#/definitions/awsCfBase64' },
{ $ref: '#/definitions/awsCfToJsonString' },
],
},
awsCfGetAtt: {
Expand Down Expand Up @@ -480,6 +482,12 @@ class AwsProvider {
required: ['Fn::Sub'],
additionalProperties: false,
},
awsCfBase64: {
type: 'object',
properties: {
'Fn::Base64': {},
},
},
awsCfToJsonString: {
type: 'object',
properties: {
Expand Down Expand Up @@ -577,7 +585,6 @@ class AwsProvider {
{ $ref: '#/definitions/awsCfInstruction' },
{ $ref: '#/definitions/awsCfIf' },
{ $ref: '#/definitions/awsCfSelect' },
{ $ref: '#/definitions/awsCfToJsonString' },
],
},
},
Expand Down

0 comments on commit f020bd8

Please sign in to comment.