Has anyone had react site deploys take an extremel...
# help
g
Has anyone had react site deploys take an extremely long time? Our most recent was stuck on update AWS:CloudFront:Distribution for ~40 minutes
t
If you can see the logs, was most of the time spent at invalidating the CF distribution?
g
No the invalidation only took 1m30s heres the full log output:
Copy code
13:13:23 | UPDATE_IN_PROGRESS                  | AWS::CloudFormation::Stack        | staging-softgiving-serverless-dashboard
13:13:51 | UPDATE_IN_PROGRESS                  | Custom::SSTBucketDeployment       | DashboardS3DeploymentF677370C
13:14:03 | UPDATE_COMPLETE                     | Custom::SSTBucketDeployment       | DashboardS3DeploymentF677370C
13:14:09 | UPDATE_IN_PROGRESS                  | AWS::CloudFront::Distribution     | DashboardDistribution90702DDE
13:55:19 | UPDATE_COMPLETE                     | AWS::CloudFront::Distribution     | DashboardDistribution90702DDE
13:55:43 | UPDATE_IN_PROGRESS                  | Custom::SSTCloudFrontInvalidation | DashboardCloudFrontInvalidation09DC03E8
13:57:01 | UPDATE_COMPLETE                     | Custom::SSTCloudFrontInvalidation | DashboardCloudFrontInvalidation09DC03E8
13:57:06 | UPDATE_COMPLETE_CLEANUP_IN_PROGRESS | AWS::CloudFormation::Stack        | staging-softgiving-serverless-dashboard
13:57:07 | UPDATE_COMPLETE                     | AWS::CloudFormation::Stack        | staging-softgiving-serverless-dashboard
t
Wow looks like updating the distribution to point to the new s3 folder took a super long time. I believe this does involve pushing changes to all the edge locations but that's higher than I'm used to
g
Seems to have been a one time issue everything is now taking <4mins not sure why it took so long
t
Might be an AWS issue