Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sparkbox/aws-infrastructure
https://github.com/sparkbox/aws-infrastructure
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sparkbox/aws-infrastructure
- Owner: sparkbox
- Created: 2020-07-03T23:27:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T17:45:10.000Z (over 1 year ago)
- Last Synced: 2024-04-11T03:37:32.851Z (9 months ago)
- Language: HCL
- Size: 46.9 KB
- Stars: 5
- Watchers: 15
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sparkbox Main AWS Account Infrastructure
This repo is used to manage the Sparkbox Main AWS account using Terraform.
## How to use
1. `brew install terraform`
2. `cp local.example.tfvars local.auto.tfvars`
3. Update the variables in `local.auto.tfvars` accordingly
4. `terraform init`
3. `terraform plan`We use [Terraform Cloud] to execute our infrastructure. Commits to main will
automatically be [Planned][tf plan] and, if successful, [Applied][tf apply].## Contributing
Updates to our aws infrastucture should happen by making a PR to this repo.
You can `validate` changes and see the outcome of `plan`, but you cannot
`apply`, because it will impact our primary account. Instead, it is
recommended you test modules independently against your dev sandbox.[Terraform Cloud]: https://www.terraform.io/cloud
[tf plan]: https://www.terraform.io/docs/cli/commands/plan.html
[tf apply]: https://www.terraform.io/docs/cli/commands/apply.html