Skip to content

Commit 0ce65b2

Browse files
fix(coder-labs/modules/sourcegraph-amp): explicitly require external provider (#519)
Co-authored-by: Atif Ali <[email protected]>
1 parent 92ab526 commit 0ce65b2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

registry/coder-labs/modules/sourcegraph-amp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run [Amp CLI](https://ampcode.com/) in your workspace to access Sourcegraph's AI
1313
```tf
1414
module "amp-cli" {
1515
source = "registry.coder.com/coder-labs/sourcegraph-amp/coder"
16-
version = "2.0.0"
16+
version = "2.0.1"
1717
agent_id = coder_agent.example.id
1818
sourcegraph_amp_api_key = var.sourcegraph_amp_api_key
1919
install_sourcegraph_amp = true
@@ -48,7 +48,7 @@ variable "amp_api_key" {
4848
module "amp-cli" {
4949
count = data.coder_workspace.me.start_count
5050
source = "registry.coder.com/coder-labs/sourcegraph-amp/coder"
51-
amp_version = "2.0.0"
51+
amp_version = "2.0.1"
5252
agent_id = coder_agent.example.id
5353
amp_api_key = var.amp_api_key # recommended for tasks usage
5454
workdir = "/home/coder/project"

registry/coder-labs/modules/sourcegraph-amp/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ terraform {
66
source = "coder/coder"
77
version = ">= 2.7"
88
}
9+
external = {
10+
source = "hashicorp/external"
11+
version = "2.3.5"
12+
}
913
}
14+
1015
}
1116

1217
variable "agent_id" {

0 commit comments

Comments
 (0)