mirror of https://github.com/kubernetes/kops.git
Rename eventbridge rule in toolbox dump output
`eventbridge` itself is too generic given there are many resource types within the eventbridge service
This commit is contained in:
parent
3db88a33dc
commit
e0c3b8cd36
|
@ -44,6 +44,7 @@ const (
|
|||
TypeAutoscalingLaunchConfig = "autoscaling-config"
|
||||
TypeNatGateway = "nat-gateway"
|
||||
TypeElasticIp = "elastic-ip"
|
||||
TypeEventBridgeRule = "eventbridge-rule"
|
||||
TypeLoadBalancer = "load-balancer"
|
||||
TypeTargetGroup = "target-group"
|
||||
)
|
||||
|
|
|
@ -105,7 +105,7 @@ func ListEventBridgeRules(cloud fi.Cloud, clusterName string) ([]*resources.Reso
|
|||
resourceTracker := &resources.Resource{
|
||||
Name: *rule.Name,
|
||||
ID: *rule.Name,
|
||||
Type: "eventbridge",
|
||||
Type: TypeEventBridgeRule,
|
||||
Deleter: EventBridgeRuleDeleter,
|
||||
Dumper: DumpEventBridgeRule,
|
||||
Obj: rule,
|
||||
|
|
Loading…
Reference in New Issue