def METHOD_NAME(self):
    hcl_res = hcl2.loads("""
        resource "azurerm_postgresql_server" "example" {
          name                = "example-mysqlserver"
          location            = azurerm_resource_group.example.location
          resource_group_name = azurerm_resource_group.example.name
          administrator_login          = "mysqladminun"
          administrator_login_password = "H@Sh1CoR3!"
          sku_name   = "B_Gen5_2"
          storage_mb = 5120
          version    = "5.7"
          auto_grow_enabled                 = true
          backup_retention_days             = 7
          geo_redundant_backup_enabled      = true
          infrastructure_encryption_enabled = true
          public_network_access_enabled     = false
          ssl_enforcement_enabled           = false
          ssl_minimal_tls_version_enforced  = "TLS1_2"
        }
            """)
    resource_conf = hcl_res['resource'][0]['azurerm_postgresql_server']['example']
    scan_result = check.scan_resource_conf(conf=resource_conf)
    self.assertEqual(CheckResult.FAILED, scan_result)