cloudposse / cloudposse/terraform-aws-lambda-function

Churn with `aws_iam_role.this`

Offen
#62 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
HCL
Sterne
36
Forks
44
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.