bastion

JamesWoolfenden/bastion/gcp

Terraform Module HCL GCP ⏱ stale 2y 4mo

Bastion for GCP

Install

module "bastion" {
source = "JamesWoolfenden/bastion/gcp"
version = "0.1.55"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-gcp-bastion ![Build Status](https://github.com/JamesWoolfenden/terraform-gcp-bastion) ![Latest Release](https://github.com/JamesWoolfenden/terraform-gcp-bastion/releases/latest) ![GitHub tag (latest SemVer)](https://github.com/JamesWoolfenden/terraform-gcp-bastion/releases/latest) !Terraform Version ![Infrastructure Tests](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-gcp-bastion&benchmark=CIS+AWS+V1.2) ![pre-commit](https://github.com/pre-commit/pre-commit) ![checkov](https://www.checkov.io/) ![Infrastructure Tests](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-gcp-bastion&benchmark=INFRASTRUCTURE+SECURITY) The beginnings of a bastion module for GCP, now with compute firewall options. The Bastion

Inputs (16)

NameTypeDescriptionDefault
source_cidrslist(any)The ranges to allow to connect to the bastion required
network_interfacemap(any) required
zonestringThe GCP zone required
service_emailstringService account username required
imagemap(any)Describes the base image used required
account_idstring required
init_scriptstring required
keyringstring"pike"
locationstring"europe-west1"
nat_ipstringValues set if using a Static IPnull
kms_key_namestring"bastion"
namestringThe name of the Bastion Instance"bastion"
tagslist(any)Hard-coded tags that associates the correct firewall to the instance[ "bastion-ssh" ]
machine_typestringThe machine type for the Bastion"n1-standard-1"
service_scopelist(any)[ "https://www.googleapis.com/auth/clo
firewallnumberFlag to control the creation or not of a firewall rule. Maybe not needed if you 0

Outputs (3)

bastion — The Attributes of the Bastion
firewall — The Attributes of the firewall
image — The Attributes of the Image

Resources (2)

google_compute_firewallgoogle_compute_instance

Details

FrameworkTerraform Module
LanguageHCL
Version0.1.55
Cloud GCP
Total downloads5.7k
Inputs16
Outputs3
Resources2
NamespaceJamesWoolfenden
Updated