Skip to content

Commit a0315ec

Browse files
committed
Fix 'testAccClientVPNEndpointConfig_basic'.
1 parent 46d9026 commit a0315ec

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

internal/service/ec2/vpnclient_endpoint_test.go

+2-6
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ resource "aws_security_group" "test" {
844844
}
845845

846846
func testAccClientVPNEndpointConfig_basic(t *testing.T, rName string) string {
847-
return acctest.ConfigCompose(testAccClientVPNEndpointConfig_acmCertificateBase(t, "test"), fmt.Sprintf(`
847+
return acctest.ConfigCompose(testAccClientVPNEndpointConfig_acmCertificateBase(t, "test"), `
848848
resource "aws_ec2_client_vpn_endpoint" "test" {
849849
server_certificate_arn = aws_acm_certificate.test.arn
850850
client_cidr_block = "10.0.0.0/16"
@@ -857,12 +857,8 @@ resource "aws_ec2_client_vpn_endpoint" "test" {
857857
connection_log_options {
858858
enabled = false
859859
}
860-
861-
tags = {
862-
Name = %[1]q
863-
}
864860
}
865-
`, rName))
861+
`)
866862
}
867863

868864
func testAccClientVPNEndpointConfig_clientConnectOptions(t *testing.T, rName string, enabled bool, lambdaFunctionIndex int) string {

0 commit comments

Comments
 (0)