terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

Add `vault_namespace` data source

Open tmatilai opened this issue 2 years ago • 1 comments

Add vault_namespace data source for fetching information of specified or the current namespace.

Closes #1748 Relates #1766 Relates #1756

Output from acceptance testing
$ make testacc-ent TESTARGS='-run=TestAccDataSourceNamespace'
make testacc TF_ACC_ENTERPRISE=1
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test -run=TestAccDataSourceNamespace -timeout 30m ./...
?       github.com/hashicorp/terraform-provider-vault   [no test files]
?       github.com/hashicorp/terraform-provider-vault/cmd/coverage      [no test files]
?       github.com/hashicorp/terraform-provider-vault/cmd/generate      [no test files]
ok      github.com/hashicorp/terraform-provider-vault/codegen   (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-vault/generated [no test files]
ok      github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/decode    (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/encode    (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/alphabet    (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/role        (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/template    (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/transformation      (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-vault/helper    [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/consts   [no test files]
ok      github.com/hashicorp/terraform-provider-vault/internal/identity/entity  (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-vault/internal/identity/group   [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/identity/mfa     [no test files]
?       github.com/hashicorp/terraform-provider-vault/internal/pki      [no test files]
ok      github.com/hashicorp/terraform-provider-vault/internal/provider (cached) [no tests to run]
?       github.com/hashicorp/terraform-provider-vault/schema    [no test files]
ok      github.com/hashicorp/terraform-provider-vault/testutil  (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/util      (cached) [no tests to run]
ok      github.com/hashicorp/terraform-provider-vault/vault     10.998s

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

tmatilai avatar Feb 19 '23 19:02 tmatilai

@fairclothjm Thanks for the feedback and attention! I didn't want to use more time on keeping the PRs up-to-date before getting any signal that they could be accepted.

I have a bit busy week again, but will definitely try to rebase and revisit these soon. 🙂

tmatilai avatar Jan 29 '24 19:01 tmatilai

@tmatilai FYI, I opened a PR which will supersede this PR.

fairclothjm avatar Mar 25 '24 17:03 fairclothjm

@fairclothjm Thank you so much! Sorry, I just haven't found the time and energy to clean these up. So many things going on... 😅

tmatilai avatar Mar 25 '24 17:03 tmatilai