Working with Output Variable for Terraform
- We can save output variable that are generate after creation any resource like Public IP after EC2 creation and later use it
- Lets create a file namely output.tf, please refer this link
- Run terraform:
terraform apply