[Bug]: resource vault_token
twatel opened this issue · 1 comments
Terraform Core Version
1.7.4
Terraform Vault Provider Version
4.2.0
Vault Server Version
1.16.0
Affected Resource(s)
No response
Expected Behavior
Create an temporary access token
Actual Behavior
vault_token.ssh_otp: Creating...
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to vault_token.ssh_otp, provider "provider["registry.terraform.io/hashicorp/vault"]" produced an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
resource "vault_token" "ssh_otp" {
policies = ["boundary-controller-policy"]
renewable = true
ttl = "24h"
renew_min_lease = 43200
renew_increment = 86400
metadata = {
"source_token" = "boundary-controller",
"role" = "generate SSH OTP secrets"
}
}
Steps to Reproduce
Terraform apply ? I guess
Debug Output
vault_token.ssh_otp: Creating...
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to vault_token.ssh_otp, provider "provider["registry.terraform.io/hashicorp/vault"]" produced an unexpected new value: Root object was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
My bad, my access policiy was wrong