Invalid property "VPCOptions: VPCId" in AWS ES VPC cloudformation template
marcosnr opened this issue · comments
Hi, first of all I want to congratulate you for the awesome product, it is truly amazing!
While using it I just found the following small bug when recording a creation of an AWS-ES domain on cloudformation:
Describe the bug
template will have the invalid property
VPCOptions: VPCId: "vpc-id123" ...
as in:
resource:
Type: "AWS::Elasticsearch::Domain"
Properties:
(...)
VPCOptions:
VPCId: "vpc-ID123"
SubnetIds: (...)
**Related Mapping**
Type: "AWS::Elasticsearch::Domain"
**To Reproduce**
follow standard procedure to create a VPC ES domain:
see: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html
**Expected behavior**
as described in the official documentation, this option is not valid:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html?shortFooter=true#cfn-elasticsearch-domain-vpcoptions
is not a showstopper whatsoever, just in case you have the same issue somewhere else. Thanks again for this contribution!!!
Cheers Marcos,
This one will be resolved in the next release, or use master. If you find others please raise as you find them.