From cf354c515180bbf1692f2a26e276b81d23aba338 Mon Sep 17 00:00:00 2001 From: Dirk Avery Date: Mon, 22 Jan 2024 16:10:27 -0500 Subject: [PATCH] eni_sg_attachment: No update, no update timeout --- .../service/ec2/vpc_network_interface_sg_attachment.go | 1 - .../ec2/vpc_network_interface_sg_attachment_test.go | 8 ++++---- .../docs/r/network_interface_sg_attachment.html.markdown | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/internal/service/ec2/vpc_network_interface_sg_attachment.go b/internal/service/ec2/vpc_network_interface_sg_attachment.go index b776e9fa67f..3792e30cef6 100644 --- a/internal/service/ec2/vpc_network_interface_sg_attachment.go +++ b/internal/service/ec2/vpc_network_interface_sg_attachment.go @@ -34,7 +34,6 @@ func ResourceNetworkInterfaceSGAttachment() *schema.Resource { Timeouts: &schema.ResourceTimeout{ Create: schema.DefaultTimeout(3 * time.Minute), Read: schema.DefaultTimeout(3 * time.Minute), - Update: schema.DefaultTimeout(3 * time.Minute), Delete: schema.DefaultTimeout(3 * time.Minute), }, diff --git a/internal/service/ec2/vpc_network_interface_sg_attachment_test.go b/internal/service/ec2/vpc_network_interface_sg_attachment_test.go index 6cc5817f346..230290eb50f 100644 --- a/internal/service/ec2/vpc_network_interface_sg_attachment_test.go +++ b/internal/service/ec2/vpc_network_interface_sg_attachment_test.go @@ -18,7 +18,7 @@ import ( "github.com/hashicorp/terraform-provider-aws/internal/tfresource" ) -func TestAccVPCNetworkInterfaceSgAttachment_basic(t *testing.T) { +func TestAccVPCNetworkInterfaceSGAttachment_basic(t *testing.T) { ctx := acctest.Context(t) networkInterfaceResourceName := "aws_network_interface.test" securityGroupResourceName := "aws_security_group.test" @@ -49,7 +49,7 @@ func TestAccVPCNetworkInterfaceSgAttachment_basic(t *testing.T) { }) } -func TestAccVPCNetworkInterfaceSgAttachment_disappears(t *testing.T) { +func TestAccVPCNetworkInterfaceSGAttachment_disappears(t *testing.T) { ctx := acctest.Context(t) resourceName := "aws_network_interface_sg_attachment.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) @@ -72,7 +72,7 @@ func TestAccVPCNetworkInterfaceSgAttachment_disappears(t *testing.T) { }) } -func TestAccVPCNetworkInterfaceSgAttachment_instance(t *testing.T) { +func TestAccVPCNetworkInterfaceSGAttachment_instance(t *testing.T) { ctx := acctest.Context(t) instanceResourceName := "aws_instance.test" securityGroupResourceName := "aws_security_group.test" @@ -97,7 +97,7 @@ func TestAccVPCNetworkInterfaceSgAttachment_instance(t *testing.T) { }) } -func TestAccVPCNetworkInterfaceSgAttachment_multiple(t *testing.T) { +func TestAccVPCNetworkInterfaceSGAttachment_multiple(t *testing.T) { ctx := acctest.Context(t) networkInterfaceResourceName := "aws_network_interface.test" securityGroupResourceName1 := "aws_security_group.test.0" diff --git a/website/docs/r/network_interface_sg_attachment.html.markdown b/website/docs/r/network_interface_sg_attachment.html.markdown index a2e5a85a4bc..b40027195d1 100644 --- a/website/docs/r/network_interface_sg_attachment.html.markdown +++ b/website/docs/r/network_interface_sg_attachment.html.markdown @@ -99,7 +99,6 @@ This resource exports no additional attributes. - `create` - (Default `3m`) - `read` - (Default `3m`) -- `update` - (Default `3m`) - `delete` - (Default `3m`) ## Import