aorel08 / ripper-aws-tf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOW-TO

Clone this repo into the suitable for you directory and enter this directory.

Before the very start you'll want to initialize the terraform first:

~$ terraform init -backend-config=backend.tfvars -upgrade

To create infrastructure from the scratch run:

~$ terraform plan -out=ripper.tfplan

after that check all output, and if satisfied, run:

~$ terraform apply "ripper.tfplan"

and type "yes" to approve setup. To approve non-interactivly - just add -auto-approve to the command above

Terraform creates .tfstate file in the S3 bucket


kubectl connect to existing eks cluster:

~$ aws eks --region <region-code> update-kubeconfig --name <cluster_name>

Deploy containers

~$ kubectl apply -f /path/to/ripper-deployment.yaml

working example you can find in deployments directory

About


Languages

Language:HCL 100.0%