Problems with aws_dms_endpoint

Hej I have problems to get some variables out…

the output looks like this:

╷
│ Error: Unsupported attribute
│ 
│   on outputs.tf line 9, in output "endpoint_source_arn":
│    9:   value = module.rds_source_endpoint.endpoint_arn 
│     ├────────────────
│     │ module.rds_source_endpoint is a object, known only after apply
│ 
│ This object does not have an attribute named "endpoint_arn".

The module looks like this:

module "rds_source_endpoint" {
  source = "../../modules/aws_dms_endpoint"

  username = "myUsername"
  password = "myPassword"
  port     = "3306"

  server_name = var.source_endpoint_server_name

  endpoint_id          = var.source_endpoint_id
  endpoint_type        = var.source_endpoint_type
  endpoint_engine_name = var.source_endpoint_engine_name

  tags = {
    example       = "dms-mysql-example"
    endpoint_type = "source"
  }
}

The resource looks like this:

resource "aws_dms_endpoint" "this"{
    
    username = var.username
    password = var.password

    port = var.port

    server_name = var.server_name

    endpoint_id = var.endpoint_id
    endpoint_type = var.endpoint_type
    engine_name = var.endpoint_engine_name

    tags = var.tags

}```

and finally the outputs of that resource looks like this:

output “endpoint_arn” {
description = “The Amazon Resource Name (ARN) for the endpoint.”
value = aws_dms_endpoint.this.endpoint_arn
}

output “tags_all” {
description = “A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.”
value = aws_dms_endpoint.this.tags_all
}


So im probably doing something wrong myself since the attribute should be there:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dms_endpoint#attributes-reference

any ideas?

Is there a hidden character at the end of the line?