Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Jul 31, 2024
1 parent 234f53e commit 94f6fe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions internal/service/timestreaminfluxdb/db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ func (r *resourceDBInstance) Schema(ctx context.Context, req resource.SchemaRequ
setplanmodifier.RequiresReplace(),
},
Validators: []validator.Set{
setvalidator.SizeAtLeast(1),
setvalidator.SizeAtMost(5),
setvalidator.SizeBetween(1, 5),
setvalidator.ValueStringsAre(
stringvalidator.LengthAtMost(64),
stringvalidator.RegexMatches(regexache.MustCompile("^sg-[a-z0-9]+$"), ""),
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/timestreaminfluxdb_db_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ resource "aws_timestreaminfluxdb_db_instance" "example" {
db_instance_type = "db.influx.medium"
username = "admin"
password = "example-password"
organization = "organization"
organization = "organization"
vpc_subnet_ids = [aws_subnet.example.id]
vpc_security_group_ids = [aws_security_group.example.id]
name = "example-db-instance"
Expand Down Expand Up @@ -159,7 +159,7 @@ resource "aws_timestreaminfluxdb_db_instance" "example" {
db_instance_type = "db.influx.medium"
username = "admin"
password = "example-password"
organization = "organization"
organization = "organization"
vpc_subnet_ids = [aws_subnet.example.id]
vpc_security_group_ids = [aws_security_group.example.id]
name = "example-db-instance"
Expand Down Expand Up @@ -197,7 +197,7 @@ resource "aws_timestreaminfluxdb_db_instance" "example" {
deployment_type = "WITH_MULTIAZ_STANDBY"
username = "admin"
password = "example-password"
organization = "organization"
organization = "organization"
vpc_subnet_ids = [aws_subnet.example_1.id, aws_subnet.example_2.id]
vpc_security_group_ids = [aws_security_group.example.id]
name = "example-db-instance"
Expand Down

0 comments on commit 94f6fe3

Please sign in to comment.