-- CloudFront 캐시 무효화를 zx 로
createInvalidation :: DistributionId -> Path -> IO Result
createInvalidation dist paths =
sh ["aws", "cloudfront", "create-invalidation", "--distribution-id", quote dist, "--paths", quote paths]
-- zx 의 $: ${} 로 넣은 값은 알아서 quote — 직접 "/*" 를 넣으면 따옴표까지 경로가 된다
createInvalidation dist "/*" -- 배포 전체