terraform-google-modules/bastion-host
Generates a bastion host VM compatible with OS Login and IAP Tunneling.
About
Generates a bastion host VM compatible with OS Login and IAP Tunneling.
Maintained by terraform-google-modules on the Terraform Registry. Latest version 9.0.0, 5.4M downloads. Requires providers: google >= 3.53, < 8; random >= 3.0.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Load balancers, certificates and DNS wired up in one reviewed change.
- Edge protection applied the same way on every public endpoint.
- Security groups and firewall rules with an owner and a reason.
Inputs
Required inputs:
project— stringnetwork— stringsubnet— string
38 inputs, 5 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
google_compute_instance_from_templategoogle_service_accountgoogle_service_account_iam_bindinggoogle_project_iam_member× 2google_project_iam_custom_rolerandom_id
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.