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
If I run this python code as python3 app.py and output what is in the template, it gives me vpc-12345 as the VPC, which I believe is just a placeholder. It doesn't actually do the look up at that point.
It seems to me that the only way to get it to fully render is through running the CLI cdk synth and then it will properly use the credentials for a look up. Ideally I would like to do this programmatically as for my use case, I wanted to build the CFT as code and take the fully rendered CFT and pass it along to a boto3 call to actually do the creation of it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For my use case, I would like to programmatically build the CFT and have it fully rendered without placeholders, without using the CLI.
For example, if I have as part of my stack
If I have the code
If I run this python code as
python3 app.py
and output what is in thetemplate
, it gives mevpc-12345
as the VPC, which I believe is just a placeholder. It doesn't actually do the look up at that point.It seems to me that the only way to get it to fully render is through running the CLI
cdk synth
and then it will properly use the credentials for a look up. Ideally I would like to do this programmatically as for my use case, I wanted to build the CFT as code and take the fully rendered CFT and pass it along to a boto3 call to actually do the creation of it.Beta Was this translation helpful? Give feedback.
All reactions