Skip to main content

Consume Terraform Output in Spinnaker

Jun 5, 2019 by Alex Bello

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:

Recently Published Posts

July 26, 2021
|
by Phebe Vickers

A day in the life of a TAM

I’ve been asked what a Technical Account Manager (TAM) does so I wanted to take the opportunity to illustrate it by walking through a standard day in the life. Before we can look at what a day in a life of a TAM is, I should provide some background in what is a TAM and […]

Read more

June 29, 2021
|
by Nikema Prophet

Nikema’s Spinnaker Summit 2021 Recap

My Second Spinnaker Summit is in the Books! Last week I attended and spoke at my second Spinnaker Summit. Like last year’s summit, it was fully virtual. This time Spinnaker Summit was co-located with cdCon and took place on the Hopin platform. Last year, I spoke on a panel about Black professionals a few months […]

Read more

June 28, 2021
|
by Stephen Atwell

Announcing General Availability of Armory Policy Engine Plugin

Armory Policy Engine provides support for automating policy compliance with Spinnaker. Policy Engine Plugin is the latest version of Policy Engine and adds support for both advanced role-based access control (RBAC) use-cases and open source Spinnaker. The release of Policy Engine Plugin comes with new documentation, including a library of example policies from across Armory’s […]

Read more