From 5f5d2e580e267ad8bbd34f29c4613ca751908992 Mon Sep 17 00:00:00 2001 From: Dave Lowther Date: Tue, 9 Mar 2021 03:38:42 -0500 Subject: [PATCH] fix(Config Schema): Support CF functions for managed policies (#9089) --- lib/plugins/aws/provider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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',