Skip to content

Commit ff0c130

Browse files
authored
Update issue templates
1 parent b58a2f3 commit ff0c130

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
---
2+
name: Workspace Template Bug Report
3+
about: Workspace template yielded incorrect parameters.
4+
title: "[BUG] Workspace template behavior"
5+
labels: ''
6+
assignees: Emyrk
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is. Was the parameter value/description/options/etc incorrect? Did you encounter an error you did not expect? Did you expect to encounter an error, and did not?
12+
13+
**Expected behavior**
14+
A clear and concise description of what you expected to happen. What was the parameter supposed to look like?
15+
16+
**Offending Template**
17+
Provide the most minimal workspace template that reproduces the bug. Try to remove any non-coder terraform blocks. Only `data "coder_parameter"` and `data "coder_workspace_tags"` with any supporting or referenced blocks are required.
18+
19+
If the template is a single `main.tf`, please include the `main.tf` in the collapsible section below. If there are multiple files, either attach the files, or create a public github repository with the directory structure. Try to avoid attaching zips or tarballs.
20+
21+
22+
<details>
23+
24+
<summary>Template `main.tf`</summary>
25+
26+
```terraform
27+
# Replace this with your `main.tf`
28+
terraform {
29+
required_providers {
30+
coder = {
31+
source = "coder/coder"
32+
version = "2.3.0"
33+
}
34+
}
35+
}
36+
37+
data "coder_parameter" "region" {
38+
name = "region"
39+
description = "Which region would you like to deploy to?"
40+
type = "string"
41+
default = "us"
42+
order = 1
43+
44+
option {
45+
name = "Europe"
46+
value = "eu"
47+
}
48+
option {
49+
name = "United States"
50+
value = "us"
51+
}
52+
}
53+
```
54+
55+
</details>
56+
57+
**Screenshots**
58+
If applicable, add screenshots to help explain your problem.
59+
60+
**Tooling (please complete the following information):**
61+
- Terraform Version: [e.g. v1.11.2]
62+
- Coderd Version [e.g. chrome, v2.20.2]
63+
- Coder Provider Version [e.g. 2.3.0, if not in the `main.tf`]
64+
65+
**Additional context**
66+
Add any other context about the problem here.

0 commit comments

Comments
 (0)