Closed ekristen closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.62%. Comparing base (
9c84ff2
) to head (711dac1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:tada: This pull request is included in version 0.14.0 :tada:
The release is available on GitHub release :rocket:
Overview
This is laying the groundwork for allowing the aws-nuke and azure-nuke tool to update their Resource definitions to have exported variables that are then used to build the properties automatically vs having to define them manually.
There are two benefits to this, the first being that we can make the code cleaner and more simple by removing a bunch of for loops for tags, but we can also now programmatically generate documentation by inspecting the resource structs to document what properties are available.
This might make the resource structs get a little more verbose, but in the end, it'll make the use of the tool better.
Type Support
Note: all pointers are dereferenced during evaluation
Features
property:"-"
will omit a field from being exported as a propertyproperty:"prefix=vpc"
will ensure the value of the field or the tags are prefixed withvpc
Example
This automatically will create properties for Name, Region and Tags.
Benchmark