Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 Rename the ec2-volume and ec2-snapshot platforms to be EBS #3019

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions providers/aws/connection/platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
4 changes: 2 additions & 2 deletions providers/aws/resources/discovery_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Loading