Cloud Quest: Infrastructure with Generative AI issue

1

cdk deploy fails because it cannot find the right bucket, see figure 1 below. Also, should the CDKToolkit already in CloudFormation be in the CREATE_COMPLETE status instead of in the figure 2 below. Please advise on how to fix this. Thank you.

Figure 1: Enter image description here Figure 2: Enter image description here

Ice
已提問 6 個月前檢視次數 313 次
5 個答案
0

Hello,

In the error message, it reads: No bucket 123 is account bootstraps? To resolve this issue you first need to bootstrap your CDK environment to AWS. You have to do this for every environment, so for every Stack that you want to deploy to the Cloud. When the bootstraps operation is run the CDK creates the resources which it needs to perform its operations in the cloud.

profile picture
Julian
已回答 6 個月前
0

I have the same problem. Tried it three times now but it just doesn`t work

已回答 6 個月前
0

Are you able to run a bootstrap again ? In the doc it's written to attempt again with these parameters
--qualifier and --bootstrap-bucket-name to customize resource names if needed.

https://repost.aws/knowledge-center/cdk-customize-bootstrap-cfntoolkit

profile picture
專家
已回答 6 個月前
0

Thanks for the respond. I tried many times with different parameters you suggested but still received the following error: Enter image description here I also tried to delete the CDKToolkit stack but it seems I don't have the permission (restricted by the cloud quest environment). I wonder if there is anything I can do to fix or it is for aws to fix.

Ice
已回答 6 個月前
0

Is there a way to force delete CDKToolkit using Cloud9 (I have no permission to CloudShell)?

Ice
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南