throw Error()

in src/run.ts [46:60]


         throw Error(
            'Resource type not recognized, either Microsoft.ContainerService/managedClusters or Microsoft.ContainerService/fleets is valid'
         )
      }
      const resourceType: ResourceType = resourceInput
      const subscription = core.getInput('subscription') || ''
      const adminInput = core.getInput('admin') || ''
      const admin = adminInput.toLowerCase() === 'true'
      const useKubeLoginInput = core.getInput('use-kubelogin') || ''
      const useKubeLogin = useKubeLoginInput.toLowerCase() === 'true' && !admin
      const publicFqdnInput = core.getInput('public-fqdn') || ''
      const publicFqdn = publicFqdnInput.toLowerCase() === 'true'

      // validate user is not using admin or publicFqdn flags with fleet resource
      if (resourceType === 'microsoft.containerservice/fleets' && admin) {