- This is an environment created for Terraform practice.
- Move your key pair file into the "my_world" directory
2. Change the value of the local variable to match your information.
3. Let’s run terraform!!
chmod 600 *.pem # chmod 600 [your key pair file]
terraform init
terraform apply --auto-approve
In the case of iPhone, when using wired tethering, the public IP sometimes does not match.
Therefore, you must create an instance and put the public IP that is actually accessed through tcpdump in bastion sg.
terraform destroy --auto-approve