cloudposse / cloudposse/terraform-aws-lambda-function

Warning: Deprecated attribute

オープン
#89 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
HCL
スター
36
フォーク
44
PR マージ指標
30日以内にマージされた PR はありません

説明

### Describe the Bug

Execution of the module is generating a deprecation warning as the AWS provider is deprecating `name` in favor of `region` for the `aws_region` resource.
```
│ Warning: Deprecated attribute

│ on .terraform/modules/lambda/main.tf line 5, in locals:
│ 5: region_name = local.enabled ? data.aws_region.this[0].name : null

│ The attribute "name" is deprecated. Refer to the provider documentation for details.
```

### Expected Behavior

Should not get the deprecation warning if running with a new AWS provider version.

### Steps to Reproduce

Any terraform ran with a new AWS provider version

### Screenshots

_No response_

### Environment

_No response_

### Additional Context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。