Closed dereke55 closed 2 years ago
Upon further testing, it seems the changes ARE reflected on the "App Id" subdomain:
https://[app_name].[app_id].amplifyapp.com
but are not being displayed when using the custom domain
I just started using Amplify yesterday and bumped into this exact problem when trying to update the app. Did it ever work before? Maybe it only works when deploying from repositories?
P.S. It looks like this issue is probably the same as this one: https://github.com/aws-amplify/amplify-hosting/issues/2846 P.S.2 I note that the CloudFront distribution serving the app does not belong to the AWS account. Apparently, it is managed (which itself is questionable — how does billing for it work?). If it was accessible, it would be possible to simply create an invalidation.
Thank you @greendrake for referencing #2846 - I missed this.
I have deployed this way for over a year without issue, so I'm not sure what has changed.
re: CloudFront - when originally setting up the Amplify project and deployment, there was some "automagic" related to CloudFront. I'm not following re: "I note that the CloudFront distribution serving the app does not belong to the AWS account".
It does feel like something has changed or there is a sync / cache issue.
I'm not following re: "I note that the CloudFront distribution serving the app does not belong to the AWS account".
I just mean that the CF distribution (which is part of the Amplify deployment) is not accessible to us. You only can see it referenced in Route 53 attached to your custom domain A record, but if you go to the CloudFront console it won't be in there (otherwise we could just create an invalidation to bust the cache).
Ah yes. I completely agree.
Any update on this (or related) issue? I don't want to start changing DNS settings and/or recreate Amplify project if there is information that can help debug and resolve this.
Any update on this (or related) issue?
I have ditched Amplify for S3+CloudFront, and happy with it.
Any update on this (or related) issue?
I have ditched Amplify for S3+CloudFront, and happy with it.
Good to know. Thank you!
I was able to force the update / sync by following the steps from @soplan in #2844:
We've root-caused the issue and are currently working on the fix. In the meantime, please use one of the following workarounds:
Closing as duplicate of #2846. Please defer to that issue for any updates.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Before opening, please confirm:
App Id
d1prdls927k8sp
Region
us-east-2
Amplify Hosting feature
Manual deploys
Describe the bug
Upon building React application locally, and then 'drag & drop' the
build
folder from local windows explorer onto theChoose files
area of the AWS UI, wait for the deployment to complete - status changes toDeployment successfully completed
, and then refreshing web page (via custom domain), the changes are not reflected.Expected behavior
Upon successful deployment, and refresh of web page, the changes should be reflected
Reproduction steps
yarn build
build
folder from Windows Explorer on toChoose files
portion of the AWS Web UIDeployment successfully completed
Build Settings
No response
Additional information