Skip to content

Commit 619017a

Browse files
committed
Sync from management repo
1 parent e568627 commit 619017a

File tree

3 files changed

+21
-31
lines changed

3 files changed

+21
-31
lines changed

.github/workflows/pr-lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: PR lint
2+
3+
on:
4+
pull_request:
5+
types: ['opened', 'edited', 'reopened', 'synchronize']
6+
7+
jobs:
8+
pr-lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: seferov/pr-lint-action@master
12+
with:
13+
title-regex: '^((Pulling|Update from) refs\/heads\/|(\[tf (plan|apply|destroy|status)\]|\[non tf\])\s(feat|fix|build|chore|ci|docs|style|refactor|perf|test)(\!?): (.{3,250})[^\s*]$)'
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
auto-close-message: 'Closing this pull request since the title does not match %pattern% pattern. Please fix the title and re-open the pull request.'

README.md

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ terraform destroy -var='teamid=tryme' -var='prjid=project1'
3838

3939
#### Option 2:
4040

41-
##### Recommended method (stores remote state in S3 using `prjid` and `teamid` to create directory structure):
41+
##### Recommended method (stores remote state in remote backend(S3, Azure storage, or Google bucket) using `prjid` and `teamid` to create directory structure):
4242

4343
- Create python 3.8+ virtual environment
4444
```
@@ -89,50 +89,25 @@ tf -c=aws destroy -var='teamid=foo' -var='prjid=bar'
8989
<!-- BEGIN_TF_DOCS -->
9090
## Requirements
9191

92-
| Name | Version |
93-
|------|---------|
94-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.1 |
95-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 3.74 |
92+
No requirements.
9693

9794
## Providers
9895

99-
| Name | Version |
100-
|------|---------|
101-
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 3.74 |
96+
No providers.
10297

10398
## Modules
10499

105100
No modules.
106101

107102
## Resources
108103

109-
| Name | Type |
110-
|------|------|
111-
| [aws_cloudwatch_event_rule.event_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_rule) | resource |
112-
| [aws_cloudwatch_event_target.event_target_input_type](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_target) | resource |
104+
No resources.
113105

114106
## Inputs
115107

116-
| Name | Description | Type | Default | Required |
117-
|------|-------------|------|---------|:--------:|
118-
| <a name="input_branch"></a> [branch](#input\_branch) | branch to use for cicd | `string` | `"main"` | no |
119-
| <a name="input_custom_input"></a> [custom\_input](#input\_custom\_input) | custom input to be included in generated events | `map(any)` | `null` | no |
120-
| <a name="input_deploy_event_rule"></a> [deploy\_event\_rule](#input\_deploy\_event\_rule) | Feature flag, true or false | `bool` | `true` | no |
121-
| <a name="input_deploy_event_target"></a> [deploy\_event\_target](#input\_deploy\_event\_target) | Feature flag, true or false | `bool` | `true` | no |
122-
| <a name="input_description"></a> [description](#input\_description) | description for the cloudwatch event | `string` | `null` | no |
123-
| <a name="input_name"></a> [name](#input\_name) | Cloudwatch event rule name | `string` | `null` | no |
124-
| <a name="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 |
125-
| <a name="input_schedule"></a> [schedule](#input\_schedule) | schedule for the cloudwatch event | `string` | `"rate(1 day)"` | no |
126-
| <a name="input_service_role"></a> [service\_role](#input\_service\_role) | service role to be used by cicd | `string` | `null` | no |
127-
| <a name="input_suffix"></a> [suffix](#input\_suffix) | suffix to be added to cloudwatch rule name | `string` | `"rule"` | no |
128-
| <a name="input_target_arn"></a> [target\_arn](#input\_target\_arn) | target arn | `string` | n/a | yes |
129-
| <a name="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 |
130-
| <a name="input_timeout"></a> [timeout](#input\_timeout) | timeout for cloudwatch event | `number` | `60` | no |
108+
No inputs.
131109

132110
## Outputs
133111

134-
| Name | Description |
135-
|------|-------------|
136-
| <a name="output_cloudwatch_event_rule_arn"></a> [cloudwatch\_event\_rule\_arn](#output\_cloudwatch\_event\_rule\_arn) | The cloudwatch event rule ARN |
137-
| <a name="output_cloudwatch_event_target_arn"></a> [cloudwatch\_event\_target\_arn](#output\_cloudwatch\_event\_target\_arn) | The cloudwatch event target ARN |
112+
No outputs.
138113
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)