From a86529b963903e9532cd2065dc3470b0f6075d45 Mon Sep 17 00:00:00 2001 From: Devon Powell Date: Thu, 24 Sep 2020 10:56:19 -0400 Subject: [PATCH] fix(Config Schema): Expand allowable types for vpc config This enables the use of Ref, Fn::Join, Fn::Sub, Fn::Import and Fn::GetAtt when defining the vpc.subnetIds and vpc.securityGroupIds. --- lib/plugins/aws/provider/awsProvider.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/plugins/aws/provider/awsProvider.js b/lib/plugins/aws/provider/awsProvider.js index d5a4126d15d..3d2c8df4d39 100644 --- a/lib/plugins/aws/provider/awsProvider.js +++ b/lib/plugins/aws/provider/awsProvider.js @@ -276,16 +276,12 @@ class AwsProvider { properties: { securityGroupIds: { type: 'array', - items: { - type: 'string', - }, + items: { $ref: '#/definitions/awsCfInstruction' }, maxItems: 5, }, subnetIds: { type: 'array', - items: { - type: 'string', - }, + items: { $ref: '#/definitions/awsCfInstruction' }, maxItems: 16, }, },