🎉

AWS Amplify ハンズオンをやってみた(6)

2023/03/21に公開

はじめに

この記事は、AWS Amplify ハンズオンをやってみた(5)のつづきです。
下記リンクの07 本シリーズのまとめ、リソースの削除の動画を見ながら作業しています。

https://pages.awscloud.com/JAPAN-event-OE-Hands-on-for-Beginners-amplify-2022-confirmation-774.html

リソースの削除

アプリケーションのルートディレクトリに移動してリソースの削除を行なっていきます。
下記コマンドを実行します。

amplify delete

本当に削除していいですかと聞かれるので、yを選択します。

$ amplify delete
? Are you sure you want to continue? This CANNOT be undone. (This will delete all the environments of the project from the cloud and wipe out all the local files created by Amplify CLI) (y/N) ‣ 
$ amplify delete
✔ Are you sure you want to continue? This CANNOT be undone. (This will delete all the environments of the project from the cloud and wipe out all the local files created by Amplify CLI) (y/N) · yes
⠋ Deleting resources from the cloud. This will take a few minutes.
Deleting env: dev.
✔ Project deleted in the cloud.
✅ Project deleted locally.

実際に削除できているかどうかを確認していきます。
publish したURLにアクセスしても何も表示されていないことを確認。

AppSyncにアクセスしてリソースが削除されていることを確認。

DynamoDBにアクセスしてリソースが削除されていることを確認。

Cognitoにアクセスしてリソースが削除されていることを確認。

次にCloud9の環境を削除していきます。
Cloud9にアクセスして、

最後に

はい、これで全ての作業が完了できました。
初めてやったので多少戸惑いはあったものの、最後までやり切ることができました。
今後もっと色々と触ってみて知見を増やしていきたいです。

GitHubで編集を提案

Discussion