Skip to content

Commit 522ccd5

Browse files
committed
Remove legacy language and enforce greenfield policy
1 parent 0284741 commit 522ccd5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ Deploy flow (automation-first):
5353
Key principle: mental notes don’t survive restarts — write it to a file.
5454

5555
Cattle vs pets: hosts are disposable. Prefer re-provisioning from OpenTofu + NixOS configs over in-place manual fixes.
56-
One way only: AWS AMI pipeline via S3 + VM Import. No Hetzner, no rescue-mode hacks, no legacy paths.
56+
One way only: AWS AMI pipeline via S3 + VM Import. This is a greenfield repo. Do not reference "existing", "legacy", or alternate paths anywhere in code or docs.

infra/opentofu/aws/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OpenTofu (AWS S3 Image Bucket)
22

3-
Goal: reuse the existing S3 bucket for CLAWDINATOR images, plus create the VM Import role and attach import permissions to the existing CI IAM user.
3+
Goal: use the CLAWDINATOR S3 bucket for images, plus create the VM Import role and attach import permissions to the CI IAM user.
44

55
Prereqs:
66
- AWS credentials with permissions to manage IAM (use your homelab-admin key locally).
@@ -13,12 +13,12 @@ Usage:
1313
- tofu apply
1414

1515
Outputs:
16-
- `bucket_name` (existing)
16+
- `bucket_name`
1717
- `aws_region`
18-
- `ci_user_name` (existing IAM user)
18+
- `ci_user_name`
1919

2020
CI wiring:
21-
- Keep existing GitHub Actions secrets:
21+
- Set GitHub Actions secrets:
2222
- `AWS_ACCESS_KEY_ID`
2323
- `AWS_SECRET_ACCESS_KEY`
2424
- `AWS_REGION`

infra/opentofu/aws/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ output "aws_region" {
88

99
output "ci_user_name" {
1010
value = data.aws_iam_user.ci_user.user_name
11-
description = "Existing IAM user expected to be wired in CI."
11+
description = "IAM user expected to be wired in CI."
1212
}

infra/opentofu/aws/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ variable "aws_region" {
44
}
55

66
variable "bucket_name" {
7-
description = "Existing S3 bucket name for image uploads."
7+
description = "S3 bucket name for image uploads."
88
type = string
99
default = "clawdinator-images-eu1-20260107165216"
1010
}
1111

1212
variable "ci_user_name" {
13-
description = "Existing IAM user used by CI (keys already wired in GitHub)."
13+
description = "IAM user used by CI."
1414
type = string
1515
default = "clawdinator-image-uploader"
1616
}

0 commit comments

Comments
 (0)