extracting AWS S3 bucket arn(feat. ChatGPT 3.5)

Taegu KangTaegu Kang
1 min read
  • outline

S3 ARN is unique information of AWS resources and is useful in AWS CLI, but S3 bucket ARN cannot be extracted through normal AWS CLI for S3.

  • how-to
aws s3 ls | awk '{print $3}' | sed 's/^/arn:aws:s3:::/'
  • ChatGPT3.5 (X)

0
Subscribe to my newsletter

Read articles from Taegu Kang directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Taegu Kang
Taegu Kang