Open3
terraform x gcp 素振り

業務で使う必要が出てきたため調査する。
参考資料

Google Cloud SDK
- gcpアカウント作成
- プロジェクト作成
- 支払い設定からクレカを登録 (無料クレジットが付与される)
- SDK CLIインストール
$ ./google-cloud-sdk/install.sh
$ ./google-cloud-sdk/bin/gcloud init
# => ログインとプロジェクト指定
- Cloud Resource Manager APIの有効化
gcloud services enable compute.googleapis.com
gcloud services enable storage-component.googleapis.com
gcloud services enable storage.googleapis.com

terraformインストール
$ asdf plugin add terraform
$ asdf install terraform latest
$ asdf global terraform 1.5.6
$ terraform -v
$ => 1.5.6