Skip to content

Commit

Permalink
aws_opensearchserverless_security_policy: use description in test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Jun 30, 2023
1 parent f04ee3c commit 8698427
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ func TestAccOpenSearchServerlessSecurityConfigDataSource_basic(t *testing.T) {
})
}

func testAccSecurityConfigDataSourceConfig_basic(rName string, description string, samlOptions string) string {
func testAccSecurityConfigDataSourceConfig_basic(rName, description, samlOptions string) string {
return fmt.Sprintf(`
resource "aws_opensearchserverless_security_config" "test" {
name = %[1]q
description = %[2]q
type = "saml"
saml_options {
metadata = file("%[2]s")
metadata = file("%[3]s")
}
}
data "aws_opensearchserverless_security_config" "test" {
id = aws_opensearchserverless_security_config.test.id
}
`, rName, samlOptions)
`, rName, description, samlOptions)
}

0 comments on commit 8698427

Please sign in to comment.