diff --git a/examples/main.tf b/examples/main.tf index a0f8aac..f37eb6e 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -28,20 +28,20 @@ resource "dockerhub_org_team_member_association" "example_association" { user_names = ["forrestloomis371", "username-placeholder"] } -# # Create repository -# resource "dockerhub_repository" "org_repo" { -# namespace = "dockerterraform" -# name = "docker-terraform-repo-demo-" -# description = "This is a repo demo" -# full_description = "Lorem ipsum" -# } +# Create repository +resource "dockerhub_repository" "org_repo" { + namespace = "dockerterraform" + name = "docker-terraform-repo-demo-" + description = "This is a repo demo" + full_description = "Lorem ipsum" +} -# # Create repository team permission -# resource "dockerhub_repository_team_permission" "test" { -# repo_id = dockerhub_repository.org_repo.id -# team_id = dockerhub_org_team.terraform-team.id -# permission = "admin" -# } +# Create repository team permission +resource "dockerhub_repository_team_permission" "test" { + repo_id = dockerhub_repository.org_repo.id + team_id = dockerhub_org_team.terraform-team.id + permission = "admin" +} # Create access token resource "dockerhub_access_token" "new_token_v2" {