Consume Terraform Output in Spinnaker

We built a Terraform integration into Armory Spinnaker. With this native integration you can easily execute Terraform files and pass the output to other stages in the same pipeline.

If you have a Terraform template configured with Output Values, then you can use the Output stage to parse the output and add it to your pipeline execution context.

Here's the demo showing how the Output stage works: We'd love to hear your ideas and feedback @ http://go.Armory.io/ideas

If you have a Terraform template that has this:

output "bucket_arn" {
value = "${aws_s3_bucket.my_bucket.arn}"
}

Then you can set up an Output stage that exposes this in the pipeline execution context. For example, if you had an Output stage with the stage name “My Output Stage”, then after running the Output stage, you could access the bucket ARN with this:

${#stage('My Output Stage')["context"]["status"]["outputs"]["bucket_arn"]["value"]}

See full Spinnaker + Terrafrom integration description here.

Armory's platform exists to help software teams ship better software faster. If you want to try this feature or any other Armory features, you can:

Alex Bello

VP of Product at Armory. We enable software teams to ship better software, faster. Learn more at http://www.Armory.io