Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,137
Community Members
 
Community Events
165
Community Groups

My Bamboo plan runs a terraform to create a Centos VM and it outputs the IP address and I need it

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

1 answer

 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

956 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you