Skip to content

Commit 2bef68a

Browse files
authored
chore: correct versions used and required versions (#183)
1 parent 0045f08 commit 2bef68a

File tree

12 files changed

+59
-20
lines changed

12 files changed

+59
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ allow_github_webhooks = true
166166

167167
| Name | Version |
168168
|------|---------|
169-
| terraform | >= 0.12.7 |
169+
| terraform | >= 0.13 |
170170
| aws | >= 2.68 |
171171
| random | >= 2.0 |
172172

examples/github-complete/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ Go to https://eu-west-1.console.aws.amazon.com/ecs/home?region=eu-west-1#/settin
2929

3030
| Name | Version |
3131
|------|---------|
32-
| terraform | >= 0.12.7 |
32+
| terraform | >= 0.13 |
3333
| aws | >= 2.68 |
34+
| github | >= 2.4.1 |
3435

3536
## Providers
3637

examples/github-complete/versions.tf

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
terraform {
2-
required_version = ">= 0.12.7"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
aws = ">= 2.68"
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 2.68"
8+
}
9+
10+
github = {
11+
source = "integrations/github"
12+
version = ">= 2.4.1"
13+
}
614
}
715
}

examples/github-repository-webhook/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ Note that this example may create resources which cost money. Run `terraform des
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7 |
24+
| terraform | >= 0.13 |
2525
| aws | >= 2.68 |
26+
| github | >= 2.4.1 |
2627

2728
## Providers
2829

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
terraform {
2-
required_version = ">= 0.12.7"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
aws = ">= 2.68"
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 2.68"
8+
}
9+
10+
github = {
11+
source = "integrations/github"
12+
version = ">= 2.4.1"
13+
}
614
}
715
}

examples/gitlab-repository-webhook/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ Note that this example may create resources which cost money. Run `terraform des
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.7 |
22+
| terraform | >= 0.13 |
2323
| aws | >= 2.68 |
24+
| gitlab | >= 3.0 |
2425

2526
## Providers
2627

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
terraform {
2-
required_version = ">= 0.12.7"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
aws = ">= 2.68"
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 2.68"
8+
}
9+
10+
gitlab = {
11+
source = "gitlabhq/gitlab"
12+
version = ">= 3.0"
13+
}
614
}
715
}

modules/github-repository-webhook/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Name | Version |
77
|------|---------|
8-
| terraform | >= 0.12.7 |
8+
| terraform | >= 0.13 |
99
| github | >= 2.4.1 |
1010

1111
## Providers
@@ -22,7 +22,7 @@ No Modules.
2222

2323
| Name |
2424
|------|
25-
| [github_repository_webhook](https://registry.terraform.io/providers/hashicorp/github/2.4.1/docs/resources/repository_webhook) |
25+
| [github_repository_webhook](https://registry.terraform.io/providers/integrations/github/2.4.1/docs/resources/repository_webhook) |
2626

2727
## Inputs
2828

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
terraform {
2-
required_version = ">= 0.12.7"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
github = ">= 2.4.1"
5+
github = {
6+
source = "integrations/github"
7+
version = ">= 2.4.1"
8+
}
69
}
710
}

modules/gitlab-repository-webhook/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
| Name | Version |
77
|------|---------|
88
| terraform | >= 0.13 |
9+
| gitlab | >= 3.0 |
910

1011
## Providers
1112

1213
| Name | Version |
1314
|------|---------|
14-
| gitlab | n/a |
15+
| gitlab | >= 3.0 |
1516

1617
## Modules
1718

@@ -21,7 +22,7 @@ No Modules.
2122

2223
| Name |
2324
|------|
24-
| [gitlab_project_hook](https://registry.terraform.io/providers/gitlabhq/gitlab/latest/docs/resources/project_hook) |
25+
| [gitlab_project_hook](https://registry.terraform.io/providers/gitlabhq/gitlab/3.0/docs/resources/project_hook) |
2526

2627
## Inputs
2728

modules/gitlab-repository-webhook/versions.tf

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ terraform {
33

44
required_providers {
55
gitlab = {
6-
source = "gitlabhq/gitlab"
6+
source = "gitlabhq/gitlab"
7+
version = ">= 3.0"
78
}
89
}
910
}

versions.tf

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
terraform {
2-
required_version = ">= 0.12.7"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
aws = ">= 2.68"
6-
random = ">= 2.0"
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 2.68"
8+
}
9+
10+
random = {
11+
source = "hashicorp/random"
12+
version = ">= 2.0"
13+
}
714
}
815
}

0 commit comments

Comments
 (0)