Terraform console: Can't access attributes on a primitive-typed value (string)

Hi @apparentlymart ,
I’m also facing the same error, but in Terraform console. Pasting the error here.

module.user_module.aws_ami.aws_linux_latest.id
╷
│ Error: Unsupported attribute
│
│   on <console-input> line 1:
│   (source code not available)
│
│ Can't access attributes on a primitive-typed value (string).

it returns output till module.user_module.aws_ami after that whatever i give it returns error, please help!!