You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the zip file gets refreshed on every deploy, then the data sources for region, partition etc are refreshed
causing the roles to think they must be re-created because they depend on apply-time stuff.
this is a tricky one to fix. I am going to implement a workaround in my infra now so I can continue moving forward. Idk if I will find time to implement a fix.
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 serverless/examples#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
The text was updated successfully, but these errors were encountered: