Skip to content

Commit a8496f7

Browse files
committed
Document AMI lookup command
1 parent 698e3e3 commit a8496f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Bootstrap (local):
6666
- `tofu output -raw bucket_name``clawdinator-image-bucket-name.age`
6767
- `tofu output -raw aws_region``clawdinator-image-bucket-region.age`
6868
- Then `gh secret set` for `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION`, `S3_BUCKET`.
69+
- Get the latest AMI ID:
70+
- `aws ec2 describe-images --region eu-central-1 --owners self --filters "Name=tag:clawdinator,Values=true" --query "Images | sort_by(@,&CreationDate)[-1].[ImageId,Name,CreationDate]" --output text`
6971

7072
Key principle: mental notes don’t survive restarts — write it to a file.
7173

0 commit comments

Comments
 (0)