Commit 02be78c
committed
fix(ci-lease): add s3vectors:* to CIDeployRole + capture CFN events on 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.1 parent 147c360 commit 02be78c
2 files changed
Lines changed: 5 additions & 1 deletion
File tree
- .github/workflows
- cloudformation/isb-hub-orgmgmt/ci-deploy-role-stackset
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
146 | | - | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
0 commit comments