Skip to content

Commit 359ab38

Browse files
authored
fix: Gitlab versioning errors with terraform 0.13 (#344)
1 parent 9d4e8eb commit 359ab38

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

examples/gitlab-repository-webhook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Note that this example may create resources which cost money. Run `terraform des
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
2323
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.45 |
24-
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | >= 3.0 |
24+
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | 3.20.0 |
2525

2626
## Providers
2727

examples/gitlab-repository-webhook/versions.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ terraform {
88
}
99

1010
gitlab = {
11+
# gitlab provider requires terraform 1.0 or later starting in 15.x.x
1112
source = "gitlabhq/gitlab"
12-
version = ">= 3.0"
13+
version = "3.20.0"
1314
}
1415
}
1516
}

modules/gitlab-repository-webhook/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
| Name | Version |
77
|------|---------|
88
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
9-
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | >= 3.0 |
9+
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | 3.20.0 |
1010

1111
## Providers
1212

1313
| Name | Version |
1414
|------|---------|
15-
| <a name="provider_gitlab"></a> [gitlab](#provider\_gitlab) | >= 3.0 |
15+
| <a name="provider_gitlab"></a> [gitlab](#provider\_gitlab) | 3.20.0 |
1616

1717
## Modules
1818

@@ -22,7 +22,7 @@ No modules.
2222

2323
| Name | Type |
2424
|------|------|
25-
| [gitlab_project_hook.this](https://registry.terraform.io/providers/gitlabhq/gitlab/latest/docs/resources/project_hook) | resource |
25+
| [gitlab_project_hook.this](https://registry.terraform.io/providers/gitlabhq/gitlab/3.20.0/docs/resources/project_hook) | resource |
2626

2727
## Inputs
2828

modules/gitlab-repository-webhook/versions.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ terraform {
33

44
required_providers {
55
gitlab = {
6-
source = "gitlabhq/gitlab"
7-
version = ">= 3.0"
6+
source = "gitlabhq/gitlab"
7+
# gitlab provider requires terraform 1.0 or later starting in 15.x.x
8+
version = "3.20.0"
89
}
910
}
1011
}

0 commit comments

Comments
 (0)