Terraform実習(2)
Virtual Studioコードの実行

06 TESTという名前のフォルダを作成し、vs codeで開きます.
01_main.tfという名前のファイルを作成し、ドキュメントのように内容を記録します.
コンテンツを保存してターミナルウィンドウに表示
terraform init
terraform plan
terraform apply
順番に入力して内容を確認します.「apply」コマンドをクリックします.
"Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.”
yesを打つ時だけ運転を続けます.

02_instance.tfファイルを作成し、次のように内容を配置します.
terraform init
terraform plan
terraform apply
コマンドを実行した後、awsコンソールでインスタンスの作成を検証します.
削除するコマンドは次のとおりです.
terraform destroy
applyコマンドのように「yes」を入力する必要があります.
Reference
この問題について(Terraform実習(2)), 我々は、より多くの情報をここで見つけました https://velog.io/@sykim/Terraform-실습-2テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol