cloudposse / cloudposse/terraform-aws-lambda-function

Churn with `aws_iam_role.this`

Aperta
#62 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
HCL
Stelle
36
Fork
44
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.