local_sensitive_file (Resource)

Generates a local file with the given sensitive content.

The arguments accepted by this resource are marked as sensitive.

Example Usage

resource "local_sensitive_file" "foo" {
  content  = "foo!"
  filename = "${path.module}/foo.bar"
}

Schema

Required

Optional

Read-Only