{"id":15694067,"url":"https://github.com/antonbabenko/addo-demo","last_synced_at":"2025-04-30T06:05:12.928Z","repository":{"id":102581560,"uuid":"219974417","full_name":"antonbabenko/addo-demo","owner":"antonbabenko","description":"All code used during my All Day DevOps talk","archived":false,"fork":false,"pushed_at":"2019-11-06T10:49:20.000Z","size":8,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T14:47:47.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.alldaydevops.com/addo-speakers/anton-babenko","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonbabenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-11-06T10:48:06.000Z","updated_at":"2022-11-10T19:49:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbdd4bfd-22b9-49de-9e00-1b5cae7a7e63","html_url":"https://github.com/antonbabenko/addo-demo","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/antonbabenko%2Faddo-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Faddo-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Faddo-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Faddo-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonbabenko","download_url":"https://codeload.github.com/antonbabenko/addo-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246320200,"owners_count":20758410,"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-03T18:51:52.309Z","updated_at":"2025-03-30T13:14:07.020Z","avatar_url":"https://github.com/antonbabenko.png","language":"HCL","funding_links":["https://github.com/sponsors/antonbabenko/"],"categories":[],"sub_categories":[],"readme":"# Infrastructure code for \"addo-demo\"\n\nThis repository contains infrastructure as Terraform configurations which were automatically generated from blueprint created using [cloudcraft.co](https://cloudcraft.co/app).\n\n[Terragrunt](https://github.com/gruntwork-io/terragrunt) is used to work with Terraform configurations which allows to orchestrate dependent layers, update arguments dynamically and keep configurations [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself).\n\n## Table of Contents\n\n1. [Quick start](#quick-start)\n1. [Configure access to AWS account](#configure-access-to-aws-account)\n1. [Create and manage your infrastructure](#create-and-manage-your-infrastructure)\n1. [References](#references)\n1. [About modules.tf](#about-modulestf)\n\n\n## Quick start\n\n1. [Install Terraform 0.12 or newer](https://www.terraform.io/intro/getting-started/install.html)\n1. [Install Terragrunt 0.19 or newer](https://github.com/gruntwork-io/terragrunt#install-terragrunt)\n1. Optionally, [install pre-commit hooks](https://pre-commit.com/#install) to keep Terraform formatting and documentation up-to-date.\n\nIf you are using macOS you can install all dependencies using [Homebrew](https://brew.sh/):\n\n    $ brew install terraform terragrunt pre-commit\n\n## Configure access to AWS account\n\nThe recommended way to configure access credentials to AWS account is using environment variables:\n\n```\n$ export AWS_DEFAULT_REGION=eu-west-1\n$ export AWS_ACCESS_KEY_ID=...\n$ export AWS_SECRET_ACCESS_KEY=...\n```\n\nAlternatively, you can edit `common/main_providers.tf` and use another authentication mechanism as described in [AWS provider documentation](https://www.terraform.io/docs/providers/aws/index.html#authentication).\n\n## Create and manage your infrastructure\n\nInfrastructure consists of multiple layers (autoscaling, s3-bucket, alb, ...) where each layer is described using one [Terraform module](https://www.terraform.io/docs/configuration/modules.html) with `inputs` arguments specified in `terragrunt.hcl` in respective layer's directory.\n\nNavigate through layers to review and customize values inside `inputs` block.\n\nThere are two ways to manage infrastructure (slower\u0026complete, or faster\u0026granular):\n- **Region as a whole (slower\u0026complete).** Run this command to create infrastructure in all layers in a single region:\n\n```\n$ cd eu-west-1\n$ terragrunt apply-all\n```\n\n- **As a single layer (faster\u0026granular).** Run this command to create infrastructure in a single layer (eg, `autoscaling`):\n\n```\n$ cd eu-west-1/autoscaling\n$ terragrunt apply\n```\n\nAfter the confirmation your infrastructure should be created.\n\n\n## References\n\n* [Terraform documentation](https://terraform.io/) and [Terragrunt documentation](https://github.com/gruntwork-io/terragrunt/blob/master/README.md) for all available commands and features.\n* [Terraform AWS modules](https://github.com/terraform-aws-modules/).\n* [Terraform modules registry](https://registry.terraform.io/).\n\n\n## About modules.tf\n\n[modules.tf](https://github.com/antonbabenko/modules.tf-lambda) is an open-source project by [Anton Babenko](https://github.com/antonbabenko), and, yes, you can contribute, too:\n1. Questions, bugs and feature-requests - [open an issue](https://github.com/antonbabenko/modules.tf-lambda).\n1. [Become a sponsor to @antonbabenko](https://github.com/sponsors/antonbabenko/).\n1. You are always welcome to share, star, like, tweet, follow!\n\n[![@antonbabenko](https://img.shields.io/twitter/follow/antonbabenko.svg?style=flat\u0026label=Follow%20@antonbabenko%20on%20Twitter)](https://twitter.com/antonbabenko) \n[![@antonbabenko](https://img.shields.io/github/followers/antonbabenko?style=flat\u0026label=Follow%20@antonbabenko%20on%20Github)](https://github.com/antonbabenko) \n[![modules.tf-lambda](https://img.shields.io/github/stars/antonbabenko/modules.tf-lambda?style=flat\u0026label=Star%20modules.tf-lambda%20on%20Github)](https://github.com/antonbabenko/modules.tf-lambda)\n\nAll content, including [Terraform AWS modules](https://github.com/terraform-aws-modules/) used in these configurations, is released under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonbabenko%2Faddo-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonbabenko%2Faddo-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonbabenko%2Faddo-demo/lists"}