Skip to content
New issue

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

[DO NOT MERGE: BROKEN] Attempting to fix Azure backups in terraform #4627

Closed

Conversation

sgibson91
Copy link
Member

This PR documents what I tried as part of:

The terraform plan is clean, however during apply, I get the following error:

│ Error: [ERROR] fileshare 'homes' not found in protectable or protected fileshares, make sure Storage Account "2i2cutorontohubstorage" is registered with Recovery Service Vault "homedir-recovery-vault" (Resource Group "2i2c-utoronto-cluster")
│ 
│   with azurerm_backup_protected_file_share.homes,
│   on storage.tf line 76, in resource "azurerm_backup_protected_file_share" "homes":
│   76: resource "azurerm_backup_protected_file_share" "homes" {

Googling the error, this was apparently fixed upstream in v2.86.0, and we are using v3.111, so I'm not sure why we are still seeing this.

@sgibson91
Copy link
Member Author

I tried to see if I could manually configure the backup in the Azure Portal, but the file share cannot be discovered

Screenshot 2024-08-15 at 11 27 37

@sgibson91
Copy link
Member Author

Aha!

Screenshot 2024-08-15 at 11 28 44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant