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

Support for azurerm_backup_policy_vm to include tiering #21051

Closed
1 task done
cliff-wakefield-acurus opened this issue Mar 21, 2023 · 2 comments · Fixed by #26263
Closed
1 task done

Support for azurerm_backup_policy_vm to include tiering #21051

cliff-wakefield-acurus opened this issue Mar 21, 2023 · 2 comments · Fixed by #26263

Comments

@cliff-wakefield-acurus
Copy link

cliff-wakefield-acurus commented Mar 21, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

When defining an azure backup policy for a vm in the Azure Console you can enable tiering to move recovery points to an archive tier of the recovery services vault.

CleanShot 2023-03-21 at 12 14 16@2x

It would be great if this were exposed through the azurerm_backup_policy_vm resource.

The underlying API seems to support it.

New or Affected Resource(s)/Data Source(s)

azurerm_backup_policy_vm

Potential Terraform Configuration

# no tiering is the default no extra variables
resource "azurerm_backup_policy_vm" "example" {
...
}

# enable recommended tiering
resource "azurerm_backup_policy_vm" "example" {
...
  tiering = "recommended"
}

# enable eligible tiering after 3 months
resource "azurerm_backup_policy_vm" "example" {
...
  tiering = "eligible"
  tiering_eligible_period = 3
}

References

https://learn.microsoft.com/en-us/azure/backup/archive-tier-support
https://learn.microsoft.com/en-us/azure/backup/backup-azure-arm-userestapi-createorupdatepolicy

@craigmoyle
Copy link

Any update on this please? Has the potential to save customers quite a lot of money. Currently deploying via AzApi but it would be good to get native support.

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants