From bd2010497da9e11fa0bb55f2807cb4339fe9dcf7 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 26 May 2021 12:01:25 -0600 Subject: [PATCH 1/4] docs: add example of terraform-registry configuration --- ...configuration-options-for-dependency-updates.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md index e8caa1a62498..7b3137050876 100644 --- a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md @@ -920,6 +920,20 @@ registries: ``` {% endraw %} +#### `terraform-registry` + +The `terraform-registry` type supports token. + +{% raw %} +```yaml +registries: + terraform-example: + type: terraform-registry + url: https://terraform.example.com + token: ${{secrets.MY_TERRAFORM_TOKEN}} +``` +{% endraw %} + #### `rubygems-server` The `rubygems-server` type supports username and password, or token. From fa94681617841ebe640f788a38e39ce20a7d7d34 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 28 May 2021 13:51:37 -0600 Subject: [PATCH 2/4] docs: move terraform example below rubygems --- ...guration-options-for-dependency-updates.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md index 7b3137050876..feaa1c0b31c3 100644 --- a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md @@ -920,20 +920,6 @@ registries: ``` {% endraw %} -#### `terraform-registry` - -The `terraform-registry` type supports token. - -{% raw %} -```yaml -registries: - terraform-example: - type: terraform-registry - url: https://terraform.example.com - token: ${{secrets.MY_TERRAFORM_TOKEN}} -``` -{% endraw %} - #### `rubygems-server` The `rubygems-server` type supports username and password, or token. @@ -958,3 +944,17 @@ registries: token: ${{secrets.MY_GITHUB_PERSONAL_TOKEN}} ``` {% endraw %} + +#### `terraform-registry` + +The `terraform-registry` type supports token. + +{% raw %} +```yaml +registries: + terraform-example: + type: terraform-registry + url: https://terraform.example.com + token: ${{secrets.MY_TERRAFORM_TOKEN}} +``` +{% endraw %} From 071352bb5a963945dec30e1e244c50623b887dff Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 28 May 2021 14:22:11 -0600 Subject: [PATCH 3/4] Update content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md Co-authored-by: Mike McDonald <2575327+asciimike@users.noreply.github.com> --- .../configuration-options-for-dependency-updates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md index feaa1c0b31c3..c649bbc0368c 100644 --- a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md @@ -955,6 +955,6 @@ registries: terraform-example: type: terraform-registry url: https://terraform.example.com - token: ${{secrets.MY_TERRAFORM_TOKEN}} + token: ${{secrets.MY_TERRAFORM_API_TOKEN}} ``` {% endraw %} From e42ebdbc2316af0eb618b0d58cb791b193956e85 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 28 May 2021 14:22:17 -0600 Subject: [PATCH 4/4] Update content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md Co-authored-by: Mike McDonald <2575327+asciimike@users.noreply.github.com> --- .../configuration-options-for-dependency-updates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md index c649bbc0368c..e70b2fa4a5f3 100644 --- a/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md +++ b/content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates.md @@ -947,7 +947,7 @@ registries: #### `terraform-registry` -The `terraform-registry` type supports token. +The `terraform-registry` type supports a token. {% raw %} ```yaml