Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhenning/stakpark
An opinionated clone-and-go template for local cloud infrastructure development on Macs
https://github.com/rhenning/stakpark
infrastructure-as-code kind localstack terraform terratest
Last synced: 8 days ago
JSON representation
An opinionated clone-and-go template for local cloud infrastructure development on Macs
- Host: GitHub
- URL: https://github.com/rhenning/stakpark
- Owner: rhenning
- License: apache-2.0
- Created: 2022-03-29T13:26:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-02T17:01:55.000Z (about 2 years ago)
- Last Synced: 2025-01-18T01:03:47.640Z (16 days ago)
- Topics: infrastructure-as-code, kind, localstack, terraform, terratest
- Language: HCL
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `stakpark`
`stakpark` is an opinionated, clone-and-go environment template for local cloud
infrastructure development on macs. package management is handled by homebrew,
container runtime by docker, compose, and kind, and it includes other odds and
ends like localstack, golang, and terraform, tfenv, terragrunt, tgswitch, and
terratest.## motivation
i've grown tired of creating this structure from scratch each time i'd like
an aws development sandbox.## up and running
_psst..._ did you catch that first paragraph where i said this was an
_opinionated_ template? it installs a bunch of stuff with homebrew. i
strongly suggest eyeballing the brewfile before continuing and making
adjustments if you're not crazy about something there. that said...```bash
: install dependencies
make dep: start localstack
make up: smoke test (from another terminal)
make check: run legit tests (from same terminal as previous)
make test
```more targets:
```bash
make tfinit
make tfvalidate
make tfplan
make tfapply
make tfdestroy
```start a shell and use the AWS CLI against the local test environment:
```bash
poetry shell
awslocal sts get-caller-identity
awslocal ec2 describe-vpcs
```## what now?
feel free to copy `test/envs/_example` to a new directory and adjust as
desired to create your own environment. `a_test.go` and `Makefile`
contain references to `_example`, so be sure to update those.have fun.
## faq
Q: __i have purchased a localstack pro license. how can i use it?__
A: `make up LOCALSTACK_API_KEY="t0ps3