Closed stormcorgi closed 1 year ago
terraform import aws_vpc.mastodon <vpc-ID>
-> aws command not installed, and no valid credentials exists :(
Terraform importで既存のAWS環境を取り込む https://zoo200.net/terraform-import/
Terraformのきほんと応用 https://zenn.dev/sway/articles/terraform_index_list
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc#import
It's already finished.
execute
terraform import <resource>.tf
and see current AWS information. Then write those informations into codes."That's one small step for man, one giant leap for SRE Engineer."