Skip to content

Commit

Permalink
fix spotinst token exposure by using set_sensitive (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrmr33 authored Jul 28, 2024
1 parent 1df4b9b commit f9cfa14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "helm_release" "ocean-kubernetes-controller" {
]

# ...Or set values directly from variables
dynamic "set" {
dynamic "set_sensitive" {
for_each = var.spotinst_token != null ? [1] : []
content {
name = "spotinst.token"
Expand Down

0 comments on commit f9cfa14

Please sign in to comment.