From 7a77564324477b9088beed68eab65959c2c20390 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Fri, 6 Oct 2023 15:31:05 +0200 Subject: [PATCH] Update documentation (#90) Add link to the Rubrik Security Cloud documentation and specify that AWS exocompute require two subnets and they must be in different availability zones. --- docs/index.md | 2 +- docs/resources/aws_exocompute.md | 2 +- internal/provider/resource_aws_exocompute.go | 2 +- templates/index.md.tmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index f6511a8..ebfd117 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ page_title: "Provider: RSC" The RSC provider, formerly known as the Polaris provider, provides resources to interact with the Rubrik RSC platform. Additional examples on how to use the provider are available in the [terraform-provider-polaris-examples](https://github.com/rubrikinc/terraform-provider-polaris-examples) GitHub -repository. +repository. Documentation for the Rubrik Security Cloud is available at https://docs.rubrik.com/en-us/saas/index.html. ~> Upgrading from v0.2.0 to v0.3.0 requires that the definition of certain resources are updated on disk. Please see the upgrade guide for more information. diff --git a/docs/resources/aws_exocompute.md b/docs/resources/aws_exocompute.md index 056ec7b..012b64a 100644 --- a/docs/resources/aws_exocompute.md +++ b/docs/resources/aws_exocompute.md @@ -47,7 +47,7 @@ resource "polaris_aws_exocompute" "default" { - `account_id` (String) Polaris account id - `region` (String) AWS region to run the exocompute instance in. -- `subnets` (Set of String) AWS subnet ids for the cluster subnets. +- `subnets` (Set of String) AWS subnet ids for the cluster subnets. Two subnets must be specified and they must be in different availability zones. - `vpc_id` (String) AWS VPC id for the cluster network. ### Optional diff --git a/internal/provider/resource_aws_exocompute.go b/internal/provider/resource_aws_exocompute.go index 12276fc..49e3376 100644 --- a/internal/provider/resource_aws_exocompute.go +++ b/internal/provider/resource_aws_exocompute.go @@ -89,7 +89,7 @@ func resourceAwsExocompute() *schema.Resource { MaxItems: 2, Required: true, ForceNew: true, - Description: "AWS subnet ids for the cluster subnets.", + Description: "AWS subnet ids for the cluster subnets. Two subnets must be specified and they must be in different availability zones.", }, "vpc_id": { Type: schema.TypeString, diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 226f07a..404546b 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -6,7 +6,7 @@ page_title: "Provider: RSC" The RSC provider, formerly known as the Polaris provider, provides resources to interact with the Rubrik RSC platform. Additional examples on how to use the provider are available in the [terraform-provider-polaris-examples](https://github.com/rubrikinc/terraform-provider-polaris-examples) GitHub -repository. +repository. Documentation for the Rubrik Security Cloud is available at https://docs.rubrik.com/en-us/saas/index.html. ~> Upgrading from v0.2.0 to v0.3.0 requires that the definition of certain resources are updated on disk. Please see the upgrade guide for more information.