Skip to content

Commit

Permalink
use datasource in cluster test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Dec 23, 2024
1 parent f5b1df0 commit 1f122a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/service/rds/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3626,10 +3626,14 @@ data "aws_rds_orderable_db_instance" "test" {
supports_iops = true
}
data "aws_rds_certificate" "test" {
default_for_new_launches = true
}
resource "aws_rds_cluster" "test" {
apply_immediately = true
db_subnet_group_name = aws_db_subnet_group.test.name
ca_certificate_identifier = "rds-ca-rsa2048-g1"
ca_certificate_identifier = data.aws_rds_certificate.test.id
cluster_identifier = %[1]q
engine = data.aws_rds_orderable_db_instance.test.engine
engine_version = data.aws_rds_orderable_db_instance.test.engine_version
Expand Down

0 comments on commit 1f122a9

Please sign in to comment.