Skip to content

Commit edea3a1

Browse files
77 adopt module template to latest development guide rules (#80)
* move versions.tf to main.tf file * adding more providers * bump pre-commit version * set a version module in the bug report * set `anything else` section as non mandatory for bugs and features --------- Co-authored-by: Piotr Stawarski <[email protected]>
1 parent e93d5fb commit edea3a1

File tree

6 files changed

+39
-22
lines changed

6 files changed

+39
-22
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Bug report
22
description: File a bug/issue
33
title: "[BUG]: "
44
labels: ["bug"]
5+
# assignees:
6+
# - OPSdiyBot
57
body:
68
- type: checkboxes
79
attributes:
@@ -38,11 +40,13 @@ body:
3840
label: Environment
3941
description: |
4042
examples:
41-
- **Terraform version**: 1.3.0
42-
- **Terraform provider version**: 4.0
43+
- **Terraform version**: 1.5.5
44+
- **Terraform provider version**:5.44.0
45+
- **Terraform module version**: 0.5.1
4346
value: |
44-
- Terraform version: 0.0.0
45-
- Terraform provider version: 0.0
47+
- Terraform version: X.Y.Z
48+
- Terraform provider version: X.Y.Z
49+
- Terraform module version: X.Y.Z
4650
render: markdown
4751
validations:
4852
required: true

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Feature request
22
description: Suggest new functionality
33
title: "[FEATURE]: "
44
labels: ["enhancement"]
5+
# assignees:
6+
# - OPSdiyBot
57
body:
68
- type: checkboxes
79
attributes:
@@ -27,7 +29,7 @@ body:
2729
label: Describe alternatives you've considered
2830
description: A clear and concise description of any alternative solutions or features you've considered.
2931
validations:
30-
required: true
32+
required: false
3133
- type: textarea
3234
attributes:
3335
label: Anything else?
@@ -37,4 +39,4 @@ body:
3739
**Tip**: You can attach images or log files by clicking this area to highlight it and then dragging files in.
3840
**Tip**: You can use GitHub Gist to share your concepts/ideas.
3941
validations:
40-
required: true
42+
required: false

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
terraform 1.5.7
22
terraform-docs 0.17.0
33
tflint 0.50.3
4-
pre-commit 3.6.2
4+
pre-commit 3.7.0
5+
# python 3.11.2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module "module_name" {
2929

3030
| Name | Version |
3131
|------|---------|
32-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.1 |
32+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.5.7 |
3333

3434
## Providers
3535

main.tf

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
# Terraform code goes here
1+
terraform {
2+
required_version = ">= 1.5.7"
3+
4+
required_providers {
5+
# aws = {
6+
# source = "hashicorp/aws"
7+
# version = ">= 5.44.0"
8+
# }
9+
# azurerm = {
10+
# source = "hashicorp/azurerm"
11+
# version = ">= 3.98.0"
12+
# }
13+
# digitalocean = {
14+
# source = "digitalocean/digitalocean"
15+
# version = ">= 2.36.0"
16+
# }
17+
# github = {
18+
# source = "integrations/github"
19+
# version = ">= 6.2.1"
20+
# }
21+
}
22+
}
23+
24+
# TODO: Add resources here.

versions.tf

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)