Commit a90bd1a
committed
fix: fail creation when master password unavailable for FGAC mapping
Previously, if the master password couldn't be retrieved from Secrets
Manager and wasn't provided via --opensearch-password, FGAC mapping
was silently skipped. This left the domain without proper role mappings,
causing PPL permission errors.
Now:
- Creation fails with a clear error if no password is available
- --opensearch-password is required upfront when reusing an existing domain
Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>1 parent 49a87b7 commit a90bd1a
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
0 commit comments