Replies: 3 comments 5 replies
-
+1 same issue for me.. none of CDK examples are working.. may be due to security policy issue, no CDK developer guide or anywhere it is told.. pulumi was a cakewalk.. cdk seem to be too painful |
Beta Was this translation helpful? Give feedback.
-
You'll need to adjust your app stack slightly. // where your stack is set up:
new MyStack(this, 'MyStack', {
synthesizer: new DefaultStackSynthesizer({
fileAssetsBucketName: 'MySuperSpecialBoostrapBucket',
bucketPrefix: '',
}),
}); Details are here under the heading "Changing the resource names". |
Beta Was this translation helpful? Give feedback.
-
I solved my issue by deleting the
and then bootstrap again:
|
Beta Was this translation helpful? Give feedback.
-
I have used the
--bootstrap-bucket-name
flag when runningcdk bootstrap
. Nowcdk deploy
fails because it cannot find the right bucket.I understand that I should provide a custom stack synthesizer but what is the property I should set? Can I use
cdk.json
instead, as I have already set a custom qualifier there - and if I can, what is the option I should set in that file?Beta Was this translation helpful? Give feedback.
All reactions