You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Aspect execution order gets really tricky, especially since CDKTF doesn't have any way to tweak that order without arcane tricks (e.g. Aspects.of(scope)['_aspects'].unshift(new MyAspect(this))). This means that the Aspect responsible for doing the resource conversion pretty much has to be the last Aspect invoked, otherwise you end up with half-built resources.
Aside from those issues the implementation is actually quite simple, as you just have to call invokeAspects with the CDK scope before host.convert(). That said, invokeAspects itself uses CDK Annotations so we need #152 before it can be fully feature-complete.
Invoke them before converting AWS CDK constructs to CDKTF constructs.
The text was updated successfully, but these errors were encountered: