Open nilyin opened 5 months ago
Hi, can somebody get back to me with information on how can I get my current Amplify project distribution id? I visited CloudFront console page, but it has no distributions for my account with Amplify hosted project - https://us-east-1.console.aws.amazon.com/cloudfront/v4/home?region=us-east-1#/welcome
Hey, @nilyin 👋. Appreciate your patience on a response. Can you see if the steps detailed within this AWS re:Post article can help resolve the issue? In the mean time, I'll reach out to our Hosting team to see if there are further steps to take to unblock you.
Hi @cwomack : the recommendations from this post are not applicable as I am using Amplify app, for which I don't know how to get my app's distribution-id
(target distribution-id). So that I am not able to use AWS CLI commands described there, as these rely on this parameter.
@cwomack hi. is there any progress for this issue resolution? If you think it is specific only for my case I am ready for a call to illustrate the problem.
Before opening, please confirm:
JavaScript Framework
Vue
Amplify APIs
GraphQL API
Amplify Version
v5
Amplify Categories
auth, storage, function, api, hosting
Backend
Amplify CLI
Environment information
Describe the bug
adding cutom domain resulted to the following message:
I've checked where my subdomains are pointing to (with dig command and online tools). They point correctly to url provided in amplify web console for domain management.
i suspect that subdomain can be connected to one of my previousd amplify account that has been discontinued a few years ago. if so, it looks like a bug.
i was also trying to use
aws cloudfront list-conflicting-aliases --distribution-id ??? --alias name.mydomain.me
but always got:The specified distribution does not exist.
I tried use hosting url and stackId but they do not work fordistribution-id
param. Pls help to solve the problem and advise on how can i getdistribution-id
for my amplify dev and prod environments deployed in amplify cloud.Expected behavior
custom domain is validated and added
Reproduction steps
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response