Skip to content

Commit f2cfe79

Browse files
Merge pull request #60 from NHSDigital/feature/CCM-9371_Fixes
Feature/ccm 9371 fixes
2 parents 1fa622c + bd368d6 commit f2cfe79

6 files changed

Lines changed: 21 additions & 5 deletions

File tree

.github/workflows/stage-1-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
make terraform-docs
8484
- name: "Stage changes"
8585
run: |
86-
git add infrastructure/terraform/**/*.md
86+
git add infrastructure/modules/**/*.md
8787
- name: "Check for changes in Terraform Docs"
8888
run: |
8989
if git diff --cached --name-only | grep -qE '\.md$'; then

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ nodejs 18.18.2
77
gitleaks 8.18.4
88
tfsec 1.28.10
99
terraform-docs 0.19.0
10+
vale 3.6.0
1011

1112

1213
# ==============================================================================

docs/Gemfile.lock

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ GEM
2929
ffi (1.16.3)
3030
forwardable-extended (2.6.0)
3131
gemoji (4.1.0)
32+
google-protobuf (3.25.5-arm64-darwin)
3233
google-protobuf (3.25.5-x86_64-linux)
3334
html-pipeline (2.14.3)
3435
activesupport (>= 2)
@@ -90,6 +91,8 @@ GEM
9091
jekyll-seo-tag (~> 2.1)
9192
minitest (5.24.1)
9293
mutex_m (0.2.0)
94+
nokogiri (1.16.5-arm64-darwin)
95+
racc (~> 1.4)
9396
nokogiri (1.16.5-x86_64-linux)
9497
racc (~> 1.4)
9598
pathutil (0.16.2)
@@ -103,9 +106,10 @@ GEM
103106
rexml (3.3.9)
104107
rouge (4.2.1)
105108
safe_yaml (1.0.5)
106-
sass-embedded (1.69.5)
109+
sass-embedded (1.69.5-arm64-darwin)
110+
google-protobuf (~> 3.23)
111+
sass-embedded (1.69.5-x86_64-linux-gnu)
107112
google-protobuf (~> 3.23)
108-
rake (>= 13.0.0)
109113
terminal-table (3.0.2)
110114
unicode-display_width (>= 1.1.1, < 3)
111115
tzinfo (2.0.6)
@@ -114,6 +118,7 @@ GEM
114118
webrick (1.8.1)
115119

116120
PLATFORMS
121+
arm64-darwin-23
117122
x86_64-linux
118123

119124
DEPENDENCIES

infrastructure/modules/s3bucket/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
## Requirements
66

7-
No requirements.
7+
| Name | Version |
8+
|------|---------|
9+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.9.0 |
810
## Inputs
911

1012
| Name | Description | Type | Default | Required |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
terraform {
2+
required_providers {
3+
aws = {
4+
source = "hashicorp/aws"
5+
}
6+
}
7+
required_version = ">= 1.9.0"
8+
}

scripts/githooks/check-terraform-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function main() {
2727
function terraform-docs() {
2828

2929
make terraform-docs
30-
git add infrastructure/terraform/**/*.md
30+
git add infrastructure/modules/**/*.md
3131
}
3232

3333
# ==============================================================================

0 commit comments

Comments
 (0)