디렉터리 구조

root.tf
variables.tf
module/
	vpc/
		main.tf
		variables.tf
		output.tf
	sg/
		main.tf
		variables.tf
		output.tf
	rds/
		main.tf
		variables.tf
		output.tf
	ecs/
		main.tf
		variables.tf
		output.tf

(선택)Docker run ide

name: "aws-cicd-practice"d
services:
  code-server:
    image: dangtong76/cicd-devops-ide:amd64-v2
    container_name: "ide"
    networks: # 네트워크 항목 주석제거
      - kind_network
    environment:
      AUTH: none
      #FILE__PASSWORD: /run/secrets/code-server-password
    env_file:
      - .env
    working_dir: /code
    ports:
      - "8080:8080" # istory-web
      - "1314:1314" # hugo port 1
      - "1315:1315" # hugo port 2
      - "8444:8443" # vscode service port
      - "5500:5500"
    # secrets:s
    #   - code-server-password
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - devops-cicd-apps:/code/devops-cicd-apps
      - devops-cicd-vscode:/config
networks: # 네트워크 항목 주석제거
  kind_network:
    name: kind
    external: true
volumes:
  devops-cicd-apps:
    external: true
    name: devops-cicd-apps
  devops-cicd-vscode:
    external: true
    name: devops-cicd-vscode

Eksctl

https://wrynn.tistory.com/62

https://eksctl.io/usage/creating-and-managing-clusters/#

Terraform Doc

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_peering_connection

https://gitlab.com/yyytgf123/oliveyoung-terraform

DR Architecture

image.png