Terraform Provider for Rubrik
  • README
  • Getting Started
    • Quick Start
  • Data Sources
    • cluster_version
  • Resources
    • assign_sla
    • aws_export_ec2
    • aws_native_account
    • aws_s3_cloudon
    • aws_s3_cloudout
    • azure_cloudon
    • azure_cloudout
    • bootstrap
    • bootstrap_cces_aws
    • bootstrap_cces_azure
    • configure_timezone
Powered by GitBook
On this page
  • rubrik_aws_native_account
  • Example Usage
  • Argument Reference

Was this helpful?

  1. Resources

aws_native_account

rubrik_aws_native_account

Enables the management and protection of Amazon Elastic Compute Cloud (Amazon EC2) instances from the Rubrik cluster.

Example Usage

resource "rubrik_aws_native_account" "example" {
  aws_account_name = "TF-Demo"
  aws_regions = ["us-east-1"]
  bolt_config = [
    {
      region          = "us-east-1"
      vNetId          = "vpc-11a44968"
      subnetId        = "subnet-3ac58e06"
      securityGroupId = "sg-9ba90ee5"
    },
  ]
}

Argument Reference

The following arguments are supported:

  • aws_account_name - (Required) The name of the AWS account you wish to protect. This is the name that will be displayed in the Rubrik UI

  • aws_access_key - (Optional) The access key of a AWS account with the required permissions. Default is the AWS_ACCESS_KEY_ID environment variable.

  • aws_secret_key - (Optional) The secret key of a AWS account with the required permissions. Default is the AWS_SECRET_ACCESS_KEY environment variable.

  • aws_regions - (Required) List of AWS regions to protect in this AWS account.

  • bolt_config - (Required) List of dicts containing per region bolt network configs.

  • delete_snapshots - (Optional) On destory, this will delete all EBS snapshots driven by Rubrik from your AWS account

  • timeout - (Optional) The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error. Default is 15.

Previousaws_export_ec2Nextaws_s3_cloudon

Last updated 6 years ago

Was this helpful?