Add project_id variable to HCP provider

pull/173/head
Muhammad Atif Ali 1 year ago
parent 08adb4a839
commit 340afae12f

@ -16,6 +16,7 @@ terraform {
provider "hcp" { provider "hcp" {
client_id = var.client_id client_id = var.client_id
client_secret = var.client_secret client_secret = var.client_secret
project_id = var.project_id
} }
provider "coder" {} provider "coder" {}
@ -25,6 +26,11 @@ variable "agent_id" {
description = "The ID of a Coder agent." description = "The ID of a Coder agent."
} }
variable "project_id" {
type = string
description = "The ID of the HCP project."
}
variable "client_id" { variable "client_id" {
type = string type = string
description = <<-EOF description = <<-EOF

Loading…
Cancel
Save