Trying to follow AWS Amplify hands-on code to build a React Application:
https://aws.amazon.com/getting-started/hands-on/build-react-app-amplify-graphql/
Only issue was trying to configure custom domain in Amplify.
This article helped: https://docs.aws.amazon.com/amplify/latest/userguide/to-add-a-custom-domain-managed-by-google-domains.html
Remember: Under DNS > Custom resource records > Change "A" to "CNAME"
ANAME is not available for google domains.
Instead, do this setting in "Synthetic Records" (above "Custom resource records" in Google Domains > DNS)
Wait for some time and your site will be online in some time.
Reached the end of module 2: Took more than an hour, with distractions.
Amplify CLI Setup done.
Site at https://www.rahultiwari.dev/ looks like this:
7:30 PM Something broke, site down. Seems to be an error in the steps defined. Reported to AWS. Or I could have just as well croaked.
10:30 PM Update:
https://github.com/aws-amplify/amplify-cli/issues/6117#issuecomment-754943890
Hard-coded the amplify version, this worked.
Debugging is enjoyable.
Site deployed to https://amplifyapp.rahultiwari.dev/
Comments
Post a Comment