r/aws_vpn_gateway_attachment: Incorrect error code for missing VPN gateway #4894
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
When deleting an
aws_vpn_gateway_attachment
:The VPN gateway attachment code is using an incorrectly capitalized AWS error code for the missing VPN gateway: https://github.com/terraform-providers/terraform-provider-aws/blob/b040e1de45f51432347bef28f8c4dccaeec425c5/aws/resource_aws_vpn_gateway_attachment.go#L133
The correctly capitalized AWS error code is used in the
aws_vpn_gateway
resource: https://github.com/terraform-providers/terraform-provider-aws/blob/b040e1de45f51432347bef28f8c4dccaeec425c5/aws/resource_aws_vpn_gateway.go#L171The text was updated successfully, but these errors were encountered: