From 340afae12fcb2c3fbb5bd47f17de516883d944a4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 26 Feb 2024 19:46:43 +0500 Subject: [PATCH] Add project_id variable to HCP provider --- hcp-vault-secrets/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hcp-vault-secrets/main.tf b/hcp-vault-secrets/main.tf index 40ab283..5813668 100644 --- a/hcp-vault-secrets/main.tf +++ b/hcp-vault-secrets/main.tf @@ -16,6 +16,7 @@ terraform { provider "hcp" { client_id = var.client_id client_secret = var.client_secret + project_id = var.project_id } provider "coder" {} @@ -25,6 +26,11 @@ variable "agent_id" { description = "The ID of a Coder agent." } +variable "project_id" { + type = string + description = "The ID of the HCP project." +} + variable "client_id" { type = string description = <<-EOF