-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There seems to be a syntax issue in https://github.com/cfn-modules/vpc-subnet/edit/master/module.yml. line 52 when trying to deploy it. There are several nested functions here using the short syntax that I think is tripping it up.
I'm using aws cli 2.0.1 on mac os 10.14.6
This line turns into invalid yaml once it goes through aws cloudformation package:
CidrBlock: !Select [!Ref SubnetIndex, !Cidr [{'Fn::ImportValue': !Sub '${VpcPlainModule}-CidrBlock'}, !Ref SubnetCount, 12]]
I tested with a longer syntax but without changing anything and it is working.
CidrBlock: !Select
- Ref: SubnetIndex
- Fn::Cidr:
- Fn::ImportValue:
!Sub '${VpcPlainModule}-CidrBlock'
- Ref: SubnetCount
- 12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels