This repository contains Terraform code examples designed to provision and manage Azure NetApp Files application volume groups. Azure NetApp Files is a high-performance file storage service that supports various workloads, and application volume groups simplify the deployment of related volumes for SAP HANA and Oracle.
- Automated AVG Management: Simplifies the creation, modification, and deletion of Azure NetApp Files application volume groups.
- Version Control: Tracks changes to volume group configurations.
- Scalability: Supports scaling storage capacity and performance based on application needs.
- Integration: Seamlessly integrates with Azure services and workloads.
- Install Terraform.
- Configure access credentials for your Azure account.
- Ensure the Azure NetApp Files service is enabled in your subscription.
- oracle-destination-avg - This example creates destination volumes (cross-zone or cross-region replication) for an existing application volume group for Oracle.
-
Clone this repository:
git clone https://github.com/ANFTechTeam/terraform-avg.git cd terraform-avg
-
Change directory to one of the examples
cd oracle-destination-avg
-
Initialize Terraform:
terraform init
-
Review and customize the variables in the
variables.tf
andterraform.tfvars
files, including details for the NetApp account, capacity pool, and volume configurations. -
Plan the infrastructure changes:
terraform plan
-
Apply the changes to provision the application volume group:
terraform apply
-
To destroy the application volume group:
terraform destroy
- Follow best practices for managing sensitive data, such as using Azure Key Vault or environment variables for credentials.
- Regularly review and update the Terraform code to align with evolving application and storage requirements.