List Terraform outputs
step
Lists the outputs of the given Terraform module. The outputs of this step are the same as the Terraform outputs.
Specification
os
Optional
object
Additional packages and commands to run prior to terraform execution
os.
packages[]
Optional
array
list of apk packages to install at container execution time
os.
commands[]
Optional
array
List of shell commands to run after packages are installed but before Terrafrom executes
workspace
Optional
string
The name of the Terraform workspace to run
google
Optional
object
A mapping of Google account configuration.
google.
connection
Required
A Relay GCP connection to useConnection docs
!Connection {type: gcp, name: my-gcp-connection}
aws
Optional
object
A mapping of AWS account configuration.
aws.
connection
Required
A Relay AWS connection to useConnection docs
!Connection {type: aws, name: my-aws-connection}
aws.
region
Required
string
The AWS region to use (for example, us-west-2)
directory
Optional
string
Subdirectory of the git repository containing the Terraform config root
backendConfig
Optional
object
A map of backend configuration variables to be passed to terraform as -backend-config=key=value
git
Optional
object
A git repository containing the terraform code to run
git.
connection
Optional
A Relay SSH connection to useConnection docs
!Connection {type: ssh, name: my-ssh-connection}
git.
name
Required
string
A directory name for the git clone.
git.
branch
Optional
string
The Git branch to clone.
git.
repository
Required
string
The git repository URL.
Example step configuration
1name: terraform-step-output2image: relaysh/terraform-step-output3spec:4 directory: !Parameter directory5 git:6 connection: !Connection { type: ssh, name: my-ssh-connection }7 name: !Parameter name8 branch: !Parameter gitBranch9 repository: !Parameter gitRepository10 google:11 connection: !Connection { type: gcp, name: my-gcp-connection }12 workspace: !Secret workspace13