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
Terraform v0.11.7
0.9.1
resource "vault_approle_auth_backend_role" "app_role" { backend = "approle" role_name = "app_role_test" policies = ["${vault_policy.policy_approle.name}"] secret_id_num_uses = "1" secret_id_ttl = "${var.secret_ttl}" } resource "vault_approle_auth_backend_role_secret_id" "app_secret_id" { backend = "${vault_approle_auth_backend_role.app_role.backend}" role_name = "${vault_approle_auth_backend_role.app_role.role_name}" }
Terraform should not throw an error during the destroy process if the secret_id has been consumed in the vault.
Error: Error refreshing state: 1 error(s) occurred: * module.create_vault_approle.vault_approle_auth_backend_role_secret_id.app_secret_id: 1 error(s) occurred: * module.create_vault_approle.vault_approle_auth_backend_role_secret_id.app_secret_id: vault_approle_auth_backend_role_secret_id.app_secret_id: Error checking if AppRole auth backend role SecretID "backend=approle::role=app_role_test::accessor="abcd1234" exists: Error making API request. URL: PUT http://127.0.0.1:8200/v1/auth/approle/role/app_role_test/secret-id-accessor/lookup Code: 500. Errors: * 1 error occurred: * failed to find accessor entry for secret_id_accessor:
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform destroy
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Terraform Version
Terraform v0.11.7
Vault Version
0.9.1
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform should not throw an error during the destroy process if the secret_id has been consumed in the vault.
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform destroy
The text was updated successfully, but these errors were encountered: