We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.9.8
4.4.0
vault_audit
importing the existing resource should be working without changes needed
import shows a diff and requires a replace on local = true
13:46:57.420 STDOUT terraform: -/+ resource "vault_audit" "this" { 13:46:57.420 STDOUT terraform: ~ id = "file" -> (known after apply) 13:46:57.420 STDOUT terraform: + local = true # forces replacement 13:46:57.420 STDOUT terraform: ~ path = "file" -> (known after apply) 13:46:57.420 STDOUT terraform: # (3 unchanged attributes hidden) 13:46:57.420 STDOUT terraform: }
resource "vault_audit" "this" { type = "file" local = true description = "Local audit logging"
options = { file_path = "/var/log/vault/vault_audit.log" mode = "0000" } }
terraform import vault_audit.this "file"
in the state, after doing the import: local = null
No response
No
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Terraform Core Version
1.9.8
Terraform Vault Provider Version
4.4.0
Vault Server Version
1.9.8
Affected Resource(s)
vault_audit
Expected Behavior
importing the existing resource should be working without changes needed
Actual Behavior
import shows a diff and requires a replace on local = true
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "vault_audit" "this" {
type = "file"
local = true
description = "Local audit logging"
options = {
file_path = "/var/log/vault/vault_audit.log"
mode = "0000"
}
}
Steps to Reproduce
terraform import vault_audit.this "file"
Debug Output
in the state, after doing the import:
local = null
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: