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

Enable storage backups for Azure clusters #4414

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

sgibson91
Copy link
Member

@sgibson91
Copy link
Member Author

sgibson91 commented Jul 11, 2024

Trying to apply this to utoronto gives me the following unhelpful error

azurerm_backup_policy_file_share.backup_policy: Creating...
╷
│ Error: creating/updating Backup Policy (Subscription: "xxxx"
│ Resource Group Name: "2i2c-utoronto-cluster"
│ Vault Name: "homedir-recovery-vault"
│ Backup Policy Name: "homedir-recovery-vault-policy"): protectionpolicies.ProtectionPoliciesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="UserErrorInvalidRequestParameter" Message="Parameter NO_PARAM in request is invalid. Please provide correct value for parameter NO_PARAM"
│ 
│   with azurerm_backup_policy_file_share.backup_policy,
│   on storage.tf line 51, in resource "azurerm_backup_policy_file_share" "backup_policy":
│   51: resource "azurerm_backup_policy_file_share" "backup_policy" {

@sgibson91
Copy link
Member Author

Turns out I had declared the timezone incorrectly: https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/

@sgibson91 sgibson91 merged commit 3a04c42 into 2i2c-org:main Jul 11, 2024
2 of 3 checks passed
@sgibson91 sgibson91 deleted the tf-azure/storage-back-up branch July 11, 2024 10: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