cloudposse / cloudposse/terraform-aws-lambda-function

Churn with `aws_iam_role.this`

Abierto
#62 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
HCL
Estrellas
36
Forks
44
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.