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

Add Earlier Access to Database Track #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion docs/data-sources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ data "ybm_cluster" "example_cluster" {
- `cluster_version` (String)
- `cmk_spec` (Attributes) KMS Provider Configuration. (see [below for nested schema](#nestedatt--cmk_spec))
- `credentials` (Attributes) (see [below for nested schema](#nestedatt--credentials))
- `database_track` (String) The track of the database. Stable or Preview.
- `database_track` (String) The track of the database. Stable or Early Access.
- `desired_state` (String) The desired state of the database, Active or Paused. This parameter can be used to pause/resume a cluster.
- `endpoints` (Attributes List) The endpoints used to connect to the cluster. (see [below for nested schema](#nestedatt--endpoints))
- `fault_tolerance` (String) The fault tolerance of the cluster.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ resource "ybm_private_service_endpoint" "npsenonok-region" {
- `cluster_endpoints` (Map of String, Deprecated) The endpoints used to connect to the cluster.
- `cluster_id` (String) The ID of the cluster. Created automatically when a cluster is created. Used to get a specific cluster.
- `cmk_spec` (Attributes) KMS Provider Configuration. (see [below for nested schema](#nestedatt--cmk_spec))
- `database_track` (String) The track of the database. Production or Innovation or Preview.
- `database_track` (String) The track of the database. Production or Innovation or Early Access.
- `desired_connection_pooling_state` (String) The desired connection pooling state of the cluster, Enabled or Disabled. This parameter can be used to enable/disable Connection Pooling
- `desired_state` (String) The desired state of the database, Active or Paused. This parameter can be used to pause/resume a cluster.
- `endpoints` (Attributes List) The endpoints used to connect to the cluster. (see [below for nested schema](#nestedatt--endpoints))
Expand Down
4 changes: 3 additions & 1 deletion managed/resource_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,12 @@ and modify the backup schedule of the cluster being created.`,
Computed: true,
},
"database_track": {
Description: "The track of the database. Production or Innovation or Preview.",
Description: "The track of the database. Production or Innovation or Early Access.",
Type: types.StringType,
Optional: true,
Computed: true,
Validators: []tfsdk.AttributeValidator{
stringvalidator.OneOfCaseInsensitive([]string{"Production","Innovation","Early Access"}...),
},
"desired_state": {
Description: "The desired state of the database, Active or Paused. This parameter can be used to pause/resume a cluster.",
Expand Down