Skip to content

Commit

Permalink
fix(Config Schema): Recognize CF intrinsic functions in vpc config
Browse files Browse the repository at this point in the history
Enable the use of Ref, Fn::Join, Fn::Sub, Fn::Import and Fn::GetAtt when
defining the vpc.subnetIds and vpc.securityGroupIds.

(PR #8283)
  • Loading branch information
devpow112 committed Sep 24, 2020
1 parent 56c7e44 commit e75e998
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/plugins/aws/provider/awsProvider.js
Expand Up @@ -282,16 +282,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,
},
},
Expand Down

0 comments on commit e75e998

Please sign in to comment.