I am trying to create CloudFront originGroup using below code and ended up with error
OriginGroups:
Items:
- OriginGroup:
FailoverCriteria:
StatusCodes:
Items:
- 404
- 502
Quantity: 2
Id: {self:custom.s3Bucket}-global
Members:
Items:
- {self:custom.s3Bucket}
- ${self:custom.s3Bucket}-bkp
Quantity: 2
Quantity: 1
An error occurred: WebAppCloudFrontDistribution - Property validation failure: [Encountered unsupported properties in {/DistributionConfig/OriginGroups/Items/0}: [OriginGroup]]