Installation
Prerequisites
Before using Rivia modules, ensure you have the following installed:
- Terraform >= 1.6.0
- Azure CLI (for Azure modules) - Installation Guide
- AWS CLI (for AWS modules) - Installation Guide
- gcloud CLI (for GCP modules) - Installation Guide
Verify Installation
Verify your installations:
# Check Terraform version
terraform version
# Check Azure CLI
az --version
# Check AWS CLI
aws --version
# Check gcloud CLI
gcloud --version
Authentication
Azure
Authenticate with Azure using the Azure CLI:
az login
az account set --subscription "your-subscription-id"
AWS
Configure AWS credentials:
aws configure
Or set environment variables:
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_DEFAULT_REGION="us-east-1"
GCP
Authenticate with GCP:
gcloud auth login
gcloud config set project your-project-id
Using Our Modules
Our modules are available on GitHub and can be used directly in your Terraform configurations:
module "azure_policy_assignment" {
source = "github.com/Rivia-AI/terraform-azure-policy-assignment"
# Your configuration here
}
For more details, see the Quick Start Guide.