Resource Type Variable for AWS resource, ex: aws_instance in a tag

I need a local variable to refer to the resource type AWS.

When I use that variable inside the resource block, it can assign it to a variable,
I’m pretty sure my syntax is incorrect, and I’m looking for help with it.
example file:
locals {
common_tags = {
“ResourceName” = “{}”

Example file:
resource “aws_instance” “server” {
tags = merge(

Example AWS result in Tags:
Resource_name = aws_instance

Let me know,
I can’t find any examples on how to do this…

Thank you
Craig Ellrod (“surfd4wg”)