Skip to content

Commit

Permalink
fix(Config Schema): Fix required properties configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Aug 20, 2020
1 parent 37d80cb commit 1dd42b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/configSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const schema = {
configValidationMode: { enum: ['error', 'warn', 'off'] },
},
additionalProperties: false,
requiredProperties: ['provider', 'service'],
required: ['provider', 'service'],
definitions: {
awsArn: {
type: 'string',
Expand All @@ -124,7 +124,7 @@ const schema = {
'Fn::ImportValue': { type: 'string' },
},
additionalProperties: false,
requiredProperties: ['Fn::ImportValue'],
required: ['Fn::ImportValue'],
},
errorCode: {
type: 'string',
Expand Down

0 comments on commit 1dd42b0

Please sign in to comment.