Skip to content

Commit b10f19f

Browse files
authored
Merge 566564a into a745f51
2 parents a745f51 + 566564a commit b10f19f

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 Site Recovery (Recovery Services 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 Recovery Services Vault for Site Recovery.
13+
14+
<p align="center">
15+
<img width="700" alt="image" src="https://github.com/user-attachments/assets/05f960ad-18d2-4cc3-9229-21d81354bdd5">
16+
</p>
17+
18+
## File Descriptions
19+
20+
- **main.tf**: Contains the main configuration for creating the Recovery Services 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 Recovery Services 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-siterecovery-rg"` |
30+
| `location` | The Azure region to deploy resources | string | `"eastus"` |
31+
| `vault_name` | The name of the Recovery Services Vault | string | `"my-siterecovery-vault"` |
32+
| `sku` | The SKU for the Recovery Services Vault | string | `"Standard"` |
33+
| `tags` | A map of tags to assign to resources | map | `{ Environment = "SiteRecovery", Owner = "IT" }` |
34+
35+
## Usage
36+
37+
1. Clone the repository and navigate to the site-recovery 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+
| `recovery_services_vault_id` | The ID of the Recovery Services 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)