│ Error: Incorrect attribute value type
│
│ on main.tf line 79, in resource "aws_iam_role_policy" "dlm_lifecycle_policy":
│ 79: role = aws_iam_role.dlm_lifecycle_role..id
│ ├────────────────
│ │ aws_iam_role.dlm_lifecycle_role is tuple with 1 element
│
│ Inappropriate value for attribute "role": string required.
╵
╷
│ Error: Incorrect attribute value type
│
│ on main.tf line 110, in resource "aws_dlm_lifecycle_policy" "backup":
│ 110: execution_role_arn = aws_iam_role.dlm_lifecycle_role..arn
│ ├────────────────
│ │ aws_iam_role.dlm_lifecycle_role is tuple with 1 element
│
│ Inappropriate value for attribute "execution_role_arn": string require`
Receiving a information about the missing value for the execution_role_arn variable.
var.execution_role_arn Enter a value:
Log:
│ Error: Incorrect attribute value type │ │ on main.tf line 79, in resource "aws_iam_role_policy" "dlm_lifecycle_policy": │ 79: role = aws_iam_role.dlm_lifecycle_role..id │ ├──────────────── │ │ aws_iam_role.dlm_lifecycle_role is tuple with 1 element │ │ Inappropriate value for attribute "role": string required. ╵ ╷ │ Error: Incorrect attribute value type │ │ on main.tf line 110, in resource "aws_dlm_lifecycle_policy" "backup": │ 110: execution_role_arn = aws_iam_role.dlm_lifecycle_role..arn │ ├──────────────── │ │ aws_iam_role.dlm_lifecycle_role is tuple with 1 element │ │ Inappropriate value for attribute "execution_role_arn": string require`