Skip to content

Commit 06ee202

Browse files
committed
fix tflint warning
1 parent 818b52c commit 06ee202

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.github/workflows/terraform.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ jobs:
5252
name: Run TFLint
5353
run: tflint -f compact
5454

55-
# tflint:
56-
# name: tflint
57-
# runs-on: ubuntu-latest
58-
# steps:
59-
# - name: "Checkout"
60-
# uses: actions/checkout@v3
61-
# - name: tflint
62-
# uses: reviewdog/action-tflint@master
63-
# with:
64-
# github_token: ${{ secrets.GITHUB_TOKEN }}
65-
# fail_on_error: "true" # Optional. Fail action if errors are found
66-
# filter_mode: "nofilter" # Optional. Check all files, not just the diff
67-
68-
6955
verify_examples:
7056
name: Verify examples
7157
strategy:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ We welcome any improvement to the standard module to make the default as secure
495495
| <a name="input_runner_metadata_options"></a> [runner\_metadata\_options](#input\_runner\_metadata\_options) | Metadata options for the ec2 runner instances. | `map(any)` | <pre>{<br> "http_endpoint": "enabled",<br> "http_put_response_hop_limit": 1,<br> "http_tokens": "optional"<br>}</pre> | no |
496496
| <a name="input_runner_os"></a> [runner\_os](#input\_runner\_os) | The EC2 Operating System type to use for action runner instances (linux,windows). | `string` | `"linux"` | no |
497497
| <a name="input_runner_run_as"></a> [runner\_run\_as](#input\_runner\_run\_as) | Run the GitHub actions agent as user. | `string` | `"ec2-user"` | no |
498-
| <a name="input_runners_lambda_s3_key"></a> [runners\_lambda\_s3\_key](#input\_runners\_lambda\_s3\_key) | S3 key for runners lambda function. Required if using S3 bucket to specify lambdas. | `any` | `null` | no |
499-
| <a name="input_runners_lambda_s3_object_version"></a> [runners\_lambda\_s3\_object\_version](#input\_runners\_lambda\_s3\_object\_version) | S3 object version for runners lambda function. Useful if S3 versioning is enabled on source bucket. | `any` | `null` | no |
498+
| <a name="input_runners_lambda_s3_key"></a> [runners\_lambda\_s3\_key](#input\_runners\_lambda\_s3\_key) | S3 key for runners lambda function. Required if using S3 bucket to specify lambdas. | `string` | `null` | no |
499+
| <a name="input_runners_lambda_s3_object_version"></a> [runners\_lambda\_s3\_object\_version](#input\_runners\_lambda\_s3\_object\_version) | S3 object version for runners lambda function. Useful if S3 versioning is enabled on source bucket. | `string` | `null` | no |
500500
| <a name="input_runners_lambda_zip"></a> [runners\_lambda\_zip](#input\_runners\_lambda\_zip) | File location of the lambda zip file for scaling runners. | `string` | `null` | no |
501501
| <a name="input_runners_maximum_count"></a> [runners\_maximum\_count](#input\_runners\_maximum\_count) | The maximum number of runners that will be created. | `number` | `3` | no |
502502
| <a name="input_runners_scale_down_lambda_timeout"></a> [runners\_scale\_down\_lambda\_timeout](#input\_runners\_scale\_down\_lambda\_timeout) | Time out for the scale down lambda in seconds. | `number` | `60` | no |

variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,13 @@ variable "webhook_lambda_apigateway_access_log_settings" {
355355

356356
variable "runners_lambda_s3_key" {
357357
description = "S3 key for runners lambda function. Required if using S3 bucket to specify lambdas."
358+
type = string
358359
default = null
359360
}
360361

361362
variable "runners_lambda_s3_object_version" {
362363
description = "S3 object version for runners lambda function. Useful if S3 versioning is enabled on source bucket."
364+
type = string
363365
default = null
364366
}
365367

0 commit comments

Comments
 (0)