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 namespace resource #338

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

petems
Copy link
Contributor

@petems petems commented Mar 4, 2019

  • Only available in Enterprise

@petems petems force-pushed the add_namepace_resource branch 2 times, most recently from 06190f5 to b604364 Compare March 5, 2019 11:51
* Only available in Enterprise
@petems
Copy link
Contributor Author

petems commented Mar 5, 2019

Ran test with local instance of Vault Enterprise running:

$ ./vault server -dev
==> Vault server configuration:

             Api Address: http://127.0.0.1:8200
                     Cgo: disabled
         Cluster Address: https://127.0.0.1:8201
              Listener 1: tcp (addr: "127.0.0.1:8200", cluster address: "127.0.0.1:8201", max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
               Log Level: info
                   Mlock: supported: false, enabled: false
                 Storage: inmem
                 Version: Vault v1.0.3+prem
             Version Sha: 28a8a6dae0cea127d92e6f2a3cb0153132ab8c13
TF_ACC_ENTERPRISE=true make testacc
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v  -timeout 120m
=== RUN   TestNamespace_basic
--- PASS: TestNamespace_basic (0.07s)
PASS
ok  	github.com/terraform-providers/terraform-provider-vault/vault	24.849s

Creation in logs

2019-03-05T12:05:41.700Z [INFO]  core: successful mount: namespace=test-namespace-4991497302030061089/ path=sys/ type=ns_system
2019-03-05T12:05:41.700Z [INFO]  core: successful mount: namespace=test-namespace-4991497302030061089/ path=identity/ type=ns_identity
2019-03-05T12:05:41.700Z [INFO]  core: successful mount: namespace=test-namespace-4991497302030061089/ path=cubbyhole/ type=ns_cubbyhole
2019-03-05T12:05:41.701Z [INFO]  core: enabled credential backend: path=token/ type=ns_token
2019-03-05T12:05:41.726Z [INFO]  core: disabled credential backend: path=auth/token/
2019-03-05T12:05:41.727Z [INFO]  core: successfully unmounted: path=cubbyhole/ namespace=test-namespace-4991497302030061089/
2019-03-05T12:05:41.727Z [INFO]  core: successfully unmounted: path=identity/ namespace=test-namespace-4991497302030061089/
2019-03-05T12:05:41.728Z [INFO]  core: successfully unmounted: path=sys/ namespace=test-namespace-4991497302030061089/

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.

Fantastic, @petems, thank you!

@tyrannosaurus-becks tyrannosaurus-becks merged commit 8128ca9 into hashicorp:master Mar 5, 2019
@petems petems deleted the add_namepace_resource branch March 5, 2019 20:26
petems added a commit to petems/terraform-provider-vault that referenced this pull request Jun 10, 2019
* Was missed out in original PR hashicorp#338
chrishoffman pushed a commit that referenced this pull request Jun 11, 2019
* Was missed out in original PR #338
dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this pull request Jun 17, 2021
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.

None yet

2 participants