cloudposse / cloudposse/terraform-aws-lambda-function

Support for configurable ignore_changes lifecycle

未关闭
#84 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HCL
星标
36
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the Feature

Currently ignore_changes in cloudposse/terraform-aws-lambda-function is restricted to `last_modified` which is hard coded and not configurable.

_Use case:_

* I want to ignore_changes for `environment` attribute values + last_modified

So that from my module call, I can pass the attributes to ignore when there is any changes.

### Expected Behavior

From the call:

`module "example_lambda_function" {
source = "cloudposse/lambda-function/aws"
version = "0.6.1"

ignore_changes = [environment]
}
`

### Use Case

* I want to ignore_changes for `environment` attribute values + last_modified

### Describe Ideal Solution

Passing the attributes to be ignored when there is any changes in terraform state

### Alternatives Considered

_No response_

### Additional Context

_No response_

贡献指南

打开贡献指南

调研方向

该 issue 将模块调用和 Terraform lifecycle ignore_changes 配置确定为切入点。先阅读现有的硬编码 last_modified 处理,然后确定如何通过模块传递列表输入。完成的标准是:模块接受文档中说明的 ignore_changes 值,同时保留 last_modified,并使用仓库中现有的验证方式验证该行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
terraform
领域
cloud, infrastructure
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。