From 96a64273dc887aee78ebf6840f695fb61e8fd576 Mon Sep 17 00:00:00 2001 From: Ryan Haney <25014745+thathaneydude@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:06:59 -0500 Subject: [PATCH] fixing usage example and making license key a sensitive variable --- README.md | 4 ++-- variables.tf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 897cdcb..71d667d 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ Terraform for Corelight's Azure Cloud Sensor Deployment. overview ## Usage -```hcl -resource "sensor" { +```terraform +module "sensor" { source = "github.com/corelight/terraform-azure-sensor" license_key = "" diff --git a/variables.tf b/variables.tf index 024aa2b..fda3a6c 100644 --- a/variables.tf +++ b/variables.tf @@ -11,6 +11,7 @@ variable "resource_group_name" { variable "license_key" { description = "Your Corelight sensor license key" type = string + sensitive = true } variable "virtual_network_name" {