You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ Before you submit your merge request consider the following guidelines:
62
62
```
63
63
64
64
* Create your patch, **including appropriate test cases**.
65
-
*Run the test suite and ensure that all tests pass.
65
+
*Install [Terraform](https://www.terraform.io/). We lock the version with [tvenv](https://github.com/tfutils/tfenv), check `.terraform-version`for the current development version of the module.
66
66
* Install [pre-commit hooks](https://pre-commit.com/). The hooks runs some basic checks and update the docs. The commit will run the hooks, you can invoke the hooks manually `pre-commit run --all-files` as well.
67
67
* Commit your changes using a descriptive commit message.
68
68
@@ -79,7 +79,7 @@ Before you submit your merge request consider the following guidelines:
79
79
git push origin my-fix-branch
80
80
```
81
81
82
-
In Github, send a pull request to original develop branch: f.e. `terraform-aws-vpc:develop`.
82
+
In Github, send a pull request to original develop branch: f.e. `terraform-aws-github-runner:develop`.
| lambdas | Name and tag for lambdas to download. | <pre>list(object({<br> name = string<br> tag = string<br> }))</pre> | n/a | yes |
52
+
|<aname="input_lambdas"></a> [lambdas](#input\_lambdas)| Name and tag for lambdas to download. | <pre>list(object({<br> name = string<br> tag = string<br> }))</pre> | n/a | yes |
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
72
+
|[aws_iam_policy_document.lambda_assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
68
73
69
74
## Inputs
70
75
71
76
| Name | Description | Type | Default | Required |
| distribution\_bucket\_name | Bucket for storing the action runner distribution. |`string`| n/a | yes |
75
-
| environment | A name that identifies the environment, used as prefix and for tagging. |`string`| n/a | yes |
76
-
| lambda\_s3\_bucket | S3 bucket from which to specify lambda functions. This is an alternative to providing local files directly. |`any`|`null`| no |
77
-
| lambda\_schedule\_expression | Scheduler expression for action runner binary syncer. |`string`|`"cron(27 * * * ? *)"`| no |
78
-
| lambda\_security\_group\_ids | List of security group IDs associated with the Lambda function. |`list(string)`|`[]`| no |
79
-
| lambda\_subnet\_ids | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. |`list(string)`|`[]`| no |
80
-
| lambda\_timeout | Time out of the lambda in seconds. |`number`|`300`| no |
81
-
| lambda\_zip | File location of the lambda zip file. |`string`|`null`| no |
82
-
| logging\_retention\_in\_days | Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. |`number`|`7`| no |
83
-
| role\_path | The path that will be added to the role, if not set the environment name will be used. |`string`|`null`| no |
84
-
| role\_permissions\_boundary | Permissions boundary that will be added to the created role for the lambda. |`string`|`null`| no |
85
-
| runner\_allow\_prerelease\_binaries | Allow the runners to update to prerelease binaries. |`bool`|`false`| no |
86
-
| runner\_architecture | The platform architecture for the runner instance (x64, arm64), defaults to 'x64' |`string`|`"x64"`| no |
87
-
| syncer\_lambda\_s3\_key | S3 key for syncer lambda function. Required if using S3 bucket to specify lambdas. |`any`|`null`| no |
88
-
| syncer\_lambda\_s3\_object\_version | S3 object version for syncer lambda function. Useful if S3 versioning is enabled on source bucket. |`any`|`null`| no |
89
-
| tags | Map of tags that will be added to created resources. By default resources will be tagged with name and environment. |`map(string)`|`{}`| no |
|<aname="input_distribution_bucket_name"></a> [distribution\_bucket\_name](#input\_distribution\_bucket\_name)| Bucket for storing the action runner distribution. |`string`| n/a | yes |
80
+
|<aname="input_environment"></a> [environment](#input\_environment)| A name that identifies the environment, used as prefix and for tagging. |`string`| n/a | yes |
81
+
|<aname="input_lambda_s3_bucket"></a> [lambda\_s3\_bucket](#input\_lambda\_s3\_bucket)| S3 bucket from which to specify lambda functions. This is an alternative to providing local files directly. |`any`|`null`| no |
82
+
|<aname="input_lambda_schedule_expression"></a> [lambda\_schedule\_expression](#input\_lambda\_schedule\_expression)| Scheduler expression for action runner binary syncer. |`string`|`"cron(27 * * * ? *)"`| no |
83
+
|<aname="input_lambda_security_group_ids"></a> [lambda\_security\_group\_ids](#input\_lambda\_security\_group\_ids)| List of security group IDs associated with the Lambda function. |`list(string)`|`[]`| no |
84
+
|<aname="input_lambda_subnet_ids"></a> [lambda\_subnet\_ids](#input\_lambda\_subnet\_ids)| List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. |`list(string)`|`[]`| no |
85
+
|<aname="input_lambda_timeout"></a> [lambda\_timeout](#input\_lambda\_timeout)| Time out of the lambda in seconds. |`number`|`300`| no |
86
+
|<aname="input_lambda_zip"></a> [lambda\_zip](#input\_lambda\_zip)| File location of the lambda zip file. |`string`|`null`| no |
87
+
|<aname="input_logging_retention_in_days"></a> [logging\_retention\_in\_days](#input\_logging\_retention\_in\_days)| Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. |`number`|`7`| no |
88
+
|<aname="input_role_path"></a> [role\_path](#input\_role\_path)| The path that will be added to the role, if not set the environment name will be used. |`string`|`null`| no |
89
+
|<aname="input_role_permissions_boundary"></a> [role\_permissions\_boundary](#input\_role\_permissions\_boundary)| Permissions boundary that will be added to the created role for the lambda. |`string`|`null`| no |
90
+
|<aname="input_runner_allow_prerelease_binaries"></a> [runner\_allow\_prerelease\_binaries](#input\_runner\_allow\_prerelease\_binaries)| Allow the runners to update to prerelease binaries. |`bool`|`false`| no |
91
+
|<aname="input_runner_architecture"></a> [runner\_architecture](#input\_runner\_architecture)| The platform architecture for the runner instance (x64, arm64), defaults to 'x64' |`string`|`"x64"`| no |
92
+
|<aname="input_syncer_lambda_s3_key"></a> [syncer\_lambda\_s3\_key](#input\_syncer\_lambda\_s3\_key)| S3 key for syncer lambda function. Required if using S3 bucket to specify lambdas. |`any`|`null`| no |
93
+
|<aname="input_syncer_lambda_s3_object_version"></a> [syncer\_lambda\_s3\_object\_version](#input\_syncer\_lambda\_s3\_object\_version)| S3 object version for syncer lambda function. Useful if S3 versioning is enabled on source bucket. |`any`|`null`| no |
94
+
|<aname="input_tags"></a> [tags](#input\_tags)| Map of tags that will be added to created resources. By default resources will be tagged with name and environment. |`map(string)`|`{}`| no |
0 commit comments