Skip to content

Commit 6e65765

Browse files
🐛 FIX: Terraform docs CI (#34)
* 🐛 FIX: Terraform docs CI * terraform-docs: automated update action Co-authored-by: caiovfernandes <[email protected]>
1 parent 1d16499 commit 6e65765

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
name: Generate terraform docs
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
3+
on: [pull_request]
84
jobs:
95
docs:
106
runs-on: ubuntu-latest
117
steps:
128
- uses: actions/checkout@v2
139
with:
14-
ref: master
10+
ref: ${{ github.head_ref }}
1511

1612
- name: Render terraform docs inside the README.md and push changes back to pushed branch
1713
uses: DNXLabs/[email protected]

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,11 @@ module "ecs_apps" {
7878
| alb\_internal | Deploys a second internal ALB for private APIs. | `bool` | `false` | no |
7979
| alb\_internal\_ssl\_policy | The name of the SSL Policy for the listener. Required if protocol is HTTPS or TLS. | `string` | `"ELBSecurityPolicy-TLS-1-2-Ext-2018-06"` | no |
8080
| alb\_only | Whether to deploy only an alb and no cloudFront or not with the cluster. | `bool` | `false` | no |
81+
| alb\_sg\_allow\_egress\_https\_world | Whether to allow ALB to access HTTPS endpoints - needed when using OIDC authentication | `bool` | `true` | no |
8182
| alb\_sg\_allow\_test\_listener | Whether to allow world access to the test listeners | `bool` | `true` | no |
8283
| alb\_ssl\_policy | The name of the SSL Policy for the listener. Required if protocol is HTTPS or TLS. | `string` | `"ELBSecurityPolicy-2016-08"` | no |
8384
| architecture | Architecture to select the AMI, x86\_64 or arm64 | `string` | `"x86_64"` | no |
85+
| asg\_capacity\_rebalance | Indicates whether capacity rebalance is enabled | `bool` | `false` | no |
8486
| asg\_max | Max number of instances for autoscaling group. | `number` | `4` | no |
8587
| asg\_min | Min number of instances for autoscaling group. | `number` | `1` | no |
8688
| asg\_protect\_from\_scale\_in | (Optional) Allows setting instance protection. The autoscaling group will not select instances with this setting for termination during scale in events. | `bool` | `false` | no |
@@ -119,7 +121,9 @@ module "ecs_apps" {
119121
| vpc\_id | VPC ID to deploy the ECS cluster. | `any` | n/a | yes |
120122
| vpn\_cidr | Cidr of VPN to grant ssh access to ECS nodes | `list` | <pre>[<br> "10.37.0.0/16"<br>]</pre> | no |
121123
| wafv2\_enable | Deploys WAF V2 with Managed rule groups | `bool` | `false` | no |
122-
| wafv2\_managed\_rule\_groups | List of WAF V2 managed rule groups | `list(string)` | <pre>[<br> "AWSManagedRulesCommonRuleSet"<br>]</pre> | no |
124+
| wafv2\_managed\_block\_rule\_groups | List of WAF V2 managed rule groups, set to block | `list(string)` | `[]` | no |
125+
| wafv2\_managed\_rule\_groups | List of WAF V2 managed rule groups, set to count | `list(string)` | <pre>[<br> "AWSManagedRulesCommonRuleSet"<br>]</pre> | no |
126+
| wafv2\_rate\_limit\_rule | The limit on requests per 5-minute period for a single originating IP address (leave 0 to disable) | `number` | `0` | no |
123127

124128
## Outputs
125129

0 commit comments

Comments
 (0)