flaviostutz / cdk-practical-constructs

A collection of CDK constructs for making the development of AWS based applications easier and safer in a practical way
MIT License
4 stars 2 forks source link

Linting errors not returning the list of errors #2

Closed MarcioMeier closed 5 months ago

MarcioMeier commented 6 months ago

What's broken?

CDK linting errors

Version used

0.2.0

Context

I just bootstrapped my aws account and tried to deploy a stack with a single BaseNodeJsFunction construct and integrated it with the api gateway constrcut OpenApiGatewayLambda.

When i run the synth i get the following lint error without a proper explanation of what is wrong

image (5)

This is an intermitent error, which means that sometimes it just deploy, and sometimes it just break. Rerunning after breaking, it deploys. so far, it never happened twice in a row

flaviostutz commented 6 months ago

It always happens after you cleanup the CDK output dir, or it's intermittent too?

MarcioMeier commented 6 months ago

Just confirmed that it also happens in the latest version 0.3.0

flaviostutz commented 6 months ago

Is it intermittent or consistent (I mean, everytime you cleanup the dir it happens, or sometimes yes, sometimes no?)?

MarcioMeier commented 6 months ago

It is intermitent.

But I think it was solved already but not yet published... Since I linked the package with the main branch it stopped giving this error. I still need further test a few scenarios though

MarcioMeier commented 5 months ago

The issue is timeout, it is currently set to 10 seconds but my machine doesn't handle it within 10 seconds