Skip to content

Commit 2ce7ff2

Browse files
authored
Merge 77c6462 into 55cdc3c
2 parents 55cdc3c + 77c6462 commit 2ce7ff2

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Terraform Template - Azure Data Protection Backup Vault
2+
3+
Costa Rica
4+
5+
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
6+
[brown9804](https://github.com/brown9804)
7+
8+
Last updated: 2025-06-11
9+
10+
----------
11+
12+
> This template contains Terraform configurations to create and manage an Azure Data Protection Backup Vault.
13+
14+
<p align="center">
15+
<img width="700" alt="image" src="https://github.com/user-attachments/assets/31b1d21a-2f0d-43d6-8898-22524685e425">
16+
</p>
17+
18+
## File Descriptions
19+
20+
- **main.tf**: Contains the main configuration for creating the Data Protection Backup Vault.
21+
- **variables.tf**: Defines the input variables used in the Terraform configuration.
22+
- **terraform.tfvars**: Provides default values for the variables defined in `variables.tf`.
23+
- **outputs.tf**: Defines the outputs such as the Backup Vault ID.
24+
25+
## Variables
26+
27+
| Variable Name | Description | Type | Example Value |
28+
|---------------------- |--------------------------------------------------|--------|-----------------------------|
29+
| `resource_group_name` | The name of the resource group | string | `"my-backup-rg"` |
30+
| `location` | The Azure region to deploy resources | string | `"eastus"` |
31+
| `backup_vault_name` | The name of the Data Protection Backup Vault | string | `"my-backup-vault"` |
32+
| `redundancy` | The redundancy setting for the backup vault | string | `"LocallyRedundant"` |
33+
| `tags` | A map of tags to assign to resources | map | `{ Environment = "Backup", Owner = "IT" }` |
34+
35+
## Usage
36+
37+
1. Clone the repository and navigate to the backup directory.
38+
2. Update the `terraform.tfvars` file with your values.
39+
3. Initialize and apply the Terraform configuration:
40+
41+
```bash
42+
terraform init
43+
terraform plan
44+
terraform apply
45+
```
46+
47+
## Outputs
48+
49+
| Output Name | Description |
50+
|------------------|---------------------------------------------|
51+
| `backup_vault_id`| The ID of the Data Protection Backup Vault |
52+
53+
<div align="center">
54+
<h3 style="color: #4CAF50;">Total Visitors</h3>
55+
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
56+
</div>

0 commit comments

Comments
 (0)