Skip to content

fix(ci-lease): add s3vectors + capture events on failure#399

Merged
chrisns merged 1 commit into
mainfrom
chore/cfn-s3-staging
May 22, 2026
Merged

fix(ci-lease): add s3vectors + capture events on failure#399
chrisns merged 1 commit into
mainfrom
chore/cfn-s3-staging

Conversation

@chrisns
Copy link
Copy Markdown
Member

@chrisns chrisns commented May 22, 2026

Council-chatbot uses AWS::S3Vectors::VectorBucket. Missing s3vectors:* perm. Also fix: capture CFN events ordering so events are captured even when deploy fails.

…n failure

Council-chatbot CFN deploy failed silently because:
1. CIDeployRole missing s3vectors:* permission. Council-chatbot uses
   AWS::S3Vectors::VectorBucket + AWS::S3Vectors::Index (newer service,
   separate IAM namespace from s3:*). Without this permission, those
   resources fail to create, the stack rolls back, and CFN deploy
   returns a generic 'Failed to create/update the stack'.
2. The Capture CFN events step was skipped because the deploy step set
   stack_name to GITHUB_OUTPUT AFTER the deploy command — but the
   command errored before reaching the echo, so the output stayed empty
   and the gated Capture step never ran. Moved the echo to BEFORE the
   deploy command so events get captured even on failure.

Add s3vectors:* to ScenarioResourceManagement. Future scenarios that
use other newer/specialised services will need similar additions.
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns had a problem deploying to smoke-test-deploy May 22, 2026 09:18 — with GitHub Actions Failure
@chrisns chrisns added this pull request to the merge queue May 22, 2026
Merged via the queue into main with commit cacae92 May 22, 2026
4 of 20 checks passed
@chrisns chrisns deleted the chore/cfn-s3-staging branch May 22, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant