#AWSCLI

:rss: Qiita - 人気の記事qiita@rss-mstdn.studiofreesia.com
2025-05-11

AWS CLI で使い分けよう!S3の高レベルコマンドと API コマンドの違いと適切な選択方法
qiita.com/mkydk/items/fc1f524d

#qiita #AWS #S3 #awscli #s3api

2025-05-02

#awscli #s3 on #FreeBSD doesn't work for me since upgrade from 1.29.81_1 to py311-awscli-1.29.81_2. Anyone else?

On every copy operation, I get:

"An error occurred (NotImplemented) when calling the GetObject operation: A header you provided implies functionality that is not implemented"

Sharlatansharlatan
2024-11-19

New day, the first snow ❄️ is here and fresh and is there, in . Pull in the morning when it is freshly baked by CI.

:rss: Qiita - 人気の記事qiita@rss-mstdn.studiofreesia.com
2024-11-03

【AWS】AWS CLI/AWS SDK/AWS CDKが利用できるDev Containers環境を作ると便利すぎて鼻血が出る
qiita.com/ymd65536/items/bf627

#qiita #AWS #awscli #AWSSDK #devcontainer #AWSCDK

Gea-Suan Lingslin@abpe.org
2024-10-12

AWS 提供 Console-to-Code 功能

這個是在 Reddit 上看到的:「Convert AWS console actions to reusable code with AWS Console-to-Code, now generally available (aws.amazon.com)」,原文在「Convert AWS console actions to reusable code w

blog.gslin.org/archives/2024/1

#AWS #Cloud #Computer #Murmuring #Network #Programming #Service #amazon #aws #awscli #cloud #code #console #gcp #google #platform #script #service #shell #to #web

Ænðr E. Feldstrawaeveltstra
2024-08-29

Today I wasted about an hour attempting to fix a bug I had fixed once before. The lovely folks at decided to make output files in the encoding UTF16 LE BOM. Very future-proof. Unfortunately, the excellent programmers at created their to read UTF8 sans BOM. If you forget about that difference, the AWS CLI will insist that you gave it invalid files to parse. And you can waste hours trying to figure out what's wrong. Remember to convert the encoding.

Kasra_mp ✅kasra_mp
2023-12-22
2023-08-18

pretty happy w/this shell oneliner to get the deets on the unique kms keys used in the last 100k decryptions

aws cloudtrail lookup-events --lookup-attributes "AttributeKey=EventName,AttributeValue=Decrypt" --region us-east-1 --max-results 100000 | jq -r '.Events[].CloudTrailEvent' | jq -r | grep '"ARN"' | sed 's!.*key/!!;s!"!!' | sort -u | xargs -n1 aws kms describe-key --key-id | grep -i 'keyid\|creation\|manager\|descr' | sed 's!.*"\(.*\)":!\1!;s!",!"!;s!KeyId!\n\nKeyId!'

#unix #shell #aws #awscli #bash #commandline #unixmagic #commandlineexcellence #oneliner #1liner

Major Hayden 🤠major@fosstodon.org
2023-05-31

Now that awscli v2 is in @fedora, there's an upcoming change to remove the v1 version. 📦 ☁️

#aws #awscli #python #fedora

pagure.io/fesco/issue/3006

Major Hayden 🤠major@fosstodon.org
2023-05-05

Nice! awscli v2 is on its way to @fedora now! The package is called `awscli2`. 🎉 🎉 🎉 🎉 🎉

Lots of people pitched in for this effort and it's finally here.

#aws #cloud #fedora #awscli #python

Screenshot of Fedora's update system showing awscli2 updates for rawhide and Fedora 37/38.
2023-04-20

So, #AWS #cloudformation vs #AWSCLI. Looks to be ending up the same as Azure #ARM vs #AzureCLI. If you already have the template, and deploy it once, it is good. But developing CLI scripts is quicker (debug one step at a time, rather than all at once). And templates run into the same dead ends: e.g. decides it needs to recreate the entire subnet, so it attempts to, but runs into an IP address conflict with the existing one, and the whole thing stops. There are things/changes that declarative approaches just can't do, and you need to use migrations (CLI scripts).

2023-03-18

Use the AWS CLI? Get powered up with custom aliases and subcommands, and bash command completion for your aliases.

gist.github.com/earchibald-lv/

#aws #awsCli #awsCliAliases #awsCliCustomSubcommands

2023-02-25

I'm a few months late noticing, but I'm glad to see that the aws-cli has added the ability to display the current credentials, or credentials for a specific config profile.

aws configure export-credentials

Using options, the results can be formatted as environment variables for eval and use by other tools.

I think this is especially useful if the config profile assumes a (cross-account) role, or you are using `aws sso login`.

awscli.amazonaws.com/v2/docume

#aws #awsCLI #security

2023-01-11

Bonus:

Allow defaults for the parameter values in the config file, as in:

role_arn=arn:aws:iam::{{acct=123456789012}}:role/{{role=readonly}}

#aws #awsWishlist #awscli

2023-01-11

I want to be able to set up an aws-cli config profile that includes parameter substitutions, and then specify the values for those parameters with command line options.

The command line could be:

aws s3 ls \
--profile assumewithmfa \
--param acct=123456789012 \
--param role=s3-readonly

and the config:

[profile assumewithmfa]
source_profile=user-main
role_arn = arn:aws:iam::{{acct}}:role/{{role}}
mfa_serial=arn:aws:iam::987654321098:mfa/user
region=us-east-1

#awsWishlist #aws #awscli

2023-01-10

Never change a running system...until you have to #ecsli #awscli

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst