Fence 1b applied on dev: the deployment-bucket grant is gone from carlos-remote-host-pi, 2026-11-15T05:34:25Z. Go: agent manager 8a3d302 (Paul approved #1007 on 2026-11-15). Profile kass, dev account 640012953448.
- How: the customer tofu root for the Pi demo fleet (private repo, consumes
infra/modules/region-remote-host at ref=main) now leaves deployment_bucket_arn unset (committed there as a962785). Applied targeted at module.pi.aws_iam_user_policy.host only. - Plan and apply: 0 to add, 1 to change, 0 to destroy.
- The one change removed
DeploymentBucketObjects and DeploymentBucketList. Because the root follows the module's main, the same policy also gained the current module's three version statements, all on the fleet's own bucket pi-fleet-640012953448 (s3:GetObjectVersion, s3:DeleteObjectVersion, s3:ListBucketVersions). Nothing on carlos-dev-640012953448 or any other bucket. 8a3d302 approved that before the apply. - Access key
AKIAZKA56U5UDWQMC3F2 stays Inactive (deactivated 2026-11-14).
Before:
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::carlos-dev-640012953448/*"
],
"Sid": "DeploymentBucketObjects"
},
{
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::carlos-dev-640012953448"
],
"Sid": "DeploymentBucketList"
},
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448/*"
],
"Sid": "OwnRegionDataObjects"
},
{
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448"
],
"Sid": "OwnRegionDataList"
}
]
}
After:
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448/*"
],
"Sid": "OwnRegionDataObjects"
},
{
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448"
],
"Sid": "OwnRegionDataList"
},
{
"Action": [
"s3:GetObjectVersion"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448/*"
],
"Sid": "PullDoorObjectVersions"
},
{
"Action": [
"s3:DeleteObjectVersion"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448/*"
]
},
{
"Action": [
"s3:ListBucketVersions"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::pi-fleet-640012953448"
],
"Sid": "PullDoorVersionList"
}
]
}
Drift left alone, noted:
- An untargeted apply on that root would set the access key back to Active (state still says Active; the module has no status knob). Do not run an untargeted apply there until the module exposes the key status and the root pins it Inactive. That module change rides the #1007 code branch.
- An untargeted apply would also create the module's current lifecycle rule on
pi-fleet-640012953448 (noncurrent 7 days, abort multipart 7 days). Left as is.
After this, no non-platform principal holds a deployment-bucket grant on dev or flagship. Code fence (module, BYO page, docs, test) follows on branch close-direct-s3-fleet-writes.