Hi there. I am having the same issue as well.
To followup. I checked the Cloudformation logs and noted the following:
CREATE_FAILED
Resource handler returned message: "Invalid request provided: 2 validation errors detected: Value null at 'distributionConfigWithTags.distributionConfig.restrictions.geoRestriction.quantity' failed to satisfy constraint: Member must not be null; Value null at 'distributionConfigWithTags.distributionConfig.restrictions.geoRestriction.restrictionType' failed to satisfy constraint: Member must not be null (Service: CloudFront, Status Code: 400, Request ID: 150cc4b2-d397-438b-a32c-07f4282a03a4, Extended Request ID: null)" (RequestToken: 85ea1323-a780-6c43-4918-31c0c7eb9aec, HandlerErrorCode: InvalidRequest)
Same problem here with the same error as posted above. I use this plugin on new sites several times a week and haven’t had an issue until late last week. Hopefully AWS sees this and supplies a fix quickly.
Hello.
I find out a workaround to this error.
After installing this plugin, modify AmazonAI-Cloudformation.php at
YOUR_WWW_PATH/wp-content/plugins/amazon-polly/admin/
delete the region:
"Restrictions" : {
"GeoRestriction" : {
"RestrictionType" : "none"
}
},
and then GeoRestriction is disabled during CloudFormation.
You can still enable after that.
Cheers 🙂