Skip to content

Commit

Permalink
fix: Gitlab versioning errors with terraform 0.13 (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamike committed May 12, 2023
1 parent 9d4e8eb commit 359ab38
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/gitlab-repository-webhook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Note that this example may create resources which cost money. Run `terraform des
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.45 |
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | >= 3.0 |
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | 3.20.0 |

## Providers

Expand Down
3 changes: 2 additions & 1 deletion examples/gitlab-repository-webhook/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ terraform {
}

gitlab = {
# gitlab provider requires terraform 1.0 or later starting in 15.x.x
source = "gitlabhq/gitlab"
version = ">= 3.0"
version = "3.20.0"
}
}
}
6 changes: 3 additions & 3 deletions modules/gitlab-repository-webhook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | >= 3.0 |
| <a name="requirement_gitlab"></a> [gitlab](#requirement\_gitlab) | 3.20.0 |

## Providers

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

## Modules

Expand All @@ -22,7 +22,7 @@ No modules.

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

## Inputs

Expand Down
5 changes: 3 additions & 2 deletions modules/gitlab-repository-webhook/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ terraform {

required_providers {
gitlab = {
source = "gitlabhq/gitlab"
version = ">= 3.0"
source = "gitlabhq/gitlab"
# gitlab provider requires terraform 1.0 or later starting in 15.x.x
version = "3.20.0"
}
}
}

0 comments on commit 359ab38

Please sign in to comment.