This repository is a simple deployment of a cluster in GKE with bastion in the following architecture:
To deploy the architecture:
- Create a ServiceAccount with the following permissions:
container.clusters.create
,iam.serviceAccounts.create
andcompute.networks.create
. - Create a json key for the ServiceAccount, save it in
secrets/secret.json
- Modify
terraform.tfvars.example
with information of your service account, and save it asterraform.tfvars
- Run
chmod +x ./install.sh && ./install.sh
- DO NOT USE IN PRODUCTION -