Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I run terraform apply from Bamboo? Edited

I have tried adding a server capability type executable command defining the path were terraform is install in the Bamboo server. However when running a local agent I get:

/opt/bamboo-home/temp/..611127650554.sh: line 6: /usr/bin/terraform: No such file or directory

1 answer

0 votes

Hi! 

 

@Victor Damian-Chicon have you checked under bamboo user visibility of the /usr/bin/terraform ?

Capability, used like the filter of the your agents. 

Cheers,

Gonchik Tsymzhitov

Thank you. Im a noob of course. It helps if I work on the right server : ( . ....
so

  • installed terraform in /usr/bin/terraform (in the right server this time ¯\_(ツ)_/¯)
  • /usr/bin/ is in the bamboo path (URL..../admin/systemInfo.action or install_dir.../bin/setenv.sh)
  • added Server Capability terraform Executable -> Command -> path /usr/bin/terraform (URL..../admin/agent/configureSharedLocalCapabilities.action)
  • Created Plan -> Job -> task -> script -> shell -> inline -> body .... and

           green logs:

            terraform -v

           Terraform v0.11.10

 

Thank you Gonchik Tsymzhitov

Like manoj reddy gajjala likes this

You are welcome! 

Suggest an answer

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

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

101 views 0 7
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