{"id":15874728,"url":"https://github.com/pgporada/terraform-bastion","last_synced_at":"2026-04-28T20:02:37.303Z","repository":{"id":149290488,"uuid":"90287645","full_name":"pgporada/terraform-bastion","owner":"pgporada","description":"This is how I like to configure my AWS bastions","archived":false,"fork":false,"pushed_at":"2017-06-29T14:04:49.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T23:24:53.515Z","etag":null,"topics":["ansible","aws","bastion","centos7","jumpbox"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgporada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-04T16:54:16.000Z","updated_at":"2019-08-02T08:41:11.000Z","dependencies_parsed_at":"2023-09-13T10:33:10.780Z","dependency_job_id":null,"html_url":"https://github.com/pgporada/terraform-bastion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pgporada/terraform-bastion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgporada%2Fterraform-bastion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgporada%2Fterraform-bastion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgporada%2Fterraform-bastion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgporada%2Fterraform-bastion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgporada","download_url":"https://codeload.github.com/pgporada/terraform-bastion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgporada%2Fterraform-bastion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32396781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","aws","bastion","centos7","jumpbox"],"created_at":"2024-10-06T01:41:18.886Z","updated_at":"2026-04-28T20:02:37.249Z","avatar_url":"https://github.com/pgporada.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview: terraform-bastion\n\nPlease note that this project makes some assumptions based on how I have my architecture designed. I choose to store remote state and variables inside S3. I use the Makefile to provide a clean interface to using Terraform and my Ansible projects. If you need help, please ask!\n\nBuilds the following infrastructure\n\n* EC2 instance\n* Route53 entries\n* EIP because the bastion isn't in an ASG\n\n- - - -\n# Usage\nThe Makefile will pull down a fresh secrets variable file from S3 during the **plan** and **apply** phases. This file does not exist by default.\n\n    export AWS_REGION=\"us-east-1\"\n    export AWS_STATE_BUCKET=\"my-state-bucket\"\n    export AWS_PROFILE=\"default\"\n    export AWS_KMS_ARN=\"arn:aws:kms:us-east-1:4545454545:key/xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxx\"\n    export TF_VAR_kms_key_id=${AWS_KMS_ARN}\n    export ENVIRONMENT=\"example\"\n    make plan\n    make apply\n\n- - - -\n# Updating variables for an environment\n\n\n    aws s3 --profile=default cp s3://my-state-bucket/terraform/bastion/example.tfvars .\n    vim example.tfvars\n    aws s3 --profile=default cp .tfvars s3://my-state-bucket/terraform/bastion/example.tfvars\n\n- - - -\n# Theme Music\n[The Pine Hill Haints - I'm a Rambler, I'm a Gambler](https://www.youtube.com/watch?v=JMLJv7vptyA)\n\n- - - -\n# Author Information and License\nGPLv3\n\n(C) 2017 [Phil Porada](https://philporada.com) - philporada@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgporada%2Fterraform-bastion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgporada%2Fterraform-bastion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgporada%2Fterraform-bastion/lists"}