Problem using token_ttl parameter with vault_token_auth_backend_role

Hello,

I’m attempting to use the token_ttl parameter with the vault_token_auth_backend_role resource. The value that I give is lower than the system default explicit_max_ttl, but when I create a token using that role, the ttl is taking on the default explicit_max_ttl, and not the lower value that I had specified.

Any clarification on proper usage of this resource would be greatly appreciated!

Hi! I see this is related to the Terraform Vault Provider. Can you post a few more details? Which version of Vault, Terraform, and the Terraform Vault Provider are you on? Also, can you show the Terraform config you’re using for that resource, with as little abstracted as possible? Especially around TTLs. Thanks, that’ll help with debugging!