Closed PI-Victor closed 2 months ago
/triage /assign
/label Feature
/link starlark
/merge
Skipping merge due to missing "approved" label
/approve /merge
Skipping merge due to missing "approved" label
*sigh, stupid bug /merge force
Force merging pull request
The CLI is now able to interpret a file (can be named anything) that has a starlark function call named 'module'. This function maps to an internal rust defined function that is able to parse and return the name of the module (cloud provider module) that is to be loaded and its version. The CLI is also capable of retrieving only functions that are defined in the CLI and ignore the rest.
e.g. for a file definition:
It will ignore the 'vm" declaration. This is necessary because when evaluating the AstModule, all of the statements found in the config definition should also be in the globals, otherwise it wil panic.
Signed-off-by: Victor Palade victor@cloudflavor.io