Skip to content

Commit ed33cf5

Browse files
committed
Fix example linting errors
1 parent f5073e6 commit ed33cf5

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

examples/default/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Be-aware some shells will print some end of line character `%`.
6363

6464
| Name | Description | Type | Default | Required |
6565
|------|-------------|------|---------|:--------:|
66-
| <a name="input_environment"></a> [environment](#input\_environment) | n/a | `string` | `null` | no |
66+
| <a name="input_environment"></a> [environment](#input\_environment) | Environment name, used as prefix | `string` | `null` | no |
6767
| <a name="input_github_app"></a> [github\_app](#input\_github\_app) | GitHub for API usages. | <pre>object({<br> id = string<br> key_base64 = string<br> })</pre> | n/a | yes |
6868

6969
## Outputs

examples/default/variables.tf

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ variable "github_app" {
88
}
99

1010
variable "environment" {
11+
description = "Environment name, used as prefix"
12+
1113
type = string
1214
default = null
1315
}

examples/multi-runner/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Be-aware some shells will print some end of line character `%`.
8080

8181
| Name | Description | Type | Default | Required |
8282
|------|-------------|------|---------|:--------:|
83-
| <a name="input_environment"></a> [environment](#input\_environment) | n/a | `string` | `null` | no |
83+
| <a name="input_environment"></a> [environment](#input\_environment) | Environment name, used as prefix | `string` | `null` | no |
8484
| <a name="input_github_app"></a> [github\_app](#input\_github\_app) | GitHub for API usages. | <pre>object({<br> id = string<br> key_base64 = string<br> })</pre> | n/a | yes |
8585

8686
## Outputs

examples/multi-runner/variables.tf

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ variable "github_app" {
88
}
99

1010
variable "environment" {
11+
description = "Environment name, used as prefix"
12+
1113
type = string
1214
default = null
1315
}

examples/prebuilt/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ Be-aware some shells will print some end of line character `%`.
129129

130130
| Name | Description | Type | Default | Required |
131131
|------|-------------|------|---------|:--------:|
132-
| <a name="input_ami_name_filter"></a> [ami\_name\_filter](#input\_ami\_name\_filter) | n/a | `string` | `"github-runner-amzn2-x86_64-*"` | no |
132+
| <a name="input_ami_name_filter"></a> [ami\_name\_filter](#input\_ami\_name\_filter) | AMI name filter for the action runner AMI. By default amazon linux 2 is used. | `string` | `"github-runner-amzn2-x86_64-*"` | no |
133133
| <a name="input_github_app"></a> [github\_app](#input\_github\_app) | GitHub for API usages. | <pre>object({<br> id = string<br> key_base64 = string<br> })</pre> | n/a | yes |
134-
| <a name="input_runner_os"></a> [runner\_os](#input\_runner\_os) | n/a | `string` | `"linux"` | no |
134+
| <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 |
135135

136136
## Outputs
137137

examples/prebuilt/variables.tf

+4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ variable "github_app" {
88
}
99

1010
variable "runner_os" {
11+
description = "The EC2 Operating System type to use for action runner instances (linux,windows)."
12+
1113
type = string
1214
default = "linux"
1315
}
1416

1517
variable "ami_name_filter" {
18+
description = "AMI name filter for the action runner AMI. By default amazon linux 2 is used."
19+
1620
type = string
1721
default = "github-runner-amzn2-x86_64-*"
1822
}

examples/ubuntu/providers.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ provider "aws" {
55
Example = local.environment
66
}
77
}
8-
// If you use roles with specific permissions please add your role
9-
// assume_role {
10-
// role_arn = "arn:aws:iam::123456789012:role/MyAdminRole"
11-
// }
8+
# If you use roles with specific permissions please add your role
9+
# assume_role {
10+
# role_arn = "arn:aws:iam::123456789012:role/MyAdminRole"
11+
# }
1212
}
1313

1414
provider "random" {

0 commit comments

Comments
 (0)