Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Oren committed Feb 16, 2023
1 parent 594ec83 commit ff66c10
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
8 changes: 3 additions & 5 deletions docs/data-sources/postgres_flex_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ Data source for Postgres Flex user

```terraform
resource "stackit_postgres_flex_instance" "example" {
name = "example"
project_id = var.project_id
machine_type = "c1.2"
version = "14"
name = "example"
project_id = var.project_id
}
resource "stackit_postgres_flex_user" "example" {
Expand Down Expand Up @@ -62,6 +60,6 @@ data "stackit_postgres_flex_user" "example" {
- `host` (String) Specifies the allowed user hostname
- `port` (Number) Specifies the port
- `roles` (List of String) Specifies the roles assigned to the user
- `username` (String) Specifies the user's username
- `username` (String) Specifies the username


2 changes: 1 addition & 1 deletion docs/resources/mongodb_flex_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Manages MongoDB Flex instances
resource "stackit_mongodb_flex_instance" "example" {
name = "example"
project_id = "example"
machine_type = "C1.1"
machine_type = "1.1"
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
resource "stackit_postgres_flex_instance" "example" {
name = "example"
project_id = var.project_id
machine_type = "c1.2"
version = "14"
name = "example"
project_id = var.project_id
}

resource "stackit_postgres_flex_user" "example" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "stackit_mongodb_flex_instance" "example" {
name = "example"
project_id = "example"
machine_type = "C1.1"
machine_type = "1.1"
}
2 changes: 1 addition & 1 deletion stackit/internal/data-sources/postgres-flex/user/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (d *DataSource) Schema(ctx context.Context, req datasource.SchemaRequest, r
},
},
"username": schema.StringAttribute{
Description: "Specifies the user's username",
Description: "Specifies the username",
Computed: true,
},
"host": schema.StringAttribute{
Expand Down

0 comments on commit ff66c10

Please sign in to comment.