Skip to content

Commit

Permalink
Added valid parameters in the doc (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunkavillisuranya authored Feb 3, 2022
1 parent 78b1894 commit 583c04a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/resources/cloud_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ The type of cloud account to add. You need to specify one and only one of these
* `name` - (Required) Name to be used for the account on the Prisma Cloud platform (must be unique).
* `role_arn` - (Required) Unique identifier for an AWS resource (ARN).
* `account_type` - (Optional) Defaults to "account" if not specified
* `protection_mode` - (Optional) Defaults to "MONITOR"
* `protection_mode` - (Optional) Defaults to "MONITOR".Valid values : `MONITOR` or `MONITOR_AND_PROTECT`

### Azure

Expand All @@ -90,7 +90,7 @@ The type of cloud account to add. You need to specify one and only one of these
* `tenant_id` - (Required) Active Directory ID associated with Azure.
* `service_principal_id` - (Required) Unique ID of the service principal object associated with the Prisma Cloud application that you create.
* `account_type` - (Optional) Defaults to "account" if not specified
* `protection_mode` - (Optional) Defaults to "MONITOR"
* `protection_mode` - (Optional) Defaults to "MONITOR". Valid values : `MONITOR` or `MONITOR_AND_PROTECT`

### GCP

Expand All @@ -105,7 +105,7 @@ The type of cloud account to add. You need to specify one and only one of these
* `flow_log_storage_bucket` - (Optional) GCP Flow logs storage bucket.
* `credentials_json` - (Required) Content of the JSON credentials file (read in using `file()`).
* `account_type` - (Optional) Defaults to "account" if not specified
* `protection_mode` - (Optional) Defaults to "MONITOR"
* `protection_mode` - (Optional) Defaults to "MONITOR". Valid values : `MONITOR` or `MONITOR_AND_PROTECT`

### Alibaba Cloud

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/org_cloud_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The type of org cloud account to add. You need to specify one and only one of t
* `member_external_id` - (Required) AWS org Member account role's external ID.
* `member_role_status` - (Optional, bool) - True = The member role created using stack set exists in all the member accounts.
All the Org accounts will be added. false = Only the master account will be added(Default = False).
* `protection_mode` - (Optional) Defaults to "MONITOR".
* `protection_mode` - (Optional) Defaults to "MONITOR". Valid values : `MONITOR` or `MONITOR_AND_PROTECT`

### Azure

Expand All @@ -97,7 +97,7 @@ The type of org cloud account to add. You need to specify one and only one of t
* `tenant_id` - (Required) Active Directory ID associated with Azure.
* `service_principal_id` - (Required) Unique ID of the service principal object associated with the Prisma Cloud application that you create.
* `account_type` - (Optional) Defaults to "tenant" if not specified.
* `protection_mode` - (Optional) Defaults to "MONITOR".
* `protection_mode` - (Optional) Defaults to "MONITOR". Valid values : `MONITOR`

### GCP

Expand Down
7 changes: 0 additions & 7 deletions prismacloud/resource_org_cloud_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,6 @@ func resourceOrgCloudAccount() *schema.Resource {
Optional: true,
Default: "MONITOR",
Description: "Monitor or Monitor and Protect",
ValidateFunc: validation.StringInSlice(
[]string{
"Monitor",
"Monitor and Protect",
},
true,
),
},
"tenant_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit 583c04a

Please sign in to comment.