From 1c11053126129f2c9ca6dae160e9d3617bcba997 Mon Sep 17 00:00:00 2001 From: Viacheslav Kudinov Date: Tue, 26 Nov 2024 01:24:08 +0100 Subject: [PATCH] Fix documentation mistake for github_repository_dependabot_security_update resource to use GitHub repository name (#2439) Co-authored-by: Keegan Campbell --- .../r/repository_dependabot_security_updates.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/r/repository_dependabot_security_updates.html.markdown b/website/docs/r/repository_dependabot_security_updates.html.markdown index e2d143e85d..0a029929c1 100644 --- a/website/docs/r/repository_dependabot_security_updates.html.markdown +++ b/website/docs/r/repository_dependabot_security_updates.html.markdown @@ -25,7 +25,7 @@ resource "github_repository" "repo" { resource "github_repository_dependabot_security_updates" "example" { - repository = github_repository.test.id + repository = github_repository.test.name enabled = true } ``` @@ -34,7 +34,7 @@ resource "github_repository_dependabot_security_updates" "example" { The following arguments are supported: -* `repository` - (Required) The repository to manage. +* `repository` - (Required) The name of the GitHub repository. * `enabled` - (Required) The state of the automated security fixes.