Skip to content

Add allowed_serial_numbers support - #1119

Closed
axolotlgeoff wants to merge 2 commits into
hashicorp:mainfrom
axolotlgeoff:allowed-serial-numbers
Closed

Add allowed_serial_numbers support#1119
axolotlgeoff wants to merge 2 commits into
hashicorp:mainfrom
axolotlgeoff:allowed-serial-numbers

Conversation

@axolotlgeoff

Copy link
Copy Markdown

This adds support for the allowed_serial_numbers setting in the vault_pki_secret_backend_role resource.

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

Relates OR Closes #0000

Release note for CHANGELOG:

`resource/vault_pki_secret_backend_role`: Add `allowed_serial_numbers` option

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestPkiSecretBackendRole'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./...) -v -run=TestPkiSecretBackendRole -timeout 120m
?   	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]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/codegen	(cached) [no tests to run]
?   	github.com/hashicorp/terraform-provider-vault/generated	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/decode	(cached) [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/encode	(cached) [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/resources/transform/alphabet	(cached) [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/resources/transform/role	(cached) [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/resources/transform/template	(cached) [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/generated/resources/transform/transformation	(cached) [no tests to run]
?   	github.com/hashicorp/terraform-provider-vault/schema	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-vault/util	(cached) [no tests to run]
=== RUN   TestPkiSecretBackendRole_basic
--- PASS: TestPkiSecretBackendRole_basic (0.47s)
PASS
ok  	github.com/hashicorp/terraform-provider-vault/vault	0.483s

@hashicorp-cla

hashicorp-cla commented Jul 27, 2021

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@benashz benashz added this to the 3.4.0 milestone Feb 11, 2022
@benashz
benashz self-requested a review February 11, 2022 14:01
@benashz benashz modified the milestones: 3.4.0, 3.5.0 Mar 15, 2022
@benashz benashz modified the milestones: 3.5.0, 3.6.0 Apr 20, 2022

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for submitting this PR and apologies for the delay! The PR is looking great!

Comment thread vault/resource_pki_secret_backend_role.go Outdated
Comment thread vault/resource_pki_secret_backend_role.go Outdated

@vinay-gopalan vinay-gopalan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM after merging commits, thanks for your contribution to HashiCorp!

Comment thread vault/resource_pki_secret_backend_role.go Outdated
Comment thread vault/resource_pki_secret_backend_role.go Outdated
@vinay-gopalan

Copy link
Copy Markdown
Contributor

Since CI tests are failing due to this branch being on an older version of the codebase, the work has been taken over in a new PR forked from this branch. Closing this PR with #1441

Thanks once again for your contribution to HashiCorp!

vinay-gopalan added a commit that referenced this pull request May 9, 2022
Co-authored-by: Geoff Childs <geoff.childs@adalpha.io>
marcboudreau pushed a commit to marcboudreau/terraform-provider-vault that referenced this pull request Nov 6, 2022
…rp#1441)

Co-authored-by: Geoff Childs <geoff.childs@adalpha.io>
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