Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/linkcheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"pattern": [
"127.0.0.1"
]
},
{
"pattern": "https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if its intentional, but adding this here means that if this link 404s in the future, it won't get flagged by the link check

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was my question on this file. This is required to be a not-found link, correct @bryantbiggs ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm saying, I don't think this should be added to the ignored patterns because if this link does die in the future, it won't get flagged by the link checker. I believe we do want the link to be checked and for the CI to error if the link 404s

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is need it to avoid 429 errors even with retries

Run find docs -name "*.md" | xargs -n 1 markdown-link-check -q -c .github/workflows/linkcheck.json
  find docs -name "*.md" | xargs -n 1 markdown-link-check -q -c .github/workflows/linkcheck.json
  shell: /usr/bin/bash -e {0}

  ERROR: 1 dead links found in docs/getting-started.md !
  [✖] https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli → Status: 429
Error: Process completed with exit code 123.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

}
]
}
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Ensure that you have installed the following tools locally:

- [awscli](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
- [kubectl](https://Kubernetes.io/docs/tasks/tools/)
- [terraform](https://learn.hashicorp.com/tutorials/terraform/install-cli)
- [terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)

## Deploy

Expand Down
Loading