From da139e3515b636596b35c460262f2176ae50fd6a Mon Sep 17 00:00:00 2001 From: Jon M Date: Tue, 19 Dec 2023 15:53:36 +0000 Subject: [PATCH] set up for testing - revert later set-up for test with no README remove lock file - not needed set-up to test adding to existing README restore README to original --- .pre-commit-config.yaml | 14 ++++++++++++++ outputs.tf | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 outputs.tf diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 17fc5a6fc..b12ec6e1f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,3 +58,17 @@ repos: - id: prettier # https://prettier.io/docs/en/options.html#parser files: '.json5$' + + +- repo: local + hooks: + - id: terraform_docs + name: terraform_docs + entry: ./hooks/terraform_docs.sh + args: + - --hook-config=--path-to-file=README.md + - --hook-config=--use_standard_markers=false + - --hook-config=--create-file-if-not-exist=true + - --hook-config=--add-to-existing-file=true + language: system + files: (\.tf)$ diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 000000000..a3319169a --- /dev/null +++ b/outputs.tf @@ -0,0 +1,4 @@ +output "api_address" { + value = aws_api_gateway_stage.default_audit_stream.invoke_url + description = "Invoke URL for the API" +}