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

[Enhancement]: store parameter for the Create/Update tokenization transformation #2389

Open
opp-svega opened this issue Jan 15, 2025 · 1 comment

Comments

@opp-svega
Copy link

Description

It looks like the terraform provider does not support the stores parameter on the vault_transform_transformation resource. Because of this, i have to use a funky work around using the restapi provider.

https://developer.hashicorp.com/vault/api-docs/secret/transform#stores

Affected Resource(s) and/or Data Source(s)

  • vault_transform_transformation

Potential Terraform Configuration

resource "vault_transform_transformation" "example" {
  path          = vault_mount.example.path
  name          = "ccn-fpe"
  type          = "fpe"
  template      = "ccn"
  tweak_source  = "internal"
  allowed_roles = ["payments"]
  stores        = ["example_store"]
}

References

No response

Would you like to implement a fix?

None

@opp-svega
Copy link
Author

After some further research into the resource and api, it looks like the terraform is referencing a soon to be deprecated endpoint.

https://github.com/hashicorp/terraform-provider-vault/blob/main/vault/resource_transform_transformation.go#L17
https://developer.hashicorp.com/vault/api-docs/secret/transform#create-update-transformation-deprecated-1-6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant