From 9cc2a37940953ee7e1ffbb59cbed19da265b604b Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 27 Dec 2023 16:58:13 +0300 Subject: [PATCH] Update coder_env resource names for Go proxy --- jfrog-oauth/main.tf | 2 +- jfrog-token/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jfrog-oauth/main.tf b/jfrog-oauth/main.tf index 9a07bd7..41a66d1 100644 --- a/jfrog-oauth/main.tf +++ b/jfrog-oauth/main.tf @@ -119,7 +119,7 @@ resource "coder_env" "jfrog_ide_store_connection" { value = true } -resource "coder_env" "go_proxy" { +resource "coder_env" "goproxy" { count = lookup(var.package_managers, "go", "") == "" ? 0 : 1 agent_id = var.agent_id name = "GOPROXY" diff --git a/jfrog-token/main.tf b/jfrog-token/main.tf index a740cdf..2f6edd9 100644 --- a/jfrog-token/main.tf +++ b/jfrog-token/main.tf @@ -152,7 +152,7 @@ resource "coder_env" "jfrog_ide_store_connection" { value = true } -resource "coder_env" "go_proxy" { +resource "coder_env" "goproxy" { count = lookup(var.package_managers, "go", "") == "" ? 0 : 1 agent_id = var.agent_id name = "GOPROXY"