-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support docs for terraform cloud provider (#14)
* Generate docs for cloud provider * Update pool, poolnamespace and location desc
- Loading branch information
Showing
12 changed files
with
289 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "streamnative_pulsar_cluster Data Source - terraform-provider-streamnative" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# streamnative_pulsar_cluster (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The service account name | ||
- `organization` (String) The organization name | ||
|
||
### Read-Only | ||
|
||
- `bookie_replicas` (Number) The number of bookie replicas | ||
- `bookkeeper_version` (String) The version of the bookkeeper cluster | ||
- `broker_replicas` (Number) The number of broker replicas | ||
- `compute_unit` (Number) compute unit, 1 compute unit is 2 cpu and 8gb memory | ||
- `config` (List of Object) (see [below for nested schema](#nestedatt--config)) | ||
- `http_tls_service_url` (String) The service url of the pulsar cluster, use it to management the pulsar cluster | ||
- `id` (String) The ID of this resource. | ||
- `instance_name` (String) The pulsar instance name | ||
- `kafka_service_url` (String) If you want to connect to the pulsar cluster using the kafka protocol, use this kafka service url | ||
- `location` (String) The location of the pulsar cluster, supported location https://docs.streamnative.io/docs/cluster#cluster-location | ||
- `mqtt_service_url` (String) If you want to connect to the pulsar cluster using the mqtt protocol, use this mqtt service url | ||
- `pulsar_tls_service_url` (String) The service url of the pulsar cluster, use it to produce and consume message | ||
- `pulsar_version` (String) The version of the pulsar cluster | ||
- `ready` (String) Pulsar cluster is ready, it will be set to 'True' after the cluster is ready | ||
- `storage_unit` (Number) storage unit, 1 storage unit is 2 cpu and 8gb memory | ||
- `websocket_service_url` (String) If you want to connect to the pulsar cluster using the websocket protocol, use this websocket service url | ||
|
||
<a id="nestedatt--config"></a> | ||
### Nested Schema for `config` | ||
|
||
Read-Only: | ||
|
||
- `audit_log` (List of Object) (see [below for nested schema](#nestedobjatt--config--audit_log)) | ||
- `custom` (Map of String) | ||
- `function_enabled` (Boolean) | ||
- `protocols` (List of Object) (see [below for nested schema](#nestedobjatt--config--protocols)) | ||
- `transaction_enabled` (Boolean) | ||
- `websocket_enabled` (Boolean) | ||
|
||
<a id="nestedobjatt--config--audit_log"></a> | ||
### Nested Schema for `config.audit_log` | ||
|
||
Read-Only: | ||
|
||
- `categories` (List of String) | ||
|
||
|
||
<a id="nestedobjatt--config--protocols"></a> | ||
### Nested Schema for `config.protocols` | ||
|
||
Read-Only: | ||
|
||
- `kafka` (Map of String) | ||
- `mqtt` (Map of String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "streamnative_pulsar_instance Data Source - terraform-provider-streamnative" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# streamnative_pulsar_instance (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The service account name | ||
- `organization` (String) The organization name | ||
|
||
### Read-Only | ||
|
||
- `availability_mode` (String) The availability mode, supporting 'zonal' and 'regional' | ||
- `id` (String) The ID of this resource. | ||
- `pool_name` (String) The infrastructure pool name to use, supported pool 'shared-aws', 'shared-gcp' | ||
- `pool_namespace` (String) The infrastructure pool namespace to use, supported 'streamnative' | ||
- `ready` (String) Pulsar instance is ready, it will be set to 'True' after the instance is ready | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "streamnative_service_account Data Source - terraform-provider-streamnative" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# streamnative_service_account (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `organization` (String) The organization name | ||
|
||
### Optional | ||
|
||
- `name` (String) The service account name | ||
|
||
### Read-Only | ||
|
||
- `admin` (Boolean) Whether the service account is admin | ||
- `id` (String) The ID of this resource. | ||
- `private_key_data` (String) The private key data | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,20 @@ | ||
--- | ||
page_title: "Provider: StreamNative" | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "streamnative Provider" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# StreamNative Provider | ||
# streamnative Provider | ||
|
||
Simplify Apache Pulsar Terraform deployment with the StreamNative Terraform Provider. Manage Pulsar Instances, Pulsar Clusters, Service Accounts, and more in StreamNative. | ||
|
||
Use the StreamNative provider to deploy and manage [StreamNative Cloud](https://console.streamnative.cloud) infrastructure. You must provide appropriate credentials to use the provider. The navigation menu provides details about the resources that you can interact with (_Resources_), and a guide (_Guides_) for how you can get started. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
terraform { | ||
required_providers { | ||
pulsar = { | ||
version = "0.1.0" | ||
source = "registry.terraform.io/streamnative/streamnative" | ||
} | ||
} | ||
} | ||
``` | ||
|
||
[Add example] | ||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
## Enable StreamNative Cloud Access | ||
### Required | ||
|
||
[Document how to enable StreamNative Cloud Access] | ||
|
||
## Provider Authentication | ||
|
||
StreamNative Terraform provider allows authentication by using ... | ||
|
||
## Helpful Links/Information | ||
|
||
* [Report Bugs](https://github.com/streamnative/terraform-provider-streamnative/issues) | ||
- `key_file_path` (String) The path of the private key file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "streamnative_pulsar_cluster Resource - terraform-provider-streamnative" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# streamnative_pulsar_cluster (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `instance_name` (String) The pulsar instance name | ||
- `location` (String) The location of the pulsar cluster, supported location https://docs.streamnative.io/docs/cluster#cluster-location | ||
- `name` (String) The service account name | ||
- `organization` (String) The organization name | ||
|
||
### Optional | ||
|
||
- `bookie_replicas` (Number) The number of bookie replicas | ||
- `broker_replicas` (Number) The number of broker replicas | ||
- `compute_unit` (Number) compute unit, 1 compute unit is 2 cpu and 8gb memory | ||
- `config` (Block List) (see [below for nested schema](#nestedblock--config)) | ||
- `storage_unit` (Number) storage unit, 1 storage unit is 2 cpu and 8gb memory | ||
|
||
### Read-Only | ||
|
||
- `bookkeeper_version` (String) The version of the bookkeeper cluster | ||
- `http_tls_service_url` (String) The service url of the pulsar cluster, use it to management the pulsar cluster | ||
- `id` (String) The ID of this resource. | ||
- `kafka_service_url` (String) If you want to connect to the pulsar cluster using the kafka protocol, use this kafka service url | ||
- `mqtt_service_url` (String) If you want to connect to the pulsar cluster using the mqtt protocol, use this mqtt service url | ||
- `pulsar_tls_service_url` (String) The service url of the pulsar cluster, use it to produce and consume message | ||
- `pulsar_version` (String) The version of the pulsar cluster | ||
- `ready` (String) Pulsar cluster is ready, it will be set to 'True' after the cluster is ready | ||
- `websocket_service_url` (String) If you want to connect to the pulsar cluster using the websocket protocol, use this websocket service url | ||
|
||
<a id="nestedblock--config"></a> | ||
### Nested Schema for `config` | ||
|
||
Optional: | ||
|
||
- `audit_log` (Block List) (see [below for nested schema](#nestedblock--config--audit_log)) | ||
- `custom` (Map of String) Controls the custom config of pulsar cluster | ||
- `function_enabled` (Boolean) Whether the function is enabled | ||
- `protocols` (Block List) (see [below for nested schema](#nestedblock--config--protocols)) | ||
- `transaction_enabled` (Boolean) Whether the transaction is enabled | ||
- `websocket_enabled` (Boolean) | ||
|
||
<a id="nestedblock--config--audit_log"></a> | ||
### Nested Schema for `config.audit_log` | ||
|
||
Optional: | ||
|
||
- `categories` (List of String) Controls the audit log categories config of pulsar cluster, supported categories: "Management", "Describe", "Produce", "Consume" | ||
|
||
|
||
<a id="nestedblock--config--protocols"></a> | ||
### Nested Schema for `config.protocols` | ||
|
||
Optional: | ||
|
||
- `kafka` (Map of String) Controls the kafka protocol config of pulsar cluster | ||
- `mqtt` (Map of String) Controls the mqtt protocol config of pulsar cluster | ||
|
||
|
Oops, something went wrong.