Commit 1a7158b
fix: add SSM AMI parameter permissions and environment-based naming (#5016)
This pull request introduces environment-specific configuration
improvements and updates IAM policy resources to support new SSM
parameters. The main changes focus on making resource naming more
flexible and ensuring the Lambda scale-up policy has access to the
necessary SSM parameters.
Configuration improvements:
* Updated the `al2023_arm64_name` local in
`examples/multi-runner/main.tf` to include the environment variable,
making AMI name paths environment-specific for better isolation and
flexibility.
IAM policy updates:
* Added `${ssm_ami_id_parameter_arn}` to the resource list in
`modules/runners/policies/lambda-scale-up.json`, allowing Lambda
scale-up operations to access the new SSM parameter for AMI IDs. This
solve errors related handling batches
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent c638e38 commit 1a7158b
File tree
2 files changed
+3
-2
lines changed- examples/multi-runner
- modules/runners/policies
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments