• Hello in cloudfront setup. I am passing the certificate validation progress but on step 2 this error is showing up.

    Caught exception in method AmazonAI_Cloudformation::check_cf_creation in class AmazonAI_Cloudformation:
    CloudFormation stack is in an unexpected state. CloudFront distribution state is and stack state is UPDATE_ROLLBACK_IN_PROGRESS

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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)

    • This reply was modified 3 years, 6 months ago by briantoronto.

    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 ??

    • This reply was modified 3 years, 6 months ago by terrychan999.
    Thread Starter chirag8838

    (@chirag8838)

    It’s working now

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CloudFront Distribution Deployment Error’ is closed to new replies.