Initializing the backend...
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
Terraform has been successfully initialized!
:warning: 注意: この時「No changes. Infrastructure is up-to-date.」と表示されるまで修正を行います。
実行結果:
Refreshing Terraform state in-memory prior to plan...
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.
Initializing the backend...
Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes.
状態の移動
Do you want to copy existing state to the new backend?
Pre-existing state was found while migrating the previous "local" backend to the
newly configured "s3" backend. No existing state was found in the newly
configured "s3" backend. Do you want to copy this state to the new "s3"
backend? Enter "yes" to copy and "no" to start with an empty state.
Enter a value: yes