📜  错误更新 IAM 角色 (lambda_exec) 假设角色策略:MalformedPolicyDocument:已禁止字段资源 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:29.392000             🧑  作者: Mango

代码示例1
#Error: Error Updating IAM Role (lambda_exec) Assume Role Policy: MalformedPolicyDocument: Has prohibited field Resource
If you are add "Resource": "*" into terraform file then you will get this issue
Solve: remove that entaire line from it.