# terraform-aws-backup

# VMWare module

## Overview

This module provides functionality to create AWS Backup resources, specifically for use with VMWare.

Key notes about module usage:

- In order to be backed up, virtual machines *must* have the `backup_enabled` tag set to `"true"`. This cannot (as of June 2022) be managed by Terraform and must be handled separately.
- Similarly, this module accepts an input variable called `var.backup_hypervisor_id` - this is used to limit virtual machine selections to a particular hypervisor (e.g. only ny tier1). There is presently no data source, terraform resource, or aws cli command available to look up hypervisors: you must find this ID by looking in the AWS console once you have created a hypervisor. 

## Resources

#### The module manages the following:
- Backup vaults
- KMS keys for backup vaults
- Backup plans
- Backup selections
  - IAM components for backup selections

### The module does not manage the following:
- Backup gateways
- Hypervisors
- Virtual machines
  - Virtual machine tags
