fix: mark outputs as sensitive#231
Merged
lonegunmanb merged 1 commit intoAzure:masterfrom Aug 23, 2022
Merged
Conversation
Using the latest 5.0.0 + terragrunt, I have run into the following errors:
```bash
### shortened for clarity
azurerm_kubernetes_cluster.main: Creation complete after 11m7s [id=/subscriptions/xxxx/resourceGroups/resource-group/providers/Microsoft.ContainerService/managedClusters/yyyy]
│ Error: Output refers to sensitive values
│ on outputs.tf line 11:
│ 11: output "admin_client_certificate" {
│ 16: output "admin_client_key" {
│ 21: output "admin_cluster_ca_certificate" {
│ 26: output "admin_host" {
│ 31: output "admin_password" {
│ 36: output "admin_username" {
│ To reduce the risk of accidentally exporting sensitive data that was
│ intended to be only internal, Terraform requires that any root module
│ output containing sensitive data be explicitly marked as sensitive, to
│ confirm your intent.
│
│ If you do intend to export this data, annotate the output value as
│ sensitive by adding the following argument:
│ sensitive = true
╵
```
lonegunmanb
approved these changes
Aug 23, 2022
Member
lonegunmanb
left a comment
There was a problem hiding this comment.
Thanks @jvelasquez , LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using the latest 5.0.0 + terragrunt, I have run into the following errors:
Fixes #000
Changes proposed in the pull request:
sensitive = trueline into the above mentioned outputs to avoid running into this issue