-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi there and thank you for this package, it looks really promising and hopefully fits my use case. I read through the docs and a bit of the source code to see if I could fix this myself but I'm not yet familiar enough with nx plugins.
I ran into a few issues using nrwl/nx version 13.1.2
with @otterdev/nx-cdk:0.0.14
. After creating an app with nx g @otterdev/nx-cdk:app web-infra
I then ran a few of the normal cdk commands using this plugin such as nx run web-infra:bootstrap
and nx run web-infra:diff
but I get the following errors.
$ nx run web-infra:bootstrap
Cannot find target 'boostrap' for project 'web-infra'
$ nx run web-infra:diff
--app is required either in command-line, in cdk.json or in ~/.cdk.json
Running target "web-infra:diff" failed
I've checked the cdk.json
file and that looks fine (i.e. app: npx ts-node --prefer-ts-exts bin/web-infra.ts
).
One other thing I did notice is that in the workplace.json
settings under architect the outputs seem to include a dynamic string e.g. "outputs": ["{options.outputFile}"]
but perhaps that's right. The last thing that may be important is that I'm using a name aws profile so I am assuming passing --profile name
with the command is appropriate.
If there is something obvious I've missed and it's not too much I'd love to be pointed in the right direction. Much appreciated.