mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix AWS action name (#27205)
The action name is `tag:GetResources`, not `tags:GetResources`. This creates a confusing error message that can have the user add the wrong permission to the IAM role.
This commit is contained in:
parent
fcb3130076
commit
c5a7afce44
@ -694,7 +694,7 @@ func (e *cloudWatchExecutor) resourceGroupsGetResources(region string, filters [
|
||||
resp.ResourceTagMappingList = append(resp.ResourceTagMappingList, page.ResourceTagMappingList...)
|
||||
return !lastPage
|
||||
}); err != nil {
|
||||
return nil, fmt.Errorf("failed to call tags:GetResources, %w", err)
|
||||
return nil, fmt.Errorf("failed to call tag:GetResources, %w", err)
|
||||
}
|
||||
|
||||
return &resp, nil
|
||||
|
Loading…
Reference in New Issue
Block a user