Skip to content

Commit

Permalink
Update docs and cloud module
Browse files Browse the repository at this point in the history
  • Loading branch information
tuteng committed Jan 11, 2024
1 parent 1387ddd commit 0e4d137
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions cloud/data_source_pulsar_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func dataSourcePulsarCluster() *schema.Resource {
"config": {
Type: schema.TypeList,
Computed: true,
MinItems: 0,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"websocket_enabled": {
Expand Down Expand Up @@ -130,7 +129,6 @@ func dataSourcePulsarCluster() *schema.Resource {
"categories": {
Type: schema.TypeList,
Computed: true,
MinItems: 1,
Description: descriptions["categories"],
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion cloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func init() {
"private_key_data": "The private key data",
"availability-mode": "The availability mode, supporting 'zonal' and 'regional'",
"pool_name": "The infrastructure pool name to use, supported pool 'shared-aws', 'shared-gcp'",
"pool_namespace": "The infrastructure pool namespace to use, default is 'streamnative'",
"pool_namespace": "The infrastructure pool namespace to use, supported 'streamnative'",
"instance_name": "The pulsar instance name",
"location": "The location of the pulsar cluster, " +
"supported location https://docs.streamnative.io/docs/cluster#cluster-location",
Expand Down
1 change: 0 additions & 1 deletion cloud/resource_pulsar_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func resourcePulsarInstance() *schema.Resource {
"pool_namespace": {
Type: schema.TypeString,
Required: true,
Default: "streamnative",
Description: descriptions["pool_namespace"],
ValidateFunc: validateNotBlank,
},
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/pulsar_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description: |-
- `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, default is 'streamnative'
- `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


2 changes: 1 addition & 1 deletion docs/resources/pulsar_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ description: |-
- `name` (String) The service account name
- `organization` (String) The organization name
- `pool_name` (String) The infrastructure pool name to use, supported pool 'shared-aws', 'shared-gcp'
- `pool_namespace` (String) The infrastructure pool namespace to use, default is 'streamnative'
- `pool_namespace` (String) The infrastructure pool namespace to use, supported 'streamnative'

### Read-Only

Expand Down

0 comments on commit 0e4d137

Please sign in to comment.