tunnel
flaupretre/tunnel/ssh
Manage your private resources via a tunnel
 Note: This is version 2, a major version including several new features, the most important addition being the support of several new tunnel mechanisms in addition to SSH. Compatibility should be preserved for terraform code using version 1: new variables were added but the former ones are usable as-is and the module output does not change. Some of these additions are adapted from the multiple forks of this project. I had a look to the changes committed in these forks and integrated the ideas I found interesting. Github is not the ideal place to ask permission for this. So, if you think I shouldn't have taken an idea from your code without telling you, feel free to contact me. Once again, thanks to all who give time and energy to the
| Name | Type | Description | Default |
|---|---|---|---|
| target_host | string | Target host | required |
| target_port | number | Target port number | required |
| parent_wait_sleep | string | extra time to wait in the parent process for the child to create the tunnel | "3" |
| create | bool | If false, do nothing and return target host | true |
| env | any | An array of name -> value environment variables | {} |
| gateway_user | any | User to use on gateway (default for SSH : current user) | "" |
| iap_project | string | IAP only - GCP project in which the gateway host is located | "" |
| kubectl_context | string | Kubectl target context | "" |
| shell_cmd | string | Alternate command to launch a Posix shell | "bash" |
| tunnel_check_sleep | string | extra time to wait for the tunnel to become available | "0" |
| external_script | string | External only - Path of shell script to run to open the tunnel | "undef" |
| kubectl_namespace | string | Kubectl target namespace | "" |
| ssh_private_key | string | Optional private key content to use for SSH tunneling | "" |
| gcloud_cmd | string | Alternate 'gcloud' command (GCP only) | "gcloud" |
| ssm_profile | string | AWS SSM only - AWS profile (default: empty) | "" |
| ssm_role | string | AWS SSM only - Role to assume before starting the session (default: empty) | "" |
| putin_khuylo | bool | Do you agree that Putin doesn't respect Ukrainian sovereignty and territorial in | true |
| gateway_port | number | Gateway port | 22 |
| iap_zone | string | IAP only - GCP zone in which the gateway host is located | "" |
| ssh_cmd | string | Alternate command to launch the SSH client (including options) | "ssh -o StrictHostKeyChecking=no -o Pass |
| ssm_document_name | string | AWS SSM only - SSM Document Name | "AWS-StartSSHSession" |
| ssm_options | string | AWS SSM only - Options to add to the 'aws ssm start-session' command line | "" |
port — Port number to connect tohost — Host to connect toAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,