Docker Image URI CfnOutput Not Working #231
Labels
bug
Something isn't working
effort/medium
1 week tops
priority/p2
Dependent on community feedback. PR's are welcome :)
Description of the bug:
I want to create a docker image using CDK
DockerImageAsset
and pass the image URI to the cronjob tutorial example as an environment variable. My intention is to ultimately use the image URI for creating my service pods.Reproduction Steps:
Just modify the example code at cdk8s-awscdk-resolver and add cdk code for building an image. Then use the CfnOutput for imageUri same way as bucket name is passed in the example:
Error Log:
Error: Failed serializing construct at path 'Manifest/CronJob/Resource' with name 'manifest-cronjob-c86481e8': Error: Unable to find output defined for ${Token[TOKEN.28]} (Inspected stacks: )
Environment:
Other:
I tried creating an iam role and passing the role name as env variable. That seemed to work fine.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: