Skip to content

Commit

Permalink
fix(AWS Lambda): Improve "image" property validation
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Dec 17, 2020
1 parent 07d9602 commit a8be1d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugins/aws/provider.js
Expand Up @@ -945,7 +945,8 @@ class AwsProvider {
handler: { type: 'string' },
image: {
type: 'string',
pattern: '^\\d+\\.dkr\\.ecr\\.[a-z0-9-]+..amazonaws.com\\/[^@]+@sha256:[a-f0-9]{64}$',
pattern:
'^\\d+\\.dkr\\.ecr\\.[a-z0-9-]+..amazonaws.com\\/[^@:]+@sha256:[a-f0-9]{64}$',
},
kmsKeyArn: { $ref: '#/definitions/awsKmsArn' },
layers: { $ref: '#/definitions/awsLambdaLayers' },
Expand Down

0 comments on commit a8be1d1

Please sign in to comment.