Skip to content

Commit e00acd7

Browse files
committed
adjust var name to match env
1 parent fb0f771 commit e00acd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dogfood/coder/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ data "coder_parameter" "image_type" {
151151
}
152152
}
153153

154-
variable "anthropic_api_key" {
154+
variable "coder_dogfood_anthropic_api_key" {
155155
type = string
156156
description = "The API key used to authenticate with the Anthropic API."
157157
default = ""
@@ -814,7 +814,7 @@ resource "coder_env" "anthropic_api_key" {
814814
count = local.has_ai_prompt ? data.coder_workspace.me.start_count : 0
815815
agent_id = coder_agent.dev.id
816816
name = "ANTHROPIC_API_KEY"
817-
value = var.anthropic_api_key
817+
value = var.coder_dogfood_anthropic_api_key
818818
}
819819

820820
resource "coder_app" "develop_sh" {

0 commit comments

Comments
 (0)