diff --git a/aws/resource_aws_apigatewayv2_integration.go b/aws/resource_aws_apigatewayv2_integration.go index 40c9db27ae04..000e4e412220 100644 --- a/aws/resource_aws_apigatewayv2_integration.go +++ b/aws/resource_aws_apigatewayv2_integration.go @@ -64,7 +64,7 @@ func resourceAwsApiGatewayV2Integration() *schema.Resource { ValidateFunc: validateHTTPMethod(), DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { // Default HTTP method for Lambda integration is POST. - if v := d.Get("integration_type").(string); (v == apigatewayv2.IntegrationTypeAws || v == apigatewayv2.IntegrationTypeAwsProxy) && old == "POST" && new == "" { + if v := d.Get("integration_type").(string); d.Id() != "" && (v == apigatewayv2.IntegrationTypeAws || v == apigatewayv2.IntegrationTypeAwsProxy) && old == "POST" && new == "" { return true }