Skip to content

Fix using sensitive outputs from digitalocean_kubernetes_cluster reso…#22

Merged
anmolnagpal merged 1 commit intoterraform-do-modules:masterfrom
nicolas-laduguie:fix-sensitive-outputs
Feb 19, 2025
Merged

Fix using sensitive outputs from digitalocean_kubernetes_cluster reso…#22
anmolnagpal merged 1 commit intoterraform-do-modules:masterfrom
nicolas-laduguie:fix-sensitive-outputs

Conversation

@nicolas-laduguie
Copy link
Contributor

This is to fix terraform errors when using the module:


 ╷
  │ Error: Output refers to sensitive values
  │
  │   on outputs.tf line 53:
  │   53: output "local_file" {
  │
  │ 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
  ╵
  ╷
  │ Error: Output refers to sensitive values
  │
  │   on outputs.tf line 57:
  │   57: output "token" {
  │
  │ 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
  ╵
  ╷
  │ Error: Output refers to sensitive values
  │
  │   on outputs.tf line 62:
  │   62: output "cluster_ca_certificate" {
  │
  │ 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
  ╵

  exit status 1

…urce requires flagging module's outputs as sensitive
@anmolnagpal anmolnagpal enabled auto-merge (squash) February 19, 2025 20:12
@anmolnagpal anmolnagpal requested review from a team, VishwajitNagulkar and anmolnagpal and removed request for a team February 19, 2025 20:12
@clouddrove-ci clouddrove-ci self-requested a review February 19, 2025 20:13
@anmolnagpal anmolnagpal merged commit 075d3d8 into terraform-do-modules:master Feb 19, 2025
14 of 16 checks passed
@anmolnagpal
Copy link
Collaborator

Thank you for the pull request @nicolas-laduguie new tag has been released https://github.com/terraform-do-modules/terraform-digitalocean-kubernetes/releases/tag/1.1.1

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

Successfully merging this pull request may close these issues.

3 participants