美文网首页
Output sensitive data with Terra

Output sensitive data with Terra

作者: Anoyi | 来源:发表于2022-11-24 16:11 被阅读0次

Solution 1:

Use the nonsensitive function in the output

output "token_value" {
 value = nonsensitive(tfe_team_token.test.token)
}

Solution 2:

Output the data raw

Add the sensitive option to the output

output "token_value" {
 value = tfe_team_token.test.token
 sensitive = true
}

Use terraform output command

terraform output -raw token_value

相关文章

网友评论

      本文标题:Output sensitive data with Terra

      本文链接:https://www.haomeiwen.com/subject/kbvzxdtx.html