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

treat non-json values as not matching #1014

Merged
merged 1 commit into from
Dec 16, 2021
Merged

treat non-json values as not matching #1014

merged 1 commit into from
Dec 16, 2021

Conversation

coryflucas
Copy link
Contributor

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 #1013

Release note for CHANGELOG:

Fix for calculated values used in vault_aws_secret_backend_role policy_document not being applied without multiple terraform apply runs.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSSecretBackendRole_.*'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccAWSSecretBackendRole_.* -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   0.053s [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    0.133s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-vault/generated/datasources/transform/encode    0.148s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/alphabet    0.152s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/role        0.143s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/template    0.110s [no tests to run]
testing: warning: no tests to run
PASS
ok      github.com/hashicorp/terraform-provider-vault/generated/resources/transform/transformation      0.091s [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      0.100s [no tests to run]
=== RUN   TestAccAWSSecretBackendRole_basic
--- PASS: TestAccAWSSecretBackendRole_basic (5.75s)
=== RUN   TestAccAWSSecretBackendRole_import
--- PASS: TestAccAWSSecretBackendRole_import (3.26s)
=== RUN   TestAccAWSSecretBackendRole_nested
--- PASS: TestAccAWSSecretBackendRole_nested (4.53s)
PASS
ok      github.com/hashicorp/terraform-provider-vault/vault     13.643s

@ghost ghost added size/XS labels Apr 1, 2021
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 1, 2021

CLA assistant check
All committers have signed the CLA.

@coryflucas
Copy link
Contributor Author

Sorry for the long delay in signing the CLA, please let me know if there is anything else I can do to help with this.

@coryflucas
Copy link
Contributor Author

Is there anything I can do to help with review on this?

@coryflucas
Copy link
Contributor Author

@benashz @tvoran 👋 sorry to ping folks directly, but you two seem to be the most active on this recently and just hoping someone could take a look at this PR.

@benashz
Copy link
Contributor

benashz commented Dec 14, 2021

Hi @coryflucas would you mind rebasing this PR off of main. Thanks!

@benashz benashz self-requested a review December 14, 2021 22:07
@coryflucas
Copy link
Contributor Author

Hi @benashz, rebased from main and fixed the conflict, thanks!

@benashz benashz added this to the 3.1.0 milestone Dec 16, 2021
Copy link
Contributor

@benashz benashz left a comment

Choose a reason for hiding this comment

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

LGTM!

Thank your for your contribution to HashiCorp!

@benashz benashz merged commit 87683e9 into hashicorp:main Dec 16, 2021
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_aws_secret_backend_role policy_document requires multiple apply's if pointed at data source
3 participants