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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for patch to vault_policy_document #1238

Merged
merged 2 commits into from Nov 29, 2021

Conversation

benashz
Copy link
Contributor

@benashz benashz commented Nov 26, 2021

Update vault_policy_document data source to support the patch capability.

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

Closes #1227

Release note for CHANGELOG:

Output from acceptance testing:

$ make dev testacc TESTARGS='-v -test.run TestDataSourcePol'            
==> Checking that code complies with gofmt requirements...
go build -o terraform-provider-vault
mv terraform-provider-vault ~/.terraform.d/plugins/
TF_ACC=1 go test $(go list ./...) -v -v -test.run TestDataSourcePol -timeout 20m

=== RUN   TestDataSourcePolicyDocument
--- PASS: TestDataSourcePolicyDocument (1.94s)
PASS
ok      github.com/hashicorp/terraform-provider-vault/vault     4.881s

...

@benashz benashz merged commit 77bce83 into main Nov 29, 2021
@benashz benashz deleted the VAULT-4357/vpd-add-patch-support branch November 29, 2021 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vault_policy_document missing support for patch capability introduced in Vault 1.9.0
2 participants