Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when attempting to output kube_config_raw #80

Closed
gfortil opened this issue Jul 21, 2021 · 3 comments
Closed

Error when attempting to output kube_config_raw #80

gfortil opened this issue Jul 21, 2021 · 3 comments

Comments

@gfortil
Copy link

gfortil commented Jul 21, 2021

Error: Output refers to sensitive values
│ 
│   on .terraform/modules/kubernetes/output.tf line 32:
│   32: output "kube_config_raw" {
│ 
│ Expressions used in outputs can only refer to sensitive values if the sensitive attribute is true.

should azurerm_kubernetes_cluster.aks.kube_admin_config_raw be assigned to a variable with a sensitive attribute before being outputted?

@fabiendelpierre
Copy link
Member

The error suggests it's a bug/oversight in our code here. This output resource should have sensitive = true. At least that's what the error is saying (the sensitive argument is supported not only in input variables, but also in outputs).

@gfortil
Copy link
Author

gfortil commented Jul 21, 2021

yeah, we need a sensitive attribute in this output.

@dutsmiller
Copy link
Contributor

v4.2.1

#82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants