{"id":15707479,"url":"https://github.com/robmarkcole/terraform-ec2-example","last_synced_at":"2026-01-27T18:39:51.517Z","repository":{"id":85844660,"uuid":"385149312","full_name":"robmarkcole/terraform-ec2-example","owner":"robmarkcole","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-12T06:41:01.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T00:07:48.084Z","etag":null,"topics":[],"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/robmarkcole.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":"2021-07-12T06:40:24.000Z","updated_at":"2021-07-23T07:18:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"ccdb171c-e1fa-4cef-a2cc-f755e8a031c4","html_url":"https://github.com/robmarkcole/terraform-ec2-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fterraform-ec2-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fterraform-ec2-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fterraform-ec2-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Fterraform-ec2-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/terraform-ec2-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342994,"owners_count":20761947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-03T20:40:37.550Z","updated_at":"2026-01-27T18:39:46.486Z","avatar_url":"https://github.com/robmarkcole.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# robins-dev-ec2\nDev instance creation terraform.\n\n- To format: `terraform fmt`\n- Validate: `terraform validate`\n- Create infra: `terraform apply`\n- To destroy the instance: `terraform destroy`\n\n## SSH connection\n- The required ssh key is hardcoded to `robins-ec2-key-pair` and stored on AWS Secrets manager\n- To connect from vscode using remote connect simply add to your ssh config file:\n\n```\nHost robins-dev-ec2\n  HostName ec2-18-168-76-253.eu-west-2.compute.amazonaws.com\n  IdentityFile /Users/robin/.ssh/robins-ec2-key-pair.pem\n  User ubuntu\n```\n\n## Github\nTo auth with github install the [gh cli](https://cli.github.com/manual/) and auth with an access token that has role `admin:org:read\u0026write`. Set your git config with `git config user.name \"Robin\"` and `git config user.email \"my@email\"`\n\n## AWS\nSetup the [aws cli](https://aws.amazon.com/cli/) then `aws configure` and test with `aws s3 ls`\n\n## Conda\nInstalled following [these instructions](https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html) to `/home/ubuntu/anaconda3`\n\n## Setup tools\n- `sudo apt update`\n- `sudo apt install docker.io` \u0026 `sudo apt install docker-compose`\n- `sudo docker run hello-world` # simply validates docker is installed\n- `sudo apt install unzip`\n\n## Ubuntu commands\n- `df -h` to list available storage\n- If getting permissions errors: `sudo chown -R ubuntu /my/dir`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fterraform-ec2-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Fterraform-ec2-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Fterraform-ec2-example/lists"}