Skip to content

Commit 5c08555

Browse files
committed
docs: updated with new info
1 parent 23c2d0c commit 5c08555

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

docs/data-sources/network.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Data source for a Redpanda Cloud network
3232
Optional:
3333

3434
- `aws` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws))
35+
- `gcp` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--gcp))
3536

3637
<a id="nestedatt--customer_managed_resources--aws"></a>
3738
### Nested Schema for `customer_managed_resources.aws`
@@ -74,6 +75,24 @@ Required:
7475

7576
- `arn` (String) AWS VPC identifier
7677

78+
79+
80+
<a id="nestedatt--customer_managed_resources--gcp"></a>
81+
### Nested Schema for `customer_managed_resources.gcp`
82+
83+
Read-Only:
84+
85+
- `management_bucket` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--gcp--management_bucket))
86+
- `network_name` (String) Name of user-created network where the Redpanda cluster is deployed
87+
- `network_project_id` (String) GCP project ID where the network is created
88+
89+
<a id="nestedatt--customer_managed_resources--gcp--management_bucket"></a>
90+
### Nested Schema for `customer_managed_resources.gcp.management_bucket`
91+
92+
Required:
93+
94+
- `name` (String) GCP storage bucket name for storing the state of Redpanda cluster deployment
95+
7796
## Usage
7897

7998
```hcl

docs/resources/cluster.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Enables the provisioning and management of Redpanda clusters on AWS and GCP. A c
2525

2626
### Optional
2727

28-
- `allow_deletion` (Boolean) Allows deletion of the cluster. Defaults to true. Should probably be set to false for production use.
28+
- `allow_deletion` (Boolean) Allows deletion of the cluster. Defaults to false.
2929
- `aws_private_link` (Attributes) AWS PrivateLink configuration. (see [below for nested schema](#nestedatt--aws_private_link))
3030
- `azure_private_link` (Attributes) Azure Private Link configuration. (see [below for nested schema](#nestedatt--azure_private_link))
3131
- `cloud_provider` (String) Cloud provider where resources are created.
@@ -1520,14 +1520,13 @@ provider "redpanda" {}
15201520
15211521
# Use the Redpanda GCP BYOVPC module
15221522
module "redpanda_gcp" {
1523-
source = "github.com/redpanda-data/terraform-gcp-redpanda-byovpc.git?ref=fix-cross-var-error"
1523+
source = "redpanda-data/redpanda-byovpc/gcp"
15241524
service_project_id = var.project_id
15251525
region = var.region
15261526
unique_identifier = var.environment
15271527
force_destroy_mgmt_bucket = var.environment == "dev" ? true : false
15281528
force_destroy_cloud_storage_bucket = var.environment == "dev" ? true : false
15291529
network_project_id = var.project_id
1530-
force_destroy_cloud_storage_bucket = var.environment == "dev" ? true : false
15311530
}
15321531
15331532
# Redpanda resource group

docs/resources/topic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Creates a topic in a Redpanda Cluster
2323

2424
- `allow_deletion` (Boolean) Indicates whether the topic can be deleted.
2525
- `configuration` (Map of String) A map of string key/value pairs of topic configurations.
26-
- `partition_count` (Number) The number of partitions for the topic. This determines how the data is distributed across brokers. Increases are fully supported without data loss, decreases will result in an error and should be accomplished by creating a new topic and migrating the data.
26+
- `partition_count` (Number) The number of partitions for the topic. This determines how the data is distributed across brokers. Increases are fully supported without data loss. Decreases will destroy and recreate the topic if allow_deletion is set to true (defaults to false).
2727
- `replication_factor` (Number) The replication factor for the topic, which defines how many copies of the data are kept across different brokers for fault tolerance.
2828

2929
### Read-Only

redpanda/resources/cluster/schema_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func resourceClusterSchema() schema.Schema {
7575
},
7676
"allow_deletion": schema.BoolAttribute{
7777
Optional: true,
78-
Description: "Allows deletion of the cluster. Defaults to true. Should probably be set to false for production use.",
78+
Description: "Allows deletion of the cluster. Defaults to false.",
7979
},
8080
"tags": schema.MapAttribute{
8181
Optional: true,

0 commit comments

Comments
 (0)