hardfinhq / terraform-aws-tailscale-subnet-router

Terraform module for Tailscale subnet router in AWS ECS Fargate
https://registry.terraform.io/modules/hardfinhq/tailscale-subnet-router/aws
Apache License 2.0
30 stars 9 forks source link

Contribution Instructions #3

Closed smkjason closed 1 year ago

smkjason commented 1 year ago

Hello, is this project open to contributions?

I'm not able to create push a branch and create PR on this repository.

ERROR: Permission to hardfinhq/terraform-aws-tailscale-subnet-router.git denied to smkjason.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
dhermes commented 1 year ago

This is just a symptom of using ssh vs. https to clone a public repo. I also can't clone over ssh without using my SSH key (as a maintainer):

$ docker run --rm --interactive --tty ubuntu:22.04 /bin/bash
root@2c412e27bc39:/# apt-get update
...
root@2c412e27bc39:/# apt-get install git
...
root@2c412e27bc39:/# git clone git@github.com:hardfinhq/terraform-aws-tailscale-subnet-router.git
Cloning into 'terraform-aws-tailscale-subnet-router'...
The authenticity of host 'github.com (140.82.112.4)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
root@2c412e27bc39:/#

Try

git clone https://github.com/hardfinhq/terraform-aws-tailscale-subnet-router

For example in the "no auth / no SSH key" Docker container above, this works fine:

root@2c412e27bc39:/# git clone https://github.com/hardfinhq/terraform-aws-tailscale-subnet-router
Cloning into 'terraform-aws-tailscale-subnet-router'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 44 (delta 22), reused 42 (delta 20), pack-reused 0
Receiving objects: 100% (44/44), 15.56 KiB | 3.89 MiB/s, done.
Resolving deltas: 100% (22/22), done.
root@2c412e27bc39:/#

I'm not able to create push a branch and create PR on this repository.

You'll need to make a fork first and send a PR from your fork.


I am going to pre-emptively close this issue because I think / I hope I've solved your issue. I'm very happy to re-open the issue though if I'm mistaken.