diff --git a/providers/aws/connection/platform.go b/providers/aws/connection/platform.go index d2fed99e01..3e27d36c4b 100644 --- a/providers/aws/connection/platform.go +++ b/providers/aws/connection/platform.go @@ -42,10 +42,10 @@ func getTitleForPlatformName(name string) string { return "AWS VPC" case "aws-security-group": return "AWS Security Group" - case "aws-ec2-volume": - return "AWS EC2 Volume" - case "aws-ec2-snapshot": - return "AWS EC2 Snapshot" + case "aws-ebs-volume": + return "AWS EBS Volume" + case "aws-ebs-snapshot": + return "AWS EBS Snapshot" case "aws-iam-user": return "AWS IAM User" case "aws-iam-group": diff --git a/providers/aws/resources/discovery_conversion.go b/providers/aws/resources/discovery_conversion.go index be63d31627..6835bb2012 100644 --- a/providers/aws/resources/discovery_conversion.go +++ b/providers/aws/resources/discovery_conversion.go @@ -128,9 +128,9 @@ func getPlatformName(awsObject awsObject) string { case "securitygroup": return "aws-security-group" case "volume": - return "aws-ec2-volume" + return "aws-ebs-volume" case "snapshot": - return "aws-ec2-snapshot" + return "aws-ebs-snapshot" case "instance": return "aws-ec2-instance" }