What problem(s) are we looking to solve?
- Setting up argocd can be tricky.
- Off the shelf options (AWS EKS) can be expensive.
This repo leverages terraform, argoCD and EC2 in creating ephemeral environments.
- create AWS account here
- associate credentials as per here
- run one time terraform setup with
just init
- run
just deploy
- note it will take a few minutes to spin up!
- access app via
app-url
output value. - once finished ensure you run
just destroy
- run
just get-password
and obtain from terminal- in the below example the password is
slZ9tG0Sp2O8fjbH
- in the below example the password is
, #_
~\_ ####_ Amazon Linux 2023
~~ \_#####\
~~ \###|
~~ \#/ ___ https://aws.amazon.com/linux/amazon-linux-2023
~~ V~' '->
~~~ /
~~._. _/
_/ _/
_/m/'
slZ9tG0Sp2O8fjbH
- username is
admin
- access argocd UI via
argocd-url
output value.- note you may be (initially) blocked and have to bypass in the browser
- error (M1 / terraform)
╷
│ Error: Incompatible provider version
│
│ Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64.
- fix
brew install kreuzwerker/taps/m1-terraform-provider-helper
m1-terraform-provider-helper activate
m1-terraform-provider-helper install hashicorp/template -v v2.2.0