cloudposse / cloudposse/terraform-aws-lambda-function
Churn with `aws_iam_role.this`
- 主要语言
- HCL
- 星标
- 36
- 派生
- 44
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Describe the Bug
There is a permanent name change with `aws_iam_role.this` which is causing the resource to be recreated on every apply.
This is causing further issues with KMS permissions in the lambda function being revoked, including permissions to the default KMS key.
See https://github.com/serverless/examples/issues/279 for context regarding KMS key
### Expected Behavior
IAM role should not be constantly recreated.
### Steps to Reproduce
Apply module, apply again.
### Screenshots
_No response_
### Environment
_No response_
### Additional Context
_No response_
贡献指南
调研方向
Start by applying the module twice and inspecting the aws_iam_role.this resource between runs; the issue identifies the permanent name change as the entry point. Done means the second apply no longer recreates the IAM role and the Lambda function retains its KMS permissions.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, terraform
- 领域
- cloud, infrastructure, security
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100