As described here I can host my app in AWS Amplify console from AWS Amplify CLI: https://aws.amazon.com/de/blogs/aws/host-your-apps-with-aws-amplify-console-from-the-aws-amplify-cli/
Is it also possible to connect an existing app to the CLI? When I try to it with amplify add hosting
I get this message: "You have already connected branches to your Amplify Console app. Please visit the Amplify Console to manage your branches"
My goal is to have the status of the hosted app also in the CLI.
To manually deploy an app from Amazon S3 or a public URLSign in to the AWS Management Console and open the Amplify console . At the top of the page, choose Get started. In the Deliver section, choose Get started. On the Host your web app page, choose Deploy without Git provider.
To install and authorize the Amplify GitHub AppSign in to the AWS Management Console and open the Amplify console . From the All apps page, choose New app, then Host web app. On the Get started with Amplify Hosting page, choose GitHub, then choose Continue.
I managed it by deleting my app in the amplify console and recreating the hosting via the amplify CLI. The following error was displayed:
App <<appid>> not found.
But after I created a new amplify envirmoment amplify add hosting
worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With