4 ms·
Hey Cube! It does indeed run checks against the cloud as well for things like naming collisions and quota allocation
by zsimjee 4y ago
Hey Cube! It does indeed run checks against the cloud as well for things like naming collisions and quota allocation
- cube2222 4y agoCould you expand on how you're doing that, technically? I'm really curious and can't find it in the code, skimming it quickly.
- zsimjee 4y agoYeah, so this package itself is the core framework that establishes how these tests are to be run. There is a notion of plug-ins, which are parsers and checks. Parsers take cdk or terraform code and break their synthesized/planned output out into a common structure. Then checks run over that structure and pull data in from elsewhere and run actual validations. You can read more in the developing plugins doc on the repo https://github.com/tinystacks/precloud/blob/main/DEVELOPING_PLUGINS.md https://github.com/tinystacks/precloud/blob/main/DEVELOPING_.... The default plugins present are the 6 mentioned here https://github.com/tinystacks/precloud/blob/main/PLUGINS.md https://github.com/tinystacks/precloud/blob/main/PLUGINS.md. They’re all published on npm and github
- cube2222 4y agoOh, that's cool, thanks for the explanation!