feat: Updates supported resource types (37)#1344
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the SUPPORTED_RESOURCE_TYPES array in src/supported_resource_types.rs to include several new AWS resource types, increasing the total count from 1377 to 1414. The review feedback suggests defining SUPPORTED_RESOURCE_TYPES as a static slice (&[&str]) instead of a fixed-size array to improve maintainability and let the compiler automatically infer the size, eliminating the need for manual size updates in the future.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| @@ -1,4 +1,4 @@ | |||
| pub static SUPPORTED_RESOURCE_TYPES: [&str; 1377] = [ | |||
| pub static SUPPORTED_RESOURCE_TYPES: [&str; 1414] = [ | |||
There was a problem hiding this comment.
To improve maintainability and avoid having to manually update the array size (e.g., 1414) every time a resource type is added or removed, you can define SUPPORTED_RESOURCE_TYPES as a static slice (&[&str]) instead of a fixed-size array. This allows the compiler to automatically infer the size.
| pub static SUPPORTED_RESOURCE_TYPES: [&str; 1414] = [ | |
| pub static SUPPORTED_RESOURCE_TYPES: &[&str] = &[ |
Added resources: