Skip to content

Commit 2497a3d

Browse files
3ware-release[bot]chris3ware
authored andcommitted
docs(terraform): Update README.md
1 parent 83a3cb7 commit 2497a3d

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/terraform-ci.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ jobs:
192192
with:
193193
header: tf-approval
194194
append: true
195+
number: ${{ github.event.issue.number }}
195196
message: |
196197
#### Terraform Plan Approved.
197198
@@ -200,13 +201,6 @@ jobs:
200201
> [!WARNING]
201202
> Do not merge the pull request until the apply workflow has completed.
202203
203-
- name: Assign approved label
204-
if: ${{ env.APPLY_TRIGGER }}
205-
run: |
206-
gh pr edit ${{ github.event.issue.number }} --add-label "approved" --remove-label "approval required"
207-
env:
208-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
209-
210204
# - name: Set environment variables
211205
# # Replace '/' with '-' Most things like dashes and do not like forward slashes
212206
# run: |
@@ -215,6 +209,13 @@ jobs:
215209
- name: Checkout repository
216210
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
217211

212+
- name: Assign approved label
213+
if: ${{ env.APPLY_TRIGGER }}
214+
run: |
215+
gh pr edit ${{ github.event.issue.number }} --add-label "approved" --remove-label "approval required"
216+
env:
217+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
218+
218219
- name: Configure AWS credentials via OIDC
219220
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
220221
with:

.trunk/trunk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ lint:
6363
- linters: [prettier, markdownlint]
6464
paths:
6565
- CHANGELOG.md
66-
- tf/**/README.md
66+
- terraform/**/README.md
6767
- linters: [prettier]
6868
paths:
6969
- "**/*.enc.yaml"

terraform/development/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,24 @@ No modules.
2424
| Name | Type |
2525
|------|------|
2626
| [aws_default_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/default_security_group) | resource |
27+
| [aws_instance.grafana_server](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/instance) | resource |
2728
| [aws_internet_gateway.gitops_igw](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/internet_gateway) | resource |
2829
| [aws_route_table.gitops_rt](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/route_table) | resource |
2930
| [aws_route_table_association.gitops_rta](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/route_table_association) | resource |
31+
| [aws_security_group.grafana_sg](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/security_group) | resource |
3032
| [aws_subnet.gitops_subnet](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/subnet) | resource |
3133
| [aws_vpc.gitops_vpc](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/vpc) | resource |
34+
| [aws_vpc_security_group_egress_rule.grafana_egress](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/vpc_security_group_egress_rule) | resource |
35+
| [aws_vpc_security_group_ingress_rule.grafana_ingress](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/resources/vpc_security_group_ingress_rule) | resource |
36+
| [aws_ami.ubuntu](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/data-sources/ami) | data source |
3237
| [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/data-sources/caller_identity) | data source |
3338
| [aws_default_tags.this](https://registry.terraform.io/providers/hashicorp/aws/5.69.0/docs/data-sources/default_tags) | data source |
3439

3540
## Inputs
3641

3742
| Name | Description | Type | Default | Required |
3843
|------|-------------|------|---------|:--------:|
44+
| <a name="input_instance_type"></a> [instance\_type](#input\_instance\_type) | (Required) Instance type to use. Should be within the free tier | `string` | n/a | yes |
3945
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | (Required) Name of the project | `string` | n/a | yes |
4046
| <a name="input_region"></a> [region](#input\_region) | (Required) Name of the AWS region resources will be deployed into. | `string` | n/a | yes |
4147
| <a name="input_subnet_cidr_block"></a> [subnet\_cidr\_block](#input\_subnet\_cidr\_block) | (Required) A valid CIDR block to assign to the Grafana Server subnet | `string` | n/a | yes |
@@ -47,4 +53,5 @@ No modules.
4753
|------|-------------|
4854
| <a name="output_aws_account_id"></a> [aws\_account\_id](#output\_aws\_account\_id) | AWS account number resources are deployed into |
4955
| <a name="output_default_tags"></a> [default\_tags](#output\_default\_tags) | A map of default tags applied to resources. |
56+
| <a name="output_grafana_ip"></a> [grafana\_ip](#output\_grafana\_ip) | The connection details of the grafana server. |
5057
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)