diff --git a/examples/quick-start/terraform-github/github.js b/examples/quick-start/terraform-github/github.js index 8b6d9dce..06571335 100644 --- a/examples/quick-start/terraform-github/github.js +++ b/examples/quick-start/terraform-github/github.js @@ -11,13 +11,16 @@ const config = { provider: { github: { organization, + anonymous: true, }, }, - github_membership: {}, + resource: { + github_membership: {}, + }, }; for (const dev of developers) { - config.github_membership[membershipId(dev)] = { + config.resource.github_membership[membershipId(dev)] = { username: dev.github.handle, role: role(dev), }; diff --git a/examples/quick-start/terraform-github/test.expected b/examples/quick-start/terraform-github/test.expected index a6bc61d3..a9932cfa 100644 --- a/examples/quick-start/terraform-github/test.expected +++ b/examples/quick-start/terraform-github/test.expected @@ -1,14 +1,16 @@ "provider" "github" { "organization" = "myorg" + + "anonymous" = true } -"github_membership" "myorg_alice84" { +"resource" "github_membership" "myorg_alice84" { "username" = "alice84" "role" = "admin" } -"github_membership" "myorg_bob93" { +"resource" "github_membership" "myorg_bob93" { "username" = "bob93" "role" = "member"