Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing azure type #270

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ output "features_supported" {
The following are the params that this data source supports:

* `cloud_type` - (Required) Cloud type. `aws`, `azure`, or `gcp`.
* `account_type` - (Required) Cloud account type. `account`, `organization`, `masterServiceAccount`, or `tenant`. Supported values based on cloud_type are given below. <br /> - account, organization - cloud_type: **aws**<br /> - account, organization, masterServiceAccount - cloud_type: **gcp** <br /> - account, tenant - cloud_type: **azure**
* `account_type` - (Required) Cloud account type. `account`, `organization`, `masterServiceAccount`,`tenantWithMgmt`, or `tenant`. Supported values based on cloud_type are given below. <br /> - account, organization - cloud_type: **aws**<br /> - account, organization, masterServiceAccount - cloud_type: **gcp** <br /> - account, tenant, tenantWithMgmt - cloud_type: **azure**
* `deployment_type` - (Optional) *Applicable only for cloud_type: **azure***. Possible values: `azure`, `azure_gov`, or `azure_china`. <br /> - **azure** - Account type is commercial<br /> - **azure_gov** - Account type is Government on Prisma Commercial and Government stacks.<br /> - **azure_china** - Prisma China Stack.
* `aws_partition` - (Optional) *Applicable only for Prisma Government Stack(**app.gov.prismacloud.io**) and given if the Cloud account Global Deployment option is enabled.<br />* - **us-east-1** - AWS Commercial/Global account.<br /> - **us-gov-west-1** - AWS GovCloud account.
* `root_sync_enabled` - (Optional) *Applicable only for cloud_type: **azure** and accountType: **tenant***.<br /> In order to get supported features for accountType **tenant** and its associated **management groups** and **subscriptions**, rootSyncEnabled must be set to true.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/org_cloud_account_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Before onboarding the aws cloud account `external_id` for account must be genera
### `Step 1`: Fetch the supported features. Refer **[Supported features readme](https://registry.terraform.io/providers/PaloAltoNetworks/prismacloud/latest/docs/data-sources/cloud_account_supported_features)** for more details.

```hcl
data "prismacloud_account_supported_features" "prismacloud_supported_features" {
data "prismacloud_account_supported_features" "prismacloud_supported_features_tenant" {
cloud_type = "azure"
account_type = "tenant"
deployment_type = "azure"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func dataSourceCloudAccountSupportedFeatures() *schema.Resource {
"organization",
"masterServiceAccount",
"tenant",
"tenantWithMgmt",
},
false,
),
Expand Down