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
Copy file name to clipboardExpand all lines: .github/workflows/pre-commit.yml
+58-12Lines changed: 58 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,10 @@ on:
4
4
pull_request:
5
5
push:
6
6
branches:
7
-
- main
8
7
- develop
8
+
- main
9
9
10
10
jobs:
11
-
# Min Terraform version(s)
12
11
getDirectories:
13
12
name: Get root directories
14
13
runs-on: ubuntu-latest
@@ -25,13 +24,13 @@ jobs:
25
24
- name: Build matrix
26
25
id: matrix
27
26
run: |
28
-
DIRS=$(python -c "import json; import glob; print(json.dumps([x.replace('/versions.tf', '') for x in glob.glob('./**/versions.tf', recursive=True)]))")
27
+
DIRS=$(python -c "import json; import glob; print(json.dumps([x.replace('/providers.tf', '') for x in glob.glob('./**/providers.tf', recursive=True)]))")
| <aname="input_aws_region"></a> [aws\_region](#input\_aws\_region)| aws region to deploy resources |`string`|`"us-west-2"`| no |
121
118
| <aname="input_branch"></a> [branch](#input\_branch)| branch to use for cicd |`string`|`"main"`| no |
122
119
| <aname="input_custom_input"></a> [custom\_input](#input\_custom\_input)| custom input to be included in generated events |`map(any)`|`null`| no |
123
120
| <aname="input_deploy_event_rule"></a> [deploy\_event\_rule](#input\_deploy\_event\_rule)| Feature flag, true or false |`bool`|`true`| no |
124
121
| <aname="input_deploy_event_target"></a> [deploy\_event\_target](#input\_deploy\_event\_target)| Feature flag, true or false |`bool`|`true`| no |
125
122
| <aname="input_description"></a> [description](#input\_description)| description for the cloudwatch event |`string`|`null`| no |
126
123
| <aname="input_name"></a> [name](#input\_name)| Cloudwatch event rule name |`string`|`null`| no |
127
124
| <aname="input_prjid"></a> [prjid](#input\_prjid)| Name of the project/stack e.g: mystack, nifieks, demoaci. Should not be changed after running 'tf apply' |`string`| n/a | yes |
128
-
| <aname="input_profile"></a> [profile\_to\_use](#input\_profile\_to\_use)| Getting values from ~/.aws/credentials |`string`|`"default"`| no |
129
125
| <aname="input_schedule"></a> [schedule](#input\_schedule)| schedule for the cloudwatch event |`string`|`"rate(1 day)"`| no |
130
126
| <aname="input_service_role"></a> [service\_role](#input\_service\_role)| service role to be used by cicd |`string`|`null`| no |
131
127
| <aname="input_suffix"></a> [suffix](#input\_suffix)| suffix to be added to cloudwatch rule name |`string`|`"rule"`| no |
| <aname="input_target_name"></a> [target\_name](#input\_target\_name)| Cloudwatch target name |`string`|`null`| no |
134
129
| <aname="input_teamid"></a> [teamid](#input\_teamid)| Name of the team/group e.g. devops, dataengineering. Should not be changed after running 'tf apply' |`string`| n/a | yes |
135
130
| <aname="input_timeout"></a> [timeout](#input\_timeout)| timeout for cloudwatch event |`number`|`60`| no |
136
131
137
132
## Outputs
138
133
139
134
| Name | Description |
140
135
|------|-------------|
141
-
| <aname="output_cloudwatch_event_rule_arn"></a> [cloudwatch\_event\_rule\_arn](#output\_cloudwatch\_event\_rule\_arn)| The cloudwatch event rule arn. |
142
-
| <aname="output_cloudwatch_event_target_arn"></a> [cloudwatch\_event\_target\_arn](#output\_cloudwatch\_event\_target\_arn)| The cloudwatch event target arn. |
136
+
| <aname="output_cloudwatch_event_rule_arn"></a> [cloudwatch\_event\_rule\_arn](#output\_cloudwatch\_event\_rule\_arn)| The cloudwatch event rule ARN |
137
+
| <aname="output_cloudwatch_event_target_arn"></a> [cloudwatch\_event\_target\_arn](#output\_cloudwatch\_event\_target\_arn)| The cloudwatch event target ARN |
0 commit comments