Skip to content

Example: Terraform to build ec2/eks #50

@mathew-fleisch

Description

@mathew-fleisch

Expand on github-actions example to build aws resources.
"Easier" - Create ec2 instance, tagged with slack user name/id and other metadata. Send pem back to user once resource is up and stable. Also create status/delete commands to maintain lifecycle of the aws resource.

harder - Same as the easier option, but an eks cluster where the kubeconfig is returned
🤔 Maybe... bashbot gets automatically deployed inside the eks cluster to manage the cluster state and could run commands like:

  • kubectl get namespaces
  • kubectl scale --replicas=0 deployment/myapp && sleep 5 && kubectl scale --replicas=1 deployment/myapp
  • kubectl logs mypod --tail 50
  • kubectl delete mypod
  • kubectl set image deployment/frontend www=image:v2

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions