If a GitHub mount, team, or user mapping has been deleted outside of Terraform, the provider should recreate it without error.
Actual Behavior
Terraform fails. Similar errors are thrown for team and user mappings:
Planning failed. Terraform encountered an error while generating this plan.
│ Error: error reading github auth mount from '"auth/github"': auth mount github not present
│
│ with vault_github_auth_backend.this,
│ on auth_methods.tf line 80, in resource "vault_github_auth_backend" "this":
│ 80: resource "vault_github_auth_backend" "this" {
│
Terraform Core Version
1.6.6
Terraform Vault Provider Version
3.23.0
Vault Server Version
1.15.4
Affected Resource(s)
Expected Behavior
If a GitHub mount, team, or user mapping has been deleted outside of Terraform, the provider should recreate it without error.
Actual Behavior
Terraform fails. Similar errors are thrown for team and user mappings:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
vault auth disable github
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes