Dangerous
aws s3api delete-bucket --bucket example-archivecross-platform · bash · Beginner
Deletes an S3 bucket outright. The bucket name is released back to the global namespace as well, so anyone else can claim it afterwards and start serving content from a URL your systems still trust.
Signals to notice
- delete-bucket removes the container, not just its contents
- the released bucket name can be re-registered by anyone
Think you can spot these under time pressure?
Start TrainingMore Cloud
aws iam attach-user-policy --user-name svc-deploy --policy-arn arn:aws:iam::aws:policy/AdministratorAccessIntermediateterraform plan -out=tfplanExpertaz account show --query id -o tsvExpertaws ec2 authorize-security-group-ingress --group-id sg-0a1b2c3d --protocol tcp --port 22 --cidr 0.0.0.0/0Expertaws iam attach-role-policy --role-name build-runner --policy-arn arn:aws:iam::aws:policy/AdministratorAccessAdvancedaws iam put-role-policy --role-name build-runner --policy-name artifacts-write --policy-document file://./policy/artifacts-write.jsonIntermediate