Access a value in tfstate with a property that contains a space

I wish to access a value in the Terraform state that contains a space in it, i.e.
“type”: “my_resource”
“name”: “my_name”,
“instances” [
{
“attributes” {
“Access Key”: “1231-3131-2134”
}
}
]

I wish to use the “Access Key” inside of my template, but I can’t find a way that will accept the space in the property, I tried with enclosing it in [ ], “” and [ " " ], but none of those work. I get an error each time: Error: Invalid attribute name

never mind I should have tried using [ " " ] without the dot notation. It works now.