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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

You are welcome! 

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

918 views 4 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