OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Encountering Deployment Error with AWS CDK: Despite Bootstrapping

  • Thread starter Thread starter imran burki
  • Start date Start date
I

imran burki

Guest
I encounter an issue when deploy cdk app using command 'cdk deploy'. The error is following.

Code:
✨  Synthesis time: 8.02s

NewlamStack:  start: Building d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack:  success: Built d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack:  start: Building 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack:  success: Built 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack:  start: Publishing d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack:  start: Publishing 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack:  fail: No bucket named 'cdk-hnb659fds-assets-024048322020-us-east-1'. Is account 024048322020 bootstrapped?
NewlamStack:  fail: No bucket named 'cdk-hnb659fds-assets-024048322020-us-east-1'. Is account 024048322020 bootstrapped?

 ❌ Deployment failed: Error: Failed to publish asset d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
    at Deployments.publishSingleAsset (/home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:11467)
    at async Object.publishAsset (/home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:196681)
    at async /home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:180800

Failed to publish asset d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region

i tried to bootstrap account using command 'cdk bootstrap'. but above error is still persists. I'm using nvm version 0.38.0, node version v18.19.1, cdk version 2.133.0 (build dcc1e75), aws cli version 'aws-cli/2.15.32 Python/3.11.8 Linux/5.15.146.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off' and Python 3.10.12.
Note: I'm using WSL on Windows10


I bootstrap account with command 'cdk bootstrap aws://my-account-ID/my-account-region'.
<p>I encounter an issue when deploy cdk app using command 'cdk deploy'. The error is following.</p>
<pre><code>✨ Synthesis time: 8.02s

NewlamStack: start: Building d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack: success: Built d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack: start: Building 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack: success: Built 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack: start: Publishing d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
NewlamStack: start: Publishing 062df176a6bc7fc148dc7b1c87268561e8bb53da619aefeea095db03c59653ea:current_account-current_region
NewlamStack: fail: No bucket named 'cdk-hnb659fds-assets-024048322020-us-east-1'. Is account 024048322020 bootstrapped?
NewlamStack: fail: No bucket named 'cdk-hnb659fds-assets-024048322020-us-east-1'. Is account 024048322020 bootstrapped?

❌ Deployment failed: Error: Failed to publish asset d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
at Deployments.publishSingleAsset (/home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:11467)
at async Object.publishAsset (/home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:196681)
at async /home/burkiwsl/.nvm/versions/node/v18.19.1/lib/node_modules/aws-cdk/lib/index.js:433:180800

Failed to publish asset d61d5a108f7fbfde3ad135dcd054169e71324cf2ab736703bdda4a735c700f53:current_account-current_region
</code></pre>
<p>i tried to bootstrap account using command <strong>'cdk bootstrap'</strong>. but above error is still persists. I'm using <strong>nvm</strong> <strong>version 0.38.0, node version v18.19.1, cdk version 2.133.0 (build dcc1e75), aws cli version 'aws-cli/2.15.32 Python/3.11.8 Linux/5.15.146.1-microsoft-standard-WSL2 exe/x86_64.ubuntu.22 prompt/off' and Python 3.10.12.</strong><br />
<strong>Note: I'm using WSL on Windows10</strong></p>
<p>I bootstrap account with command 'cdk bootstrap aws://my-account-ID/my-account-region'.</p>
Continue reading...
 

Latest posts

Online statistics

Members online
1
Guests online
5
Total visitors
6
Top