Skip to content

Commit 3260212

Browse files
chore(main): release 6.2.0 (#766)
🤖 I have created a release *beep* *boop* --- ## [6.2.0](6.1.2...6.2.0) (2023-03-22) ### Features * show `config.toml` and user data in Terraform plan ([#754](#754)) ([5b5c335](5b5c335)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Signed-off-by: Niek Palm <dev.npalm@gmail.com> Co-authored-by: cattle-ops-releaser[bot] <126345536+cattle-ops-releaser[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5b5c335 commit 3260212

File tree

8 files changed

+29
-17
lines changed

8 files changed

+29
-17
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [6.2.0](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/6.1.2...6.2.0) (2023-03-22)
4+
5+
6+
### Features
7+
8+
* show `config.toml` and user data in Terraform plan ([#754](https://github.com/cattle-ops/terraform-aws-gitlab-runner/issues/754)) ([5b5c335](https://github.com/cattle-ops/terraform-aws-gitlab-runner/commit/5b5c3354d56971786e9afe50e493fa2bde1bdbb4))
9+
310
## [6.1.2](https://github.com/cattle-ops/terraform-aws-gitlab-runner/compare/6.1.1...6.1.2) (2023-03-09)
411

512

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,12 +432,14 @@ Made with [contributors-img](https://contrib.rocks).
432432
|------|---------|
433433
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
434434
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4 |
435+
| <a name="requirement_local"></a> [local](#requirement\_local) | >= 2.4.0 |
435436

436437
## Providers
437438

438439
| Name | Version |
439440
|------|---------|
440441
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.49.0 |
442+
| <a name="provider_local"></a> [local](#provider\_local) | >= 2.4.0 |
441443

442444
## Modules
443445

@@ -489,6 +491,8 @@ Made with [contributors-img](https://contrib.rocks).
489491
| [aws_security_group_rule.runner_ping_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |
490492
| [aws_ssm_parameter.runner_registration_token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource |
491493
| [aws_ssm_parameter.runner_sentry_dsn](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource |
494+
| [local_file.config_toml](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
495+
| [local_file.user_data](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
492496
| [aws_ami.docker-machine](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |
493497
| [aws_ami.runner](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | data source |
494498
| [aws_availability_zone.runners](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zone) | data source |
@@ -544,7 +548,7 @@ Made with [contributors-img](https://contrib.rocks).
544548
| <a name="input_enable_manage_gitlab_token"></a> [enable\_manage\_gitlab\_token](#input\_enable\_manage\_gitlab\_token) | (Deprecated) Boolean to enable the management of the GitLab token in SSM. If `true` the token will be stored in SSM, which means the SSM property is a terraform managed resource. If `false` the Gitlab token will be stored in the SSM by the user-data script during creation of the the instance. However the SSM parameter is not managed by terraform and will remain in SSM after a `terraform destroy`. | `bool` | `null` | no |
545549
| <a name="input_enable_ping"></a> [enable\_ping](#input\_enable\_ping) | Allow ICMP Ping to the ec2 instances. | `bool` | `false` | no |
546550
| <a name="input_enable_runner_ssm_access"></a> [enable\_runner\_ssm\_access](#input\_enable\_runner\_ssm\_access) | Add IAM policies to the runner agent instance to connect via the Session Manager. | `bool` | `false` | no |
547-
| <a name="input_enable_runner_user_data_trace_log"></a> [enable\_runner\_user\_data\_trace\_log](#input\_enable\_runner\_user\_data\_trace\_log) | Enable bash xtrace for the user data script that creates the EC2 instance for the runner agent. Be aware this could log sensitive data such as you GitLab runner token. | `bool` | `true` | no |
551+
| <a name="input_enable_runner_user_data_trace_log"></a> [enable\_runner\_user\_data\_trace\_log](#input\_enable\_runner\_user\_data\_trace\_log) | Enable bash trace for the user data script that creates the EC2 instance for the runner agent. Be aware this could log sensitive data such as you GitLab runner token. | `bool` | `true` | no |
548552
| <a name="input_enable_schedule"></a> [enable\_schedule](#input\_enable\_schedule) | Flag used to enable/disable auto scaling group schedule for the runner instance. | `bool` | `false` | no |
549553
| <a name="input_environment"></a> [environment](#input\_environment) | A name that identifies the environment, used as prefix and for tagging. | `string` | n/a | yes |
550554
| <a name="input_extra_security_group_ids_runner_agent"></a> [extra\_security\_group\_ids\_runner\_agent](#input\_extra\_security\_group\_ids\_runner\_agent) | Optional IDs of extra security groups to apply to the runner agent. This will not apply to the runners spun up when using the docker+machine executor, which is the default. | `list(string)` | `[]` | no |
@@ -625,6 +629,7 @@ Made with [contributors-img](https://contrib.rocks).
625629
| <a name="input_secure_parameter_store_runner_sentry_dsn"></a> [secure\_parameter\_store\_runner\_sentry\_dsn](#input\_secure\_parameter\_store\_runner\_sentry\_dsn) | The Sentry DSN name used to store the Sentry DSN in Secure Parameter Store | `string` | `"sentry-dsn"` | no |
626630
| <a name="input_secure_parameter_store_runner_token_key"></a> [secure\_parameter\_store\_runner\_token\_key](#input\_secure\_parameter\_store\_runner\_token\_key) | The key name used store the Gitlab runner token in Secure Parameter Store | `string` | `"runner-token"` | no |
627631
| <a name="input_sentry_dsn"></a> [sentry\_dsn](#input\_sentry\_dsn) | Sentry DSN of the project for the runner to use (uses legacy DSN format) | `string` | `"__SENTRY_DSN_REPLACED_BY_USER_DATA__"` | no |
632+
| <a name="input_show_user_data_in_plan"></a> [show\_user\_data\_in\_plan](#input\_show\_user\_data\_in\_plan) | When enabled, shows the diff for agent configuration files in Terraform plan: `config.toml` and user data script | `bool` | `false` | no |
628633
| <a name="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id) | Subnet id used for the runner and executors. Must belong to the VPC specified above. | `string` | `""` | no |
629634
| <a name="input_subnet_id_runners"></a> [subnet\_id\_runners](#input\_subnet\_id\_runners) | Deprecated! Use subnet\_id instead. List of subnets used for hosting the gitlab-runners. | `string` | `""` | no |
630635
| <a name="input_subnet_ids_gitlab_runner"></a> [subnet\_ids\_gitlab\_runner](#input\_subnet\_ids\_gitlab\_runner) | Deprecated! Use subnet\_id instead. Subnet used for hosting the GitLab runner. | `list(string)` | `[]` | no |

examples/runner-default/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ No output.
4545
| Name | Version |
4646
|------|---------|
4747
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
48-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.57.0 |
49-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.3.0 |
48+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.59.0 |
49+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.0 |
5050
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.1 |
5151
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.4.3 |
5252
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.4 |
@@ -55,7 +55,7 @@ No output.
5555

5656
| Name | Version |
5757
|------|---------|
58-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.57.0 |
58+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.59.0 |
5959

6060
## Modules
6161

@@ -69,8 +69,8 @@ No output.
6969

7070
| Name | Type |
7171
|------|------|
72-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.57.0/docs/data-sources/availability_zones) | data source |
73-
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/4.57.0/docs/data-sources/security_group) | data source |
72+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.59.0/docs/data-sources/availability_zones) | data source |
73+
| [aws_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/4.59.0/docs/data-sources/security_group) | data source |
7474

7575
## Inputs
7676

examples/runner-docker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ No output.
4747
| Name | Version |
4848
|------|---------|
4949
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
50-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.57.0 |
51-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.3.0 |
50+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.59.0 |
51+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.0 |
5252
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.1 |
5353
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.4.3 |
5454
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.4 |
@@ -57,7 +57,7 @@ No output.
5757

5858
| Name | Version |
5959
|------|---------|
60-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.57.0 |
60+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.59.0 |
6161

6262
## Modules
6363

@@ -71,7 +71,7 @@ No output.
7171

7272
| Name | Type |
7373
|------|------|
74-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.57.0/docs/data-sources/availability_zones) | data source |
74+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.59.0/docs/data-sources/availability_zones) | data source |
7575

7676
## Inputs
7777

examples/runner-multi-region/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ No output.
9090
|------|---------|
9191
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
9292
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.49.0 |
93-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.2.3 |
93+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.0 |
9494
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.1 |
9595
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.4.3 |
9696
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.4 |

examples/runner-pre-registered/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ No output.
3434
|------|---------|
3535
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
3636
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.49.0 |
37-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.2.3 |
37+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.0 |
3838
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.1 |
3939
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.4.3 |
4040
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.4 |

examples/runner-public/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ No output.
4646
| Name | Version |
4747
|------|---------|
4848
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
49-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.57.0 |
50-
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.3.0 |
49+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | 4.59.0 |
50+
| <a name="requirement_local"></a> [local](#requirement\_local) | 2.4.0 |
5151
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.1 |
5252
| <a name="requirement_random"></a> [random](#requirement\_random) | 3.4.3 |
5353
| <a name="requirement_tls"></a> [tls](#requirement\_tls) | 4.0.4 |
@@ -56,7 +56,7 @@ No output.
5656

5757
| Name | Version |
5858
|------|---------|
59-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.57.0 |
59+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.59.0 |
6060

6161
## Modules
6262

@@ -71,7 +71,7 @@ No output.
7171

7272
| Name | Type |
7373
|------|------|
74-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.57.0/docs/data-sources/availability_zones) | data source |
74+
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/4.59.0/docs/data-sources/availability_zones) | data source |
7575

7676
## Inputs
7777

modules/terminate-agent-hook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ No modules.
152152
| <a name="input_cloudwatch_logging_retention_in_days"></a> [cloudwatch\_logging\_retention\_in\_days](#input\_cloudwatch\_logging\_retention\_in\_days) | The number of days to retain logs in CloudWatch. | `number` | `30` | no |
153153
| <a name="input_enable_xray_tracing"></a> [enable\_xray\_tracing](#input\_enable\_xray\_tracing) | Enables X-Ray for debugging and analysis | `bool` | `false` | no |
154154
| <a name="input_environment"></a> [environment](#input\_environment) | A name that identifies the environment, used as a name prefix and for tagging. | `string` | n/a | yes |
155-
| <a name="input_kms_key_id"></a> [kms\_key\_id](#input\_kms\_key\_id) | KMS key id to encrypted the CloudWatch logs. Ensure CloudWatch has access to the provided KMS key. | `string` | n/a | yes |
155+
| <a name="input_kms_key_id"></a> [kms\_key\_id](#input\_kms\_key\_id) | KMS key id to encrypt the resources, e.g. logs, lambda environment variables, ... | `string` | n/a | yes |
156156
| <a name="input_name"></a> [name](#input\_name) | The name of the Lambda function to create. The 'environment' will be prefixed to this. | `string` | n/a | yes |
157157
| <a name="input_name_docker_machine_runners"></a> [name\_docker\_machine\_runners](#input\_name\_docker\_machine\_runners) | The `Name` tag of EC2 instances created by the runner agent. | `string` | n/a | yes |
158158
| <a name="input_name_iam_objects"></a> [name\_iam\_objects](#input\_name\_iam\_objects) | The name to use for IAM resources - roles and policies. | `string` | `""` | no |

0 commit comments

Comments
 (0)