inlets / inletsctl

Create inlets servers on the top cloud platforms

Home Page:https://docs.inlets.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The delete command does not work for GCE

utsavanand2 opened this issue · comments

The delete command printed out after creating an exit node on GCE does not delete the instance until a --project-id flag is provided

Expected Behaviour

Unless until specified explicitly, the project-id should be inferred from the GCE exit node customID

Current Behaviour

Screenshot 2020-01-30 at 3 34 41 PM

Possible Solution

Pull Request for the fix: #40

Steps to Reproduce (for bugs)

  1. create an instance with gce as the provider.
  2. make note of the printed delete command after successful execution of the above step
  3. try deleting the instance with an extra flag for the --access-token-file
  4. The command would fail with an error:
    got HTTP response code 404 with body: Not Found

Your Environment

  • inletsctl version
    Version: 0.4.1
    Git Commit: 3f1c896

  • Operating System and version (e.g. Linux, Windows, MacOS):
    MacOS

I think you can close #31 as this is a duplicate of that.