Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an identity_group_member_entity_ids resource to manage group entity member in a decoupled manner #724

Merged
merged 19 commits into from
Jun 8, 2020

Conversation

shwuandwing
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Output from acceptance testing:

make testacc TESTARGS='-run=TestAccIdentityGroup
MemberEntityIdsExclusive'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccIdentityGroupMemberEntityIdsExclusive -timeout 120m
?       github.com/terraform-providers/terraform-provider-vault [no test files]
?       github.com/terraform-providers/terraform-provider-vault/cmd/coverage    [no test files]
testing: warning: no tests to run
PASS
ok      github.com/terraform-providers/terraform-provider-vault/util    (cached) [no tests to run]
=== RUN   TestAccIdentityGroupMemberEntityIdsExclusive
--- PASS: TestAccIdentityGroupMemberEntityIdsExclusive (0.23s)
PASS
ok      github.com/terraform-providers/terraform-provider-vault/vault   0.241s

make testacc TESTARGS='-run=TestAccIdentityGroupMemberEntityIdsNonExclusive'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccIdentityGroupMemberEntityIdsNonExclusive -timeout 12
0m
?       github.com/terraform-providers/terraform-provider-vault [no test files]
?       github.com/terraform-providers/terraform-provider-vault/cmd/coverage    [no test files]
testing: warning: no tests to run
PASS
ok      github.com/terraform-providers/terraform-provider-vault/util    0.009s [no tests to run]
=== RUN   TestAccIdentityGroupMemberEntityIdsNonExclusive
--- PASS: TestAccIdentityGroupMemberEntityIdsNonExclusive (0.33s)
PASS
ok      github.com/terraform-providers/terraform-provider-vault/vault   0.344s
...

@ghost ghost added the size/XL label Apr 9, 2020
@ghost ghost added the documentation label Apr 9, 2020
@tyrannosaurus-becks tyrannosaurus-becks self-assigned this May 11, 2020
Copy link
Contributor

@tyrannosaurus-becks tyrannosaurus-becks left a comment

Choose a reason for hiding this comment

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

This looks great so far! Just a couple minor edits and discussion points. Thanks for working on this!

vault/provider.go Outdated Show resolved Hide resolved
@shwuandwing
Copy link
Contributor Author

@kalafut -- do you have a timeframe for reviewing this diff?

@austingebauer austingebauer self-requested a review June 2, 2020 23:44
Copy link
Contributor

@austingebauer austingebauer left a comment

Choose a reason for hiding this comment

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

Thanks, @shwuandwing! I'll be taking a look at this PR. Just a couple of small comments to start with.

website/docs/r/identity_group.html.md Outdated Show resolved Hide resolved
website/docs/r/identity_group.html.md Outdated Show resolved Hide resolved
Copy link
Contributor

@austingebauer austingebauer left a comment

Choose a reason for hiding this comment

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

Thanks again, @shwuandwing. I've played around with this new resource for a bit. Things seem to work well overall. Other than a few comments, this change looks good to me 👍

vault/resource_identity_group_member_entity_ids.go Outdated Show resolved Hide resolved
@shwuandwing
Copy link
Contributor Author

@austingebauer -- let me know if you still want the check for member_entity_ids.

@austingebauer
Copy link
Contributor

LGTM! Thanks for the updates, @shwuandwing.

@austingebauer austingebauer merged commit af1db7e into hashicorp:master Jun 8, 2020
dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this pull request Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants