Skip to content

chrispsheehan/aws-argocd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-argocd

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.

prerequisites

  • create AWS account here
  • associate credentials as per here
  • run one time terraform setup with just init

deploy aws infrastructure

  • 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

log into argocd

  • run just get-password and obtain from terminal
    • in the below example the password is slZ9tG0Sp2O8fjbH
   ,     #_
   ~\_  ####_        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

references

gotchas

  • 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

Releases

No releases published

Packages

No packages published