Skip to content

Commit 9f2dc01

Browse files
chore(main): release 7.5.0 (#1108)
🤖 I have created a release *beep* *boop* --- ## [7.5.0](7.4.0...7.5.0) (2024-04-11) ### Features * add field `create_aws_s3_bucket_public_access_block` to variable `runner_worker_cache` ([#1105](#1105)) ([aa93e76](aa93e76)) ### Bug Fixes * do not deregister GitLab tokens which are still in use ([#1102](#1102)) ([9cdab00](9cdab00)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: cattle-ops-releaser-2[bot] <134548870+cattle-ops-releaser-2[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 9cdab00 commit 9f2dc01

File tree

10 files changed

+48
-35
lines changed

10 files changed

+48
-35
lines changed

Diff for: .github/.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "7.4.0"
2+
".": "7.5.0"
33
}

Diff for: CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [7.5.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/7.4.0...7.5.0) (2024-04-11)
4+
5+
6+
### Features
7+
8+
* add field `create_aws_s3_bucket_public_access_block` to variable `runner_worker_cache` ([#1105](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1105)) ([aa93e76](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/aa93e768a1e2d414197feea1330ff3290f65dbb2))
9+
10+
11+
### Bug Fixes
12+
13+
* do not deregister GitLab tokens which are still in use ([#1102](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/1102)) ([9cdab00](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/9cdab00b636bd1e32cfe4550e2420b9e02f9cfe2))
14+
315
## [7.4.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/7.3.1...7.4.0) (2024-02-15)
416

517

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
8585

8686
| Name | Version |
8787
|------|---------|
88-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
89-
| <a name="provider_local"></a> [local](#provider\_local) | 2.4.1 |
88+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
89+
| <a name="provider_local"></a> [local](#provider\_local) | 2.5.1 |
9090
| <a name="provider_tls"></a> [tls](#provider\_tls) | 4.0.5 |
9191

9292
## Modules
@@ -187,7 +187,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
187187
| <a name="input_runner_terminate_ec2_lifecycle_hook_name"></a> [runner\_terminate\_ec2\_lifecycle\_hook\_name](#input\_runner\_terminate\_ec2\_lifecycle\_hook\_name) | Specifies a custom name for the ASG terminate lifecycle hook and related resources. | `string` | `null` | no |
188188
| <a name="input_runner_terraform_timeout_delete_asg"></a> [runner\_terraform\_timeout\_delete\_asg](#input\_runner\_terraform\_timeout\_delete\_asg) | Timeout when trying to delete the Runner ASG. | `string` | `"10m"` | no |
189189
| <a name="input_runner_worker"></a> [runner\_worker](#input\_runner\_worker) | For detailed information, check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runners-section.<br><br>environment\_variables = List of environment variables to add to the Runner Worker (environment).<br>max\_jobs = Number of jobs which can be processed in parallel by the Runner Worker.<br>output\_limit = Sets the maximum build log size in kilobytes. Default is 4MB (output\_limit).<br>request\_concurrency = Limit number of concurrent requests for new jobs from GitLab (default 1) (request\_concurrency).<br>ssm\_access = Allows to connect to the Runner Worker via SSM.<br>type = The Runner Worker type to use. Currently supports `docker+machine` or `docker`. | <pre>object({<br> environment_variables = optional(list(string), [])<br> max_jobs = optional(number, 0)<br> output_limit = optional(number, 4096)<br> request_concurrency = optional(number, 1)<br> ssm_access = optional(bool, false)<br> type = optional(string, "docker+machine")<br> })</pre> | `{}` | no |
190-
| <a name="input_runner_worker_cache"></a> [runner\_worker\_cache](#input\_runner\_worker\_cache) | Configuration to control the creation of the cache bucket. By default the bucket will be created and used as shared<br>cache. To use the same cache across multiple Runner Worker disable the creation of the cache and provide a policy and<br>bucket name. See the public runner example for more details."<br><br>For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscaches3-section<br><br>access\_log\_bucker\_id = The ID of the bucket where the access logs are stored.<br>access\_log\_bucket\_prefix = The bucket prefix for the access logs.<br>authentication\_type = A string that declares the AuthenticationType for [runners.cache.s3]. Can either be 'iam' or 'credentials'<br>bucket = Name of the cache bucket. Requires `create = false`.<br>bucket\_prefix = Prefix for s3 cache bucket name. Requires `create = true`.<br>create = Boolean used to enable or disable the creation of the cache bucket.<br>expiration\_days = Number of days before cache objects expire. Requires `create = true`.<br>include\_account\_id = Boolean used to include the account id in the cache bucket name. Requires `create = true`.<br>policy = Policy to use for the cache bucket. Requires `create = false`.<br>random\_suffix = Boolean used to enable or disable the use of a random string suffix on the cache bucket name. Requires `create = true`.<br>shared = Boolean used to enable or disable the use of the cache bucket as shared cache.<br>versioning = Boolean used to enable versioning on the cache bucket. Requires `create = true`. | <pre>object({<br> access_log_bucket_id = optional(string, null)<br> access_log_bucket_prefix = optional(string, null)<br> authentication_type = optional(string, "iam")<br> bucket = optional(string, "")<br> bucket_prefix = optional(string, "")<br> create = optional(bool, true)<br> expiration_days = optional(number, 1)<br> include_account_id = optional(bool, true)<br> policy = optional(string, "")<br> random_suffix = optional(bool, false)<br> shared = optional(bool, false)<br> versioning = optional(bool, false)<br> })</pre> | `{}` | no |
190+
| <a name="input_runner_worker_cache"></a> [runner\_worker\_cache](#input\_runner\_worker\_cache) | Configuration to control the creation of the cache bucket. By default the bucket will be created and used as shared<br>cache. To use the same cache across multiple Runner Worker disable the creation of the cache and provide a policy and<br>bucket name. See the public runner example for more details."<br><br>For detailed documentation check https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-runnerscaches3-section<br><br>access\_log\_bucker\_id = The ID of the bucket where the access logs are stored.<br>access\_log\_bucket\_prefix = The bucket prefix for the access logs.<br>authentication\_type = A string that declares the AuthenticationType for [runners.cache.s3]. Can either be 'iam' or 'credentials'<br>bucket = Name of the cache bucket. Requires `create = false`.<br>bucket\_prefix = Prefix for s3 cache bucket name. Requires `create = true`.<br>create = Boolean used to enable or disable the creation of the cache bucket.<br>create\_aws\_s3\_bucket\_public\_access\_block = Boolean used to enable or disable the creation of the public access block for the cache bucket. Useful when organizations do not allow the creation of public access blocks on individual buckets (e.g. public access is blocked on all buckets at the organization level).<br>expiration\_days = Number of days before cache objects expire. Requires `create = true`.<br>include\_account\_id = Boolean used to include the account id in the cache bucket name. Requires `create = true`.<br>policy = Policy to use for the cache bucket. Requires `create = false`.<br>random\_suffix = Boolean used to enable or disable the use of a random string suffix on the cache bucket name. Requires `create = true`.<br>shared = Boolean used to enable or disable the use of the cache bucket as shared cache.<br>versioning = Boolean used to enable versioning on the cache bucket. Requires `create = true`. | <pre>object({<br> access_log_bucket_id = optional(string, null)<br> access_log_bucket_prefix = optional(string, null)<br> authentication_type = optional(string, "iam")<br> bucket = optional(string, "")<br> bucket_prefix = optional(string, "")<br> create = optional(bool, true)<br> create_aws_s3_bucket_public_access_block = optional(bool, true)<br> expiration_days = optional(number, 1)<br> include_account_id = optional(bool, true)<br> policy = optional(string, "")<br> random_suffix = optional(bool, false)<br> shared = optional(bool, false)<br> versioning = optional(bool, false)<br> })</pre> | `{}` | no |
191191
| <a name="input_runner_worker_docker_add_dind_volumes"></a> [runner\_worker\_docker\_add\_dind\_volumes](#input\_runner\_worker\_docker\_add\_dind\_volumes) | Add certificates and docker.sock to the volumes to support docker-in-docker (dind) | `bool` | `false` | no |
192192
| <a name="input_runner_worker_docker_machine_ami_filter"></a> [runner\_worker\_docker\_machine\_ami\_filter](#input\_runner\_worker\_docker\_machine\_ami\_filter) | List of maps used to create the AMI filter for the Runner Worker. | `map(list(string))` | <pre>{<br> "name": [<br> "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*"<br> ]<br>}</pre> | no |
193193
| <a name="input_runner_worker_docker_machine_ami_owners"></a> [runner\_worker\_docker\_machine\_ami\_owners](#input\_runner\_worker\_docker\_machine\_ami\_owners) | The list of owners used to select the AMI of the Runner Worker. | `list(string)` | <pre>[<br> "099720109477"<br>]</pre> | no |

Diff for: examples/runner-certificates/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ For **user images**, you must:
139139
| Name | Version |
140140
|------|---------|
141141
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
142-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.36.0 |
143-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
142+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.44.0 |
143+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
144144
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
145145
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
146146
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
@@ -149,21 +149,21 @@ For **user images**, you must:
149149
150150
| Name | Version |
151151
|------|---------|
152-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
152+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
153153
154154
## Modules
155155
156156
| Name | Source | Version |
157157
|------|--------|---------|
158158
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
159-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.2 |
160-
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.2 |
159+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.7.1 |
160+
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.7.1 |
161161
162162
## Resources
163163
164164
| Name | Type |
165165
|------|------|
166-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/availability_zones) | data source |
166+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/availability_zones) | data source |
167167
168168
## Inputs
169169

Diff for: examples/runner-default/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ check `.terraform-version` for the tested version.
3333
| Name | Version |
3434
|------|---------|
3535
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
36-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.36.0 |
37-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
36+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.44.0 |
37+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
3838
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
3939
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
4040
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
@@ -43,22 +43,22 @@ check `.terraform-version` for the tested version.
4343

4444
| Name | Version |
4545
|------|---------|
46-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
46+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
4747

4848
## Modules
4949

5050
| Name | Source | Version |
5151
|------|--------|---------|
5252
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
53-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.2 |
54-
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.2 |
53+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.7.1 |
54+
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.7.1 |
5555

5656
## Resources
5757

5858
| Name | Type |
5959
|------|------|
60-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/availability_zones) | data source |
61-
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/security_group) | data source |
60+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/availability_zones) | data source |
61+
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/security_group) | data source |
6262

6363
## Inputs
6464

Diff for: examples/runner-docker/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ check `.terraform-version` for the tested version.
3636
| Name | Version |
3737
|------|---------|
3838
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
39-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.36.0 |
40-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
39+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.44.0 |
40+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
4141
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
4242
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
4343
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
@@ -46,21 +46,21 @@ check `.terraform-version` for the tested version.
4646

4747
| Name | Version |
4848
|------|---------|
49-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
49+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
5050

5151
## Modules
5252

5353
| Name | Source | Version |
5454
|------|--------|---------|
5555
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
56-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.2 |
57-
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.2 |
56+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.7.1 |
57+
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.7.1 |
5858

5959
## Resources
6060

6161
| Name | Type |
6262
|------|------|
63-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/availability_zones) | data source |
63+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/availability_zones) | data source |
6464

6565
## Inputs
6666

Diff for: examples/runner-pre-registered/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ check `.terraform-version` for the tested version.
1919
| Name | Version |
2020
|------|---------|
2121
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
22-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.36.0 |
23-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
22+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.44.0 |
23+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
2424
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
2525
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
2626
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
@@ -29,21 +29,21 @@ check `.terraform-version` for the tested version.
2929

3030
| Name | Version |
3131
|------|---------|
32-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
32+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
3333

3434
## Modules
3535

3636
| Name | Source | Version |
3737
|------|--------|---------|
3838
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
39-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.2 |
40-
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.5.2 |
39+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.7.1 |
40+
| <a name="module_vpc_endpoints"></a> [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | 5.7.1 |
4141

4242
## Resources
4343

4444
| Name | Type |
4545
|------|------|
46-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/availability_zones) | data source |
46+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/availability_zones) | data source |
4747

4848
## Inputs
4949

Diff for: examples/runner-public/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ check `.terraform-version` for the tested version.
3030
| Name | Version |
3131
|------|---------|
3232
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
33-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.36.0 |
34-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.1 |
33+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 5.44.0 |
34+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.5.1 |
3535
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.2 |
3636
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.6.0 |
3737
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.5 |
@@ -40,7 +40,7 @@ check `.terraform-version` for the tested version.
4040

4141
| Name | Version |
4242
|------|---------|
43-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.36.0 |
43+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.44.0 |
4444

4545
## Modules
4646

@@ -49,13 +49,13 @@ check `.terraform-version` for the tested version.
4949
| <a name="module_cache"></a> [cache](#module\_cache) | ../../modules/cache | n/a |
5050
| <a name="module_runner"></a> [runner](#module\_runner) | ../../ | n/a |
5151
| <a name="module_runner2"></a> [runner2](#module\_runner2) | ../../ | n/a |
52-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.5.2 |
52+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.7.1 |
5353

5454
## Resources
5555

5656
| Name | Type |
5757
|------|------|
58-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.36.0/docs/data-sources/availability_zones) | data source |
58+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/5.44.0/docs/data-sources/availability_zones) | data source |
5959

6060
## Inputs
6161

0 commit comments

Comments
 (0)