Skip to content

Add support for patch to vault_policy_document - #1238

Merged
benashz merged 2 commits into
mainfrom
VAULT-4357/vpd-add-patch-support
Nov 29, 2021
Merged

Add support for patch to vault_policy_document#1238
benashz merged 2 commits into
mainfrom
VAULT-4357/vpd-add-patch-support

Conversation

@benashz

@benashz benashz commented Nov 26, 2021

Copy link
Copy Markdown
Collaborator

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