hashicorp / hashicorp/tfc-workflows-github

Flattened output in the workspace output action

Open
#2,984 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
178
Forks
30
PR merge metrics
No merged PRs in 30d

Description

The output produced by the workspace-output is flattened. For example I have the following output values defined in tf:

```
output "url" {
value = {
"url" = "url"
}

}

output "username" {
value = {
"username" = "username"
}

}

output "password" {
value = {
"password" = "password"
}

}
```
and the output I get from the action is:
`[name:password,name:url,name:username] [name:password,name:url,value:{username:username}] [name:password,value:{url:url},name:username] [name:password,value:{url:url},value:{username:username}] [value:{password:password},name:url,name:username] [value:{password:password},name:url,value:{username:username}] [value:{password:password},value:{url:url},name:username] [value:{password:password},value:{url:url},value:{username:username}]`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.