Modify files under ~/.aws
directory
Use it as you would normally use aws profiles for cli
terraform { | |
backend "s3" {} | |
} |
module "eks" { | |
source = "terraform-aws-modules/eks/aws" | |
cluster_name = "eks" | |
subnets = ["${module.vpc.public_subnets}"] | |
vpc_id = "${module.vpc.vpc_id}" | |
worker_groups = [ | |
{ | |
instance_type = "m4.large" |
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
spec: | |
selector: | |
matchLabels: | |
app: nginx | |
replicas: 2 | |
template: |
# Application Load Balancer (ALB) Ingress Controller Deployment Manifest. | |
# This manifest details sensible defaults for deploying an ALB Ingress Controller. | |
# GitHub: https://github.com/kubernetes-sigs/aws-alb-ingress-controller | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: alb-ingress-controller | |
name: alb-ingress-controller | |
namespace: kube-system |
I hereby claim:
To claim this, I am signing this object:
version: '3.1' | |
services: | |
db: | |
image: postgres:13-alpine | |
restart: always | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=password | |
- POSTGRES_DB=test |