My Bamboo plan runs a terraform script to create a Centos VM and it outputs the IP address and I need it so I can SSH to it in the next steps
I am a noob and have no idea how to get it
Find the provider reference for your cloud provider.
And see what they offer for output values of instances.
Make an output.tf file with the value of the VM's IP address
AWS Example
output "instance_ip_addr" {
value = aws_instance.server.private_ip
}
After you run the terraform plan, the IP address should be listed in the output.
I hope this helps get you on the right path to find the IP.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.