Terraform console usage example

If we are continuing from the last post to provision a EC2 instance.

To view its's instance IP after it was provisioned (after terraform apply) use the console:

$ terraform console
> aws_instance.dev_node.public_ip
"54.204.69.14"