diff --git a/lib/plugins/aws/provider.js b/lib/plugins/aws/provider.js index 8700666d2..39b83fb73 100644 --- a/lib/plugins/aws/provider.js +++ b/lib/plugins/aws/provider.js @@ -837,7 +837,7 @@ class AwsProvider { properties: { managedPolicies: { type: 'array', - items: { $ref: '#/definitions/awsArnString' }, + items: { $ref: '#/definitions/awsArn' }, }, statements: { $ref: '#/definitions/awsIamPolicyStatements' }, permissionBoundary: { $ref: '#/definitions/awsArnString' }, @@ -851,7 +851,7 @@ class AwsProvider { }, additionalProperties: false, }, - iamManagedPolicies: { type: 'array', items: { $ref: '#/definitions/awsArnString' } }, + iamManagedPolicies: { type: 'array', items: { $ref: '#/definitions/awsArn' } }, iamRoleStatements: { $ref: '#/definitions/awsIamPolicyStatements' }, ecr: { type: 'object',