44 lines
979 B
Markdown
44 lines
979 B
Markdown
## Rubrik AWS Cloud Cluster Example
|
|
|
|
This Terraform config creates a Rubrik AWS cloud cluster using the Rubrik provider.
|
|
|
|
### Files
|
|
|
|
- [main.tf](main.tf): Terraform configuration and resource definition.
|
|
- [terraform.tfvars](terraform.tfvars): Local variable values for the deployment.
|
|
- `pso.json`: Rubrik provider credentials file referenced by the provider block.
|
|
|
|
### Prerequisites
|
|
|
|
- Terraform installed.
|
|
- A valid `pso.json` file in the project root.
|
|
- An AWS account already onboarded in Rubrik Security Cloud.
|
|
|
|
### Configure
|
|
|
|
Set the values in `terraform.tfvars`:
|
|
|
|
- `account_name`
|
|
- `region`
|
|
- `cluster_name`
|
|
- `admin_email`
|
|
- `admin_password`
|
|
- `bucket_name`
|
|
- `instance_profile_name`
|
|
- `vpc_id`
|
|
- `subnet_id`
|
|
- `security_group_ids`
|
|
|
|
### Run
|
|
|
|
```bash
|
|
terraform init
|
|
terraform plan
|
|
terraform apply
|
|
```
|
|
|
|
### Notes
|
|
|
|
- Keep `terraform.tfvars` and `pso.json` out of version control.
|
|
- The cluster uses fixed values for DNS, NTP, instance type, and CDM version in `main.tf`.
|