@geekmidas/cli 10.0.0-alpha.160 → 10.0.0-alpha.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/dist/{GoDaddyProvider-C9dDlH9I.mjs → GoDaddyProvider-COSh6bNI.mjs} +2 -2
  2. package/dist/{GoDaddyProvider-C9dDlH9I.mjs.map → GoDaddyProvider-COSh6bNI.mjs.map} +1 -1
  3. package/dist/{GoDaddyProvider-DkUMcMYy.cjs → GoDaddyProvider-DyhN8PEn.cjs} +2 -2
  4. package/dist/{GoDaddyProvider-DkUMcMYy.cjs.map → GoDaddyProvider-DyhN8PEn.cjs.map} +1 -1
  5. package/dist/{HostingerProvider-BEuKG2gz.mjs → HostingerProvider-5Nekoneq.mjs} +2 -2
  6. package/dist/{HostingerProvider-BEuKG2gz.mjs.map → HostingerProvider-5Nekoneq.mjs.map} +1 -1
  7. package/dist/{HostingerProvider-9faYOQnQ.cjs → HostingerProvider-DG08aTyh.cjs} +2 -2
  8. package/dist/{HostingerProvider-9faYOQnQ.cjs.map → HostingerProvider-DG08aTyh.cjs.map} +1 -1
  9. package/dist/{LegacyStateStore-C44jUnMH.cjs → LegacyStateStore-5W4kFia3.cjs} +3 -3
  10. package/dist/{LegacyStateStore-C44jUnMH.cjs.map → LegacyStateStore-5W4kFia3.cjs.map} +1 -1
  11. package/dist/{LegacyStateStore-DPKhjUR6.mjs → LegacyStateStore-CafGn2Yl.mjs} +3 -3
  12. package/dist/{LegacyStateStore-DPKhjUR6.mjs.map → LegacyStateStore-CafGn2Yl.mjs.map} +1 -1
  13. package/dist/{LocalStateStore-B95WE99i.cjs → LocalStateStore--CJ7ksx6.cjs} +2 -2
  14. package/dist/{LocalStateStore-B95WE99i.cjs.map → LocalStateStore--CJ7ksx6.cjs.map} +1 -1
  15. package/dist/{LocalStateStore-BU3fWkcT.mjs → LocalStateStore-DrTw_EIu.mjs} +2 -2
  16. package/dist/{LocalStateStore-BU3fWkcT.mjs.map → LocalStateStore-DrTw_EIu.mjs.map} +1 -1
  17. package/dist/{S3StateStore-Cpbeijr5.mjs → S3StateStore-DGEwSkf2.mjs} +4 -4
  18. package/dist/{S3StateStore-Cpbeijr5.mjs.map → S3StateStore-DGEwSkf2.mjs.map} +1 -1
  19. package/dist/{S3StateStore-zU5kClhd.cjs → S3StateStore-M8vVPpr7.cjs} +4 -4
  20. package/dist/{S3StateStore-zU5kClhd.cjs.map → S3StateStore-M8vVPpr7.cjs.map} +1 -1
  21. package/dist/{SSMStateStore-D9uviQ3T.cjs → SSMStateStore-B2A27u0C.cjs} +2 -2
  22. package/dist/{SSMStateStore-D9uviQ3T.cjs.map → SSMStateStore-B2A27u0C.cjs.map} +1 -1
  23. package/dist/{SSMStateStore-BxkKMBi_.mjs → SSMStateStore-VYfuykBd.mjs} +2 -2
  24. package/dist/{SSMStateStore-BxkKMBi_.mjs.map → SSMStateStore-VYfuykBd.mjs.map} +1 -1
  25. package/dist/{add-Bb2IL3Yq.cjs → add-CijlgwVr.cjs} +6 -6
  26. package/dist/{add-Bb2IL3Yq.cjs.map → add-CijlgwVr.cjs.map} +1 -1
  27. package/dist/{add-Dj-gtqTO.mjs → add-CistiUc6.mjs} +6 -6
  28. package/dist/{add-Dj-gtqTO.mjs.map → add-CistiUc6.mjs.map} +1 -1
  29. package/dist/{apps-0vc4Oz9_.cjs → apps-5iJb710M.cjs} +5 -5
  30. package/dist/{apps-0vc4Oz9_.cjs.map → apps-5iJb710M.cjs.map} +1 -1
  31. package/dist/{apps-FRNlECwi.mjs → apps-BE97n0jO.mjs} +5 -5
  32. package/dist/{apps-FRNlECwi.mjs.map → apps-BE97n0jO.mjs.map} +1 -1
  33. package/dist/{aws-8QQ8n-t6.mjs → aws-C5LAU_Ii.mjs} +10 -2
  34. package/dist/aws-C5LAU_Ii.mjs.map +1 -0
  35. package/dist/{aws-DY9NqQIT.cjs → aws-DKC2m3sT.cjs} +9 -1
  36. package/dist/aws-DKC2m3sT.cjs.map +1 -0
  37. package/dist/{bundler-9EM4ZHcu.mjs → bundler-D-SXSUZI.mjs} +6 -6
  38. package/dist/{bundler-9EM4ZHcu.mjs.map → bundler-D-SXSUZI.mjs.map} +1 -1
  39. package/dist/{bundler-Bg2eEFEh.cjs → bundler-D4E7kCYb.cjs} +6 -6
  40. package/dist/{bundler-Bg2eEFEh.cjs.map → bundler-D4E7kCYb.cjs.map} +1 -1
  41. package/dist/{cli-CmoSOzNq.mjs → cli-Brr1IVq1.mjs} +5 -5
  42. package/dist/{cli-CmoSOzNq.mjs.map → cli-Brr1IVq1.mjs.map} +1 -1
  43. package/dist/{cli-YtLjcAZT.cjs → cli-D--xSSlK.cjs} +5 -5
  44. package/dist/{cli-YtLjcAZT.cjs.map → cli-D--xSSlK.cjs.map} +1 -1
  45. package/dist/{compose-D7gOSspy.cjs → compose-BoxgqTF8.cjs} +17 -11
  46. package/dist/compose-BoxgqTF8.cjs.map +1 -0
  47. package/dist/{compose-3AtZF7ul.mjs → compose-CuoV9T9U.mjs} +6 -6
  48. package/dist/{compose-3AtZF7ul.mjs.map → compose-CuoV9T9U.mjs.map} +1 -1
  49. package/dist/{compose-CnXZAYNM.mjs → compose-Dk0Z8zdf.mjs} +17 -11
  50. package/dist/compose-Dk0Z8zdf.mjs.map +1 -0
  51. package/dist/{compose-CW1DGfYc.cjs → compose-Dpkkp-Qq.cjs} +6 -6
  52. package/dist/{compose-CW1DGfYc.cjs.map → compose-Dpkkp-Qq.cjs.map} +1 -1
  53. package/dist/{config-CkuiD9Jv.d.cts → config-BxSSAzVi.d.mts} +3 -3
  54. package/dist/{config-BNmLn0dw.d.mts.map → config-BxSSAzVi.d.mts.map} +1 -1
  55. package/dist/{config-B5Hi3mLK.cjs → config-CLXSXbcs.cjs} +2 -2
  56. package/dist/{config-B5Hi3mLK.cjs.map → config-CLXSXbcs.cjs.map} +1 -1
  57. package/dist/{config-BNmLn0dw.d.mts → config-DNoWqavN.d.cts} +3 -3
  58. package/dist/{config-CkuiD9Jv.d.cts.map → config-DNoWqavN.d.cts.map} +1 -1
  59. package/dist/{config-DWTUVGRE.mjs → config-Da9bxnkT.mjs} +2 -2
  60. package/dist/{config-DWTUVGRE.mjs.map → config-Da9bxnkT.mjs.map} +1 -1
  61. package/dist/config.cjs +2 -2
  62. package/dist/config.d.cts +3 -3
  63. package/dist/config.d.mts +3 -3
  64. package/dist/config.mjs +2 -2
  65. package/dist/{credentials-DwIRfeBL.cjs → credentials-BR3dNNtO.cjs} +12 -8
  66. package/dist/credentials-BR3dNNtO.cjs.map +1 -0
  67. package/dist/{credentials-CjFtNBVH.mjs → credentials-DhCCRQJp.mjs} +12 -8
  68. package/dist/credentials-DhCCRQJp.mjs.map +1 -0
  69. package/dist/deploy/public.cjs +13 -13
  70. package/dist/deploy/public.d.cts +4 -4
  71. package/dist/deploy/public.d.cts.map +1 -1
  72. package/dist/deploy/public.d.mts +4 -4
  73. package/dist/deploy/public.d.mts.map +1 -1
  74. package/dist/deploy/public.mjs +13 -13
  75. package/dist/{deploy-BI3fHnyb.mjs → deploy-Bb-o2KYC.mjs} +294 -531
  76. package/dist/deploy-Bb-o2KYC.mjs.map +1 -0
  77. package/dist/{deploy-3bsiWJxj.cjs → deploy-Ck0zXkM7.cjs} +330 -567
  78. package/dist/deploy-Ck0zXkM7.cjs.map +1 -0
  79. package/dist/destroy-DIV6l_94.mjs +788 -0
  80. package/dist/destroy-DIV6l_94.mjs.map +1 -0
  81. package/dist/destroy-JHapr9UF.cjs +789 -0
  82. package/dist/destroy-JHapr9UF.cjs.map +1 -0
  83. package/dist/{docker-CwayjAF2.cjs → docker-CIpOFfOw.cjs} +5 -5
  84. package/dist/{docker-CwayjAF2.cjs.map → docker-CIpOFfOw.cjs.map} +1 -1
  85. package/dist/{docker-DPdn7tYJ.mjs → docker-zaY5JoqN.mjs} +5 -5
  86. package/dist/{docker-DPdn7tYJ.mjs.map → docker-zaY5JoqN.mjs.map} +1 -1
  87. package/dist/{dokploy-tmnH0Du_.mjs → dokploy-BTzdAG5F.mjs} +2 -2
  88. package/dist/{dokploy-tmnH0Du_.mjs.map → dokploy-BTzdAG5F.mjs.map} +1 -1
  89. package/dist/{dokploy-BMBL-_Xu.cjs → dokploy-DLVSItVD.cjs} +2 -2
  90. package/dist/{dokploy-BMBL-_Xu.cjs.map → dokploy-DLVSItVD.cjs.map} +1 -1
  91. package/dist/{eas-meN1xady.cjs → eas-B6VYsGLs.cjs} +3 -3
  92. package/dist/{eas-meN1xady.cjs.map → eas-B6VYsGLs.cjs.map} +1 -1
  93. package/dist/{eas-BVGQAUDc.mjs → eas-C1WvLOi1.mjs} +3 -3
  94. package/dist/{eas-BVGQAUDc.mjs.map → eas-C1WvLOi1.mjs.map} +1 -1
  95. package/dist/{encryption-C8AMbomA.mjs → encryption-DdnL7dor.mjs} +4 -4
  96. package/dist/{encryption-C8AMbomA.mjs.map → encryption-DdnL7dor.mjs.map} +1 -1
  97. package/dist/{encryption-DvFVZdGz.cjs → encryption-oVcZSyLK.cjs} +4 -4
  98. package/dist/{encryption-DvFVZdGz.cjs.map → encryption-oVcZSyLK.cjs.map} +1 -1
  99. package/dist/{engine-BbWj0w3F.mjs → engine-Viv9p-yK.mjs} +11 -11
  100. package/dist/{engine-BbWj0w3F.mjs.map → engine-Viv9p-yK.mjs.map} +1 -1
  101. package/dist/{engine-BmiIUVWa.cjs → engine-_zA1Selg.cjs} +11 -11
  102. package/dist/{engine-BmiIUVWa.cjs.map → engine-_zA1Selg.cjs.map} +1 -1
  103. package/dist/{github-Dc1daUbH.mjs → github-BOXn5NEP.mjs} +42 -10
  104. package/dist/github-BOXn5NEP.mjs.map +1 -0
  105. package/dist/{github-BWqQr8q6.cjs → github-CRvdaD2Y.cjs} +46 -14
  106. package/dist/github-CRvdaD2Y.cjs.map +1 -0
  107. package/dist/{googlePlay-ByaFUly7.mjs → googlePlay-C4UsG1Vd.mjs} +5 -5
  108. package/dist/{googlePlay-ByaFUly7.mjs.map → googlePlay-C4UsG1Vd.mjs.map} +1 -1
  109. package/dist/{googlePlay-CdVCdfU8.cjs → googlePlay-C5T1SOGW.cjs} +5 -5
  110. package/dist/{googlePlay-CdVCdfU8.cjs.map → googlePlay-C5T1SOGW.cjs.map} +1 -1
  111. package/dist/iam-BVPpX76R.cjs +521 -0
  112. package/dist/iam-BVPpX76R.cjs.map +1 -0
  113. package/dist/iam-q9ALh-Y5.mjs +442 -0
  114. package/dist/iam-q9ALh-Y5.mjs.map +1 -0
  115. package/dist/{index-Dv1Zj86i.d.mts → index-BC1BLv9Q.d.mts} +2 -2
  116. package/dist/{index-B35vTdAW.d.cts.map → index-BC1BLv9Q.d.mts.map} +1 -1
  117. package/dist/{index-B35vTdAW.d.cts → index-Dy4ojz5P.d.cts} +2 -2
  118. package/dist/{index-Dv1Zj86i.d.mts.map → index-Dy4ojz5P.d.cts.map} +1 -1
  119. package/dist/index.cjs +101 -80
  120. package/dist/index.cjs.map +1 -1
  121. package/dist/index.mjs +101 -80
  122. package/dist/index.mjs.map +1 -1
  123. package/dist/{local-CnVFHJjS.mjs → local-Bqx5Xj3z.mjs} +2 -2
  124. package/dist/{local-CnVFHJjS.mjs.map → local-Bqx5Xj3z.mjs.map} +1 -1
  125. package/dist/{local-qevrV6dZ.cjs → local-vSeEreyp.cjs} +2 -2
  126. package/dist/{local-qevrV6dZ.cjs.map → local-vSeEreyp.cjs.map} +1 -1
  127. package/dist/{migrate-BEuCcCwN.mjs → migrate-CEhUGDFy.mjs} +6 -6
  128. package/dist/{migrate-BEuCcCwN.mjs.map → migrate-CEhUGDFy.mjs.map} +1 -1
  129. package/dist/{migrate-CU8_ZWP1.cjs → migrate-CLSY8gSY.cjs} +6 -6
  130. package/dist/{migrate-CU8_ZWP1.cjs.map → migrate-CLSY8gSY.cjs.map} +1 -1
  131. package/dist/{migrate-DgfKZB41.mjs → migrate-D8PSR_08.mjs} +6 -6
  132. package/dist/{migrate-DgfKZB41.mjs.map → migrate-D8PSR_08.mjs.map} +1 -1
  133. package/dist/{migrate-CRRps1i6.cjs → migrate-DvdpT5Y4.cjs} +6 -6
  134. package/dist/{migrate-CRRps1i6.cjs.map → migrate-DvdpT5Y4.cjs.map} +1 -1
  135. package/dist/{notes-BrBnyZz5.cjs → notes-B9ro_R3x.cjs} +24 -15
  136. package/dist/notes-B9ro_R3x.cjs.map +1 -0
  137. package/dist/{notes-CIzrdBKE.mjs → notes-CdbUjLBC.mjs} +24 -15
  138. package/dist/notes-CdbUjLBC.mjs.map +1 -0
  139. package/dist/openapi.cjs +2 -2
  140. package/dist/openapi.d.cts +1 -1
  141. package/dist/openapi.d.mts +1 -1
  142. package/dist/openapi.mjs +2 -2
  143. package/dist/{projectBucket-CDJd3prK.mjs → projectBucket-DPaUiLyY.mjs} +2 -2
  144. package/dist/{projectBucket-CDJd3prK.mjs.map → projectBucket-DPaUiLyY.mjs.map} +1 -1
  145. package/dist/{projectBucket-CKr_zObJ.cjs → projectBucket-DUtWAxWn.cjs} +2 -2
  146. package/dist/{projectBucket-CKr_zObJ.cjs.map → projectBucket-DUtWAxWn.cjs.map} +1 -1
  147. package/dist/{publish-Bq96_QnK.mjs → publish-CoCRpbPl.mjs} +2 -2
  148. package/dist/{publish-Bq96_QnK.mjs.map → publish-CoCRpbPl.mjs.map} +1 -1
  149. package/dist/{publish-DMKXh1Tb.cjs → publish-DbR3j4TS.cjs} +2 -2
  150. package/dist/{publish-DMKXh1Tb.cjs.map → publish-DbR3j4TS.cjs.map} +1 -1
  151. package/dist/reconcile/public.d.cts +1 -1
  152. package/dist/reconcile/public.d.mts +1 -1
  153. package/dist/{resolve-CSsE7frp.mjs → resolve-BjRvKEpw.mjs} +4 -4
  154. package/dist/{resolve-CSsE7frp.mjs.map → resolve-BjRvKEpw.mjs.map} +1 -1
  155. package/dist/{resolve-DF9GrosZ.cjs → resolve-DDcPuS_G.cjs} +4 -4
  156. package/dist/{resolve-DF9GrosZ.cjs.map → resolve-DDcPuS_G.cjs.map} +1 -1
  157. package/dist/{rollback-BBFGGmMa.cjs → rollback-CvlebzBY.cjs} +8 -8
  158. package/dist/{rollback-BBFGGmMa.cjs.map → rollback-CvlebzBY.cjs.map} +1 -1
  159. package/dist/{rollback-CZthwqus.mjs → rollback-xLGFZaHy.mjs} +8 -8
  160. package/dist/{rollback-CZthwqus.mjs.map → rollback-xLGFZaHy.mjs.map} +1 -1
  161. package/dist/{runtime-CFvcLEJW.d.cts → runtime-BySbkdBz.d.cts} +2 -2
  162. package/dist/{runtime-CFvcLEJW.d.cts.map → runtime-BySbkdBz.d.cts.map} +1 -1
  163. package/dist/{runtime-dwsH6ddo.d.mts → runtime-MZ5Pqgan.d.mts} +2 -2
  164. package/dist/{runtime-dwsH6ddo.d.mts.map → runtime-MZ5Pqgan.d.mts.map} +1 -1
  165. package/dist/{s3-BBRkezf7.mjs → s3-CXA6Lleo.mjs} +29 -4
  166. package/dist/s3-CXA6Lleo.mjs.map +1 -0
  167. package/dist/{s3-CI2QYgXH.cjs → s3-D9pFisyo.cjs} +28 -3
  168. package/dist/s3-D9pFisyo.cjs.map +1 -0
  169. package/dist/{secretsManager-CQORubp9.mjs → secretsManager-CJyxFcBH.mjs} +18 -2
  170. package/dist/secretsManager-CJyxFcBH.mjs.map +1 -0
  171. package/dist/{secretsManager-RAGcEDX1.cjs → secretsManager-D8on44WI.cjs} +17 -1
  172. package/dist/secretsManager-D8on44WI.cjs.map +1 -0
  173. package/dist/{seeds-B3xvUAQf.cjs → seeds-D7q1zKCJ.cjs} +7 -1
  174. package/dist/{seeds-B3xvUAQf.cjs.map → seeds-D7q1zKCJ.cjs.map} +1 -1
  175. package/dist/{seeds-BCC8vAXR.mjs → seeds-y1rzXlAc.mjs} +2 -2
  176. package/dist/{seeds-BCC8vAXR.mjs.map → seeds-y1rzXlAc.mjs.map} +1 -1
  177. package/dist/{serverSetup-Dt2DTlwa.cjs → serverSetup-BoxtHWkI.cjs} +8 -8
  178. package/dist/{serverSetup-Dt2DTlwa.cjs.map → serverSetup-BoxtHWkI.cjs.map} +1 -1
  179. package/dist/{serverSetup-C4iAABtI.mjs → serverSetup-DxcbUlwE.mjs} +8 -8
  180. package/dist/{serverSetup-C4iAABtI.mjs.map → serverSetup-DxcbUlwE.mjs.map} +1 -1
  181. package/dist/{sniffer-bTrGuu9z.cjs → sniffer-B2jgjk-F.cjs} +8 -8
  182. package/dist/{sniffer-bTrGuu9z.cjs.map → sniffer-B2jgjk-F.cjs.map} +1 -1
  183. package/dist/{sniffer-C2Ot1IbK.mjs → sniffer-Csft3UaJ.mjs} +8 -8
  184. package/dist/{sniffer-C2Ot1IbK.mjs.map → sniffer-Csft3UaJ.mjs.map} +1 -1
  185. package/dist/{snsSubscriptions-CFKb7fv0.cjs → snsSubscriptions-CSyPnoEQ.cjs} +9 -3
  186. package/dist/{snsSubscriptions-CFKb7fv0.cjs.map → snsSubscriptions-CSyPnoEQ.cjs.map} +1 -1
  187. package/dist/{snsSubscriptions-QDDDn9Qi.mjs → snsSubscriptions-DgbFGyac.mjs} +4 -4
  188. package/dist/{snsSubscriptions-QDDDn9Qi.mjs.map → snsSubscriptions-DgbFGyac.mjs.map} +1 -1
  189. package/dist/{sst-iRdMlGKd.cjs → sst-BtrgnhHy.cjs} +5 -5
  190. package/dist/{sst-iRdMlGKd.cjs.map → sst-BtrgnhHy.cjs.map} +1 -1
  191. package/dist/{sst-DDRWlXdv.mjs → sst-CmNUadAV.mjs} +5 -5
  192. package/dist/{sst-DDRWlXdv.mjs.map → sst-CmNUadAV.mjs.map} +1 -1
  193. package/dist/{stack-B9iDYMrq.cjs → stack-9qBhn2pd.cjs} +8 -8
  194. package/dist/{stack-B9iDYMrq.cjs.map → stack-9qBhn2pd.cjs.map} +1 -1
  195. package/dist/{stack-CIOY44aC.mjs → stack-dVgzDUiH.mjs} +8 -8
  196. package/dist/{stack-CIOY44aC.mjs.map → stack-dVgzDUiH.mjs.map} +1 -1
  197. package/dist/{stage-DA74aD_V.mjs → stage-CwXpkN-y.mjs} +7 -7
  198. package/dist/{stage-DA74aD_V.mjs.map → stage-CwXpkN-y.mjs.map} +1 -1
  199. package/dist/{stage-ycFS9mVn.cjs → stage-HEZZZJKr.cjs} +7 -7
  200. package/dist/{stage-ycFS9mVn.cjs.map → stage-HEZZZJKr.cjs.map} +1 -1
  201. package/dist/{stages-yA9bhStl.mjs → stages-gG-DGHLb.mjs} +3 -3
  202. package/dist/{stages-yA9bhStl.mjs.map → stages-gG-DGHLb.mjs.map} +1 -1
  203. package/dist/{stages-B0yOikgt.cjs → stages-rzyes8Ew.cjs} +3 -3
  204. package/dist/{stages-B0yOikgt.cjs.map → stages-rzyes8Ew.cjs.map} +1 -1
  205. package/dist/target/public.cjs +1 -1
  206. package/dist/target/public.d.cts +2 -2
  207. package/dist/target/public.d.mts +2 -2
  208. package/dist/target/public.mjs +1 -1
  209. package/dist/{terminal-RxfbNUwl.cjs → terminal-8AA2uK0U.cjs} +2 -2
  210. package/dist/{terminal-RxfbNUwl.cjs.map → terminal-8AA2uK0U.cjs.map} +1 -1
  211. package/dist/{terminal-DX22WLvT.mjs → terminal-BqqGsi0O.mjs} +2 -2
  212. package/dist/{terminal-DX22WLvT.mjs.map → terminal-BqqGsi0O.mjs.map} +1 -1
  213. package/dist/{types-Dk--xVOT.d.cts → types-BXboFkn9.d.mts} +56 -3
  214. package/dist/types-BXboFkn9.d.mts.map +1 -0
  215. package/dist/{types-DwQYpd_0.d.mts → types-BsfPHUFZ.d.cts} +57 -2
  216. package/dist/types-BsfPHUFZ.d.cts.map +1 -0
  217. package/dist/workspace/index.cjs +1 -1
  218. package/dist/workspace/index.d.cts +2 -2
  219. package/dist/workspace/index.d.mts +2 -2
  220. package/dist/workspace/index.mjs +1 -1
  221. package/dist/{workspace-DFGsrjGD.mjs → workspace-D5Vm2qcy.mjs} +165 -9
  222. package/dist/workspace-D5Vm2qcy.mjs.map +1 -0
  223. package/dist/{workspace-1szcahj9.cjs → workspace-VhzmoxOv.cjs} +224 -8
  224. package/dist/workspace-VhzmoxOv.cjs.map +1 -0
  225. package/package.json +15 -15
  226. package/dist/aws-8QQ8n-t6.mjs.map +0 -1
  227. package/dist/aws-DY9NqQIT.cjs.map +0 -1
  228. package/dist/compose-CnXZAYNM.mjs.map +0 -1
  229. package/dist/compose-D7gOSspy.cjs.map +0 -1
  230. package/dist/credentials-CjFtNBVH.mjs.map +0 -1
  231. package/dist/credentials-DwIRfeBL.cjs.map +0 -1
  232. package/dist/deploy-3bsiWJxj.cjs.map +0 -1
  233. package/dist/deploy-BI3fHnyb.mjs.map +0 -1
  234. package/dist/github-BWqQr8q6.cjs.map +0 -1
  235. package/dist/github-Dc1daUbH.mjs.map +0 -1
  236. package/dist/notes-BrBnyZz5.cjs.map +0 -1
  237. package/dist/notes-CIzrdBKE.mjs.map +0 -1
  238. package/dist/s3-BBRkezf7.mjs.map +0 -1
  239. package/dist/s3-CI2QYgXH.cjs.map +0 -1
  240. package/dist/secretsManager-CQORubp9.mjs.map +0 -1
  241. package/dist/secretsManager-RAGcEDX1.cjs.map +0 -1
  242. package/dist/types-Dk--xVOT.d.cts.map +0 -1
  243. package/dist/types-DwQYpd_0.d.mts.map +0 -1
  244. package/dist/workspace-1szcahj9.cjs.map +0 -1
  245. package/dist/workspace-DFGsrjGD.mjs.map +0 -1
@@ -1,24 +1,25 @@
1
1
  import { t as GkmError } from "./errors-D8Gwp5kU.mjs";
2
- import { M as initStageSecrets, X as deployIdentity, Y as applicationName, a as findRootDomain, bt as gkmHome, d as mxValue, h as createEmptyState, i as extractSubdomain, k as secretsStoreFor, m as createComposeState, o as normalizeDnsConfig, r as storedCredentials } from "./credentials-CjFtNBVH.mjs";
3
- import { $ as BucketOwnedByAnotherProject, G as checkSesConfig, J as S3_PROVISIONING, K as InboxNotProvisioned, L as resolveStageTelemetry, N as assertDeployedStage, Q as BucketNameUnavailable, U as stageProvider, W as SES_PROVISIONING, X as AccessKeyLimit, Y as checkS3Config, Z as BucketKeySetElsewhere, at as RecordedBucketUnreachable, et as BucketProbeFailed, it as ProvisionedBucketUnreachable, nt as BucketRegionUnknown, ot as RotationInProgress, q as SesReceivingUnsupported, rt as IamUserNotOwned, st as S3RegionRequired, tt as BucketRegionMismatch, u as getAppBuildOrder, yt as isReservedStageKey } from "./workspace-DFGsrjGD.mjs";
4
- import { A as originSecretKey, D as ORIGIN_VERIFY_HEADER, Et as mergeLifecycle, Gt as backupExpiries, Xt as deploysWithCompose, Yt as stageBackups, dt as BACKUPS_URL_KEY, f as constructGlobs, j as processorOriginHost, k as newOriginSecret, qt as backupsPrefix, t as appEnvKeys, ut as BACKUPS_SERVICE, zt as usesTelemetry } from "./apps-FRNlECwi.mjs";
2
+ import { M as initStageSecrets, X as deployIdentity, Y as applicationName, a as findRootDomain, bt as gkmHome, d as mxValue, h as createEmptyState, i as extractSubdomain, k as secretsStoreFor, m as createComposeState, o as normalizeDnsConfig, r as storedCredentials } from "./credentials-DhCCRQJp.mjs";
3
+ import { G as checkSesConfig, J as EmailNotProvisioned, K as checkSesEmailConfig, L as resolveStageTelemetry, N as assertDeployedStage, Q as IAM_POLICY_NAME, U as stageProvider, W as SES_PROVISIONING, X as InboxNotProvisioned, Y as EmailSenderUnknown, Z as SesReceivingUnsupported, _t as S3RegionRequired, at as checkS3Config, ct as BucketNameUnavailable, dt as BucketRegionMismatch, et as bucketName, ft as BucketRegionUnknown, ht as RecordedBucketUnreachable, it as S3_PROVISIONING, kt as isReservedStageKey, lt as BucketOwnedByAnotherProject, mt as ProvisionedBucketUnreachable, nt as randomSuffix, q as emailUserName, rt as suffixedBucketName, tt as iamUserName, u as getAppBuildOrder, ut as BucketProbeFailed } from "./workspace-D5Vm2qcy.mjs";
4
+ import { A as originSecretKey, D as ORIGIN_VERIFY_HEADER, Et as mergeLifecycle, Gt as backupExpiries, Xt as deploysWithCompose, Yt as stageBackups, dt as BACKUPS_URL_KEY, f as constructGlobs, j as processorOriginHost, k as newOriginSecret, qt as backupsPrefix, t as appEnvKeys, ut as BACKUPS_SERVICE, zt as usesTelemetry } from "./apps-BE97n0jO.mjs";
5
5
  import { o as builtinTarget } from "./define-6poNqm5O.mjs";
6
- import { at as resolveHost, it as isMainFrontendApp, nt as NoDomainForStage } from "./compose-3AtZF7ul.mjs";
6
+ import { at as resolveHost, it as isMainFrontendApp, nt as NoDomainForStage } from "./compose-CuoV9T9U.mjs";
7
7
  import { s as subscriberRoute } from "./SubscriberGenerator-BybB6uez.mjs";
8
- import { _ as withLoadedConfig, l as findWorkspaceRoot, m as loadWorkspaceConfig, v as appKey, y as derivedApps } from "./config-DWTUVGRE.mjs";
8
+ import { _ as withLoadedConfig, l as findWorkspaceRoot, m as loadWorkspaceConfig, v as appKey, y as derivedApps } from "./config-Da9bxnkT.mjs";
9
9
  import { _ as withSandbox, b as withOutput, i as discover } from "./discover-DbDrCQ8h.mjs";
10
- import { a as parseTargetOptions, o as resolveTarget } from "./resolve-CSsE7frp.mjs";
11
- import { a as PROVIDER_KINDS, c as DevServicesNeedServerTarget, f as devServicesUsed, g as stageServiceDeclarations, i as stageProviderNotes, l as ExternalServicesNotConfigured, m as reportDevServices, n as assertStageProvidersEnabled, p as externalServices } from "./notes-CIzrdBKE.mjs";
12
- import { w as assertSitePasswords } from "./stack-CIOY44aC.mjs";
13
- import { _ as stageDnsDomains, a as subscriptionKey, b as awsEndpoint, d as recordTtl, l as dnsCredentials, m as settleStackDns, o as subscriptionResource, x as awsProvisioningCredentials, y as awsClientConfig } from "./snsSubscriptions-QDDDn9Qi.mjs";
14
- import { t as LocalSandbox } from "./local-CnVFHJjS.mjs";
15
- import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-C2Ot1IbK.mjs";
16
- import { a as findProjectBucket, i as ensureProjectBucket, o as projectBucketName, r as callerAccountId, s as reconcileProjectBucketLifecycle } from "./projectBucket-CDJd3prK.mjs";
17
- import { d as DeployJournal } from "./seeds-BCC8vAXR.mjs";
10
+ import { a as parseTargetOptions, o as resolveTarget } from "./resolve-BjRvKEpw.mjs";
11
+ import { a as PROVIDER_KINDS, c as DevServicesNeedServerTarget, f as devServicesUsed, g as stageServiceDeclarations, i as stageProviderNotes, l as ExternalServicesNotConfigured, m as reportDevServices, n as assertStageProvidersEnabled, p as externalServices } from "./notes-CdbUjLBC.mjs";
12
+ import { w as assertSitePasswords } from "./stack-dVgzDUiH.mjs";
13
+ import { S as awsProvisioningCredentials, a as subscriptionKey, b as awsClientConfig, f as recordTtl, h as settleStackDns, l as dnsCredentials, o as subscriptionResource, v as stageDnsDomains, x as awsEndpoint } from "./snsSubscriptions-DgbFGyac.mjs";
14
+ import { t as LocalSandbox } from "./local-Bqx5Xj3z.mjs";
15
+ import { E as eventError, S as createStateStore, v as assertStateOutlivesRun, y as assertStateRoom } from "./sniffer-Csft3UaJ.mjs";
16
+ import { a as identityTags, c as whileKeyIsNew, d as corsRule, f as publicAccessBlock, i as ensureIamUser, l as bucketPolicy, o as issuedJustNow, p as userPolicy, r as ensureAccessKey, s as s3KeySecret, t as TAG_PROJECT, u as canonicalPolicy } from "./iam-q9ALh-Y5.mjs";
17
+ import { a as findProjectBucket, i as ensureProjectBucket, o as projectBucketName, r as callerAccountId, s as reconcileProjectBucketLifecycle } from "./projectBucket-DPaUiLyY.mjs";
18
+ import { f as DeployJournal } from "./seeds-y1rzXlAc.mjs";
18
19
  import { n as assertStageCredentials } from "./credentialSchemas-mz9QZTYh.mjs";
19
20
  import { resolve } from "node:path";
20
- import { randomInt } from "node:crypto";
21
- import { INBOX_MESSAGES_PREFIX, bucketExpiry, dependentsOf, kebabCase, provideKey, providedKeyFor, receiptRecipients } from "@geekmidas/manifest";
21
+ import { createHmac } from "node:crypto";
22
+ import { INBOX_MESSAGES_PREFIX, bucketExpiry, dependentsOf, provideKey, providedKeyFor, receiptRecipients } from "@geekmidas/manifest";
22
23
  import * as s3Url from "@geekmidas/storage/s3-url";
23
24
  //#region src/target/secrets.ts
24
25
  /**
@@ -79,506 +80,6 @@ async function deploySecrets(workspace, stage, redactor, options = {}) {
79
80
  mask: (value) => redactor.add(value)
80
81
  };
81
82
  }
82
- const SUFFIX_ALPHABET = "abcdefghijklmnopqrstuvwxyz0123456789";
83
- /** A name that S3 would refuse — what the name builder never returns. */
84
- var InvalidBucketName = class extends GkmError {
85
- bucket;
86
- reason;
87
- constructor(bucket, reason) {
88
- super(`'${bucket}' is not a valid S3 bucket name: ${reason}. Rename the construct or set deploy.namespace in gkm.config.ts to something that leaves room for it.`);
89
- this.bucket = bucket;
90
- this.reason = reason;
91
- this.name = "InvalidBucketName";
92
- }
93
- };
94
- /** Lowercase `[a-z0-9-]`, runs of anything else one `-`, no edge dashes. */
95
- function part(value) {
96
- return kebabCase(value).toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
97
- }
98
- /**
99
- * `parts` joined by `-`, shortened to `max` characters by trimming the longest
100
- * part one character at a time — so a long construct id gives way before a
101
- * short stage name does, and every part keeps its start.
102
- */
103
- function fitParts(parts, max) {
104
- const kept = parts.map(part).filter(Boolean);
105
- const length = () => kept.reduce((sum, p) => sum + p.length, 0) + kept.length - 1;
106
- while (length() > max) {
107
- let longest = 0;
108
- for (let i = 1; i < kept.length; i++) if (kept[i].length > kept[longest].length) longest = i;
109
- if (kept[longest].length <= 1) break;
110
- kept[longest] = kept[longest].slice(0, -1).replace(/-+$/, "");
111
- }
112
- return kept.join("-");
113
- }
114
- /** Why `name` is not a valid bucket name, or undefined when it is. */
115
- function bucketNameProblem(name) {
116
- if (name.length < 3 || name.length > 63) return `it is ${name.length} characters, and S3 takes 3 to 63`;
117
- if (!/^[a-z0-9-]+$/.test(name)) return "it may hold only lowercase letters, digits and -";
118
- if (!/^[a-z0-9].*[a-z0-9]$/.test(name)) return "it must start and end with a letter or a digit";
119
- if (name.startsWith("xn--") || name.startsWith("sthree-")) return "it starts with a prefix S3 reserves ('xn--', 'sthree-')";
120
- if (name.endsWith("-s3alias") || name.endsWith("--ol-s3")) return "it ends with a suffix S3 reserves ('-s3alias', '--ol-s3')";
121
- }
122
- /**
123
- * The good name: `<namespace>-<project>-<stage>-<bucket id>`, lowercased, no
124
- * dots, shortened to leave room for a clash's suffix.
125
- *
126
- * @throws {InvalidBucketName} when nothing usable is left
127
- */
128
- function bucketName(input) {
129
- const name = fitParts([
130
- input.scope,
131
- input.stage,
132
- input.id
133
- ], 56);
134
- const problem = bucketNameProblem(name);
135
- if (problem) throw new InvalidBucketName(name, problem);
136
- return name;
137
- }
138
- /** Six random `[a-z0-9]` characters. */
139
- function randomSuffix(random = randomInt) {
140
- let suffix = "";
141
- for (let i = 0; i < 6; i++) suffix += SUFFIX_ALPHABET[random(36)];
142
- return suffix;
143
- }
144
- /** The good name with a clash's suffix. */
145
- function suffixedBucketName(good, suffix) {
146
- return `${good}-${suffix}`;
147
- }
148
- /**
149
- * The IAM user a bucket is reached with on a stage:
150
- * `gkm-<project>-<stage>-<bucket id>`, at most 64 characters.
151
- */
152
- function iamUserName(input) {
153
- return fitParts([
154
- "gkm",
155
- input.scope,
156
- input.stage,
157
- input.id
158
- ], 64);
159
- }
160
- /** The path every user gkm creates is under, so it finds its own. */
161
- const IAM_USER_PATH = "/gkm/";
162
- /** The inline policy each user is given. */
163
- const IAM_POLICY_NAME = "gkm-bucket";
164
- //#endregion
165
- //#region src/providers/s3/policy.ts
166
- const bucketArn = (bucket) => `arn:aws:s3:::${bucket}`;
167
- /**
168
- * What the app's key may do: objects in this bucket, and listing it — and
169
- * nothing else in the account.
170
- *
171
- * Multipart uploads are in it because a presigned upload of a large file is
172
- * one, and an abandoned one is cleaned up by the app. Reading old versions is
173
- * added only when the bucket keeps them.
174
- */
175
- function userPolicy(bucket, options = {}) {
176
- return {
177
- Version: "2012-10-17",
178
- Statement: [
179
- {
180
- Sid: "GkmObjects",
181
- Effect: "Allow",
182
- Action: [
183
- "s3:GetObject",
184
- "s3:PutObject",
185
- "s3:DeleteObject",
186
- "s3:AbortMultipartUpload",
187
- "s3:ListMultipartUploadParts",
188
- ...options.versioning ? ["s3:GetObjectVersion"] : []
189
- ],
190
- Resource: `${bucketArn(bucket)}/*`
191
- },
192
- {
193
- Sid: "GkmBucket",
194
- Effect: "Allow",
195
- Action: [
196
- "s3:ListBucket",
197
- "s3:GetBucketLocation",
198
- "s3:ListBucketMultipartUploads"
199
- ],
200
- Resource: bucketArn(bucket)
201
- },
202
- ...options.eventsTopicArn ? [{
203
- Sid: "GkmEvents",
204
- Effect: "Allow",
205
- Action: "sns:ConfirmSubscription",
206
- Resource: options.eventsTopicArn
207
- }] : []
208
- ]
209
- };
210
- }
211
- /**
212
- * One open pattern as the resource it is public on. A `**` is S3's `*`; a
213
- * single `*` is too, which crosses `/` where the construct's own check does
214
- * not — the construct is the stricter of the two (see `bucketPolicy` in
215
- * reconcile, which the local MinIO is given the same way).
216
- */
217
- function openResource(bucket, pattern) {
218
- const path = pattern.replace(/^\/+/, "").replace(/\*\*/g, "*");
219
- return `${bucketArn(bucket)}/${path}`;
220
- }
221
- /**
222
- * The bucket's own policy: every request refused unless it came over TLS,
223
- * and — only when a file server opens paths on it — `s3:GetObject` on
224
- * exactly those prefixes: to anyone, or, when a CDN serves them, to
225
- * CloudFront alone, for exactly the stage's distributions. Behind a CDN the
226
- * bucket is never public: a key outside the open prefixes is refused to
227
- * CloudFront too, so the edge answers it 403.
228
- */
229
- function bucketPolicy(bucket, open = [], options = {}) {
230
- const statements = [{
231
- Sid: "GkmDenyInsecureTransport",
232
- Effect: "Deny",
233
- Principal: "*",
234
- Action: "s3:*",
235
- Resource: [bucketArn(bucket), `${bucketArn(bucket)}/*`],
236
- Condition: { Bool: { "aws:SecureTransport": "false" } }
237
- }];
238
- const resources = [...new Set(open.map((p) => openResource(bucket, p)))].sort();
239
- if (open.length > 0 && options.cdn) statements.push({
240
- Sid: "GkmCdnRead",
241
- Effect: "Allow",
242
- Principal: { Service: "cloudfront.amazonaws.com" },
243
- Action: "s3:GetObject",
244
- Resource: resources,
245
- Condition: { StringEquals: { "AWS:SourceArn": [...new Set(options.cdn.distributionArns)].sort() } }
246
- });
247
- else if (open.length > 0) statements.push({
248
- Sid: "GkmOpenPaths",
249
- Effect: "Allow",
250
- Principal: "*",
251
- Action: "s3:GetObject",
252
- Resource: resources
253
- });
254
- if (options.sesWrite) statements.push({
255
- Sid: "GkmSesWritesMail",
256
- Effect: "Allow",
257
- Principal: { Service: "ses.amazonaws.com" },
258
- Action: "s3:PutObject",
259
- Resource: `${bucketArn(bucket)}/${options.sesWrite.prefix}*`,
260
- Condition: { StringEquals: { "aws:SourceAccount": options.sesWrite.account } }
261
- });
262
- return {
263
- Version: "2012-10-17",
264
- Statement: statements
265
- };
266
- }
267
- /**
268
- * Block Public Access. All four flags on, unless the bucket has open paths:
269
- * then a *policy* may make it public (`BlockPublicPolicy`,
270
- * `RestrictPublicBuckets` off), and ACLs still may not.
271
- */
272
- function publicAccessBlock(open) {
273
- return {
274
- BlockPublicAcls: true,
275
- IgnorePublicAcls: true,
276
- BlockPublicPolicy: !open,
277
- RestrictPublicBuckets: !open
278
- };
279
- }
280
- function corsRule(origins) {
281
- return {
282
- AllowedMethods: [
283
- "GET",
284
- "HEAD",
285
- "POST",
286
- "PUT"
287
- ],
288
- AllowedOrigins: [...new Set(origins)].sort(),
289
- AllowedHeaders: ["*"],
290
- ExposeHeaders: ["ETag"],
291
- MaxAgeSeconds: 3e3
292
- };
293
- }
294
- /**
295
- * A policy document in one canonical form — keys sorted, a lone string a
296
- * one-element list, lists sorted — so one AWS reformatted reads as the same
297
- * document rather than as drift.
298
- */
299
- function canonicalPolicy(value) {
300
- return JSON.stringify(canonical(value));
301
- }
302
- function canonical(value, key) {
303
- if (Array.isArray(value)) {
304
- const items = value.map((v) => canonical(v));
305
- return key === "Statement" ? items : items.map((v) => JSON.stringify(v)).sort();
306
- }
307
- if (value && typeof value === "object") return Object.fromEntries(Object.keys(value).sort().map((k) => {
308
- const v = value[k];
309
- return [k, canonical(k === "Action" || k === "Resource" || k === "AWS" || k === "AWS:SourceArn" ? Array.isArray(v) ? v : [v] : v, k)];
310
- }));
311
- return value;
312
- }
313
- //#endregion
314
- //#region src/providers/iam.ts
315
- /**
316
- * An IAM user gkm creates for one thing on a stage, its inline policy, and
317
- * the access key written into the stage's secrets as an `s3://` URL — what
318
- * the `s3` provider gives each bucket, and the deploy gives a stage's
319
- * backups.
320
- *
321
- * - **The user** is under `/gkm/`, tagged with the deploy identity, the stage
322
- * and what it is for. One that exists without those tags is someone
323
- * else's, and is refused rather than taken over.
324
- * - **Its policy** is read on every run and put back when it drifted.
325
- * - **Its key**: one, written into the stage's secrets the moment IAM shows
326
- * its secret. `--rotate-keys` issues a successor and keeps the old one
327
- * active until the stage has deployed with the new one; the next run after
328
- * that — or `--retire-old-keys` — deletes it.
329
- * - **A new key** takes IAM seconds to become usable: the state records when
330
- * it was issued, and a check made with it waits that out
331
- * ({@link whileKeyIsNew}).
332
- */
333
- /** The tags gkm finds its own buckets and users by. */
334
- const TAG_PROJECT = "gkm:project";
335
- const TAG_STAGE = "gkm:stage";
336
- const TAG_CONSTRUCT = "gkm:construct";
337
- /** The keys gkm tags a bucket and a user with. */
338
- function identityTags(ctx, id) {
339
- return [
340
- {
341
- Key: TAG_PROJECT,
342
- Value: ctx.identity.key
343
- },
344
- {
345
- Key: TAG_STAGE,
346
- Value: ctx.stage
347
- },
348
- {
349
- Key: TAG_CONSTRUCT,
350
- Value: id
351
- }
352
- ];
353
- }
354
- /** A read whose "there is none" answer is one of `missing`. */
355
- async function readOr$3(read, missing) {
356
- try {
357
- return await read();
358
- } catch (error) {
359
- const e = error;
360
- if (missing.includes(e?.Code ?? e?.name ?? "")) return void 0;
361
- throw error;
362
- }
363
- }
364
- /** IAM returns a policy document URL-encoded; an emulator may not. */
365
- function decodePolicy(document) {
366
- try {
367
- return decodeURIComponent(document);
368
- } catch {
369
- return document;
370
- }
371
- }
372
- /**
373
- * The user and its inline policy: found — and refused when it is not this
374
- * stage's — or created, and the policy put back when it drifted.
375
- *
376
- * @throws {IamUserNotOwned}
377
- */
378
- async function ensureIamUser(ctx, clients, input) {
379
- const { IAM, iam } = clients;
380
- const { id, user, policy } = input;
381
- const entry = {
382
- key: `iam-user:${id}`,
383
- type: "iam-user"
384
- };
385
- const found = await readOr$3(() => iam.send(new IAM.GetUserCommand({ UserName: user })), ["NoSuchEntity", "NoSuchEntityException"]);
386
- if (found?.User) {
387
- const tags = await iam.send(new IAM.ListUserTagsCommand({ UserName: user }));
388
- const tag = (key) => tags.Tags?.find((t) => t.Key === key)?.Value;
389
- if (found.User.Path !== "/gkm/" || tag("gkm:project") !== ctx.identity.key || tag("gkm:stage") !== ctx.stage) throw new IamUserNotOwned(user, ctx.identity.key, ctx.stage);
390
- await ctx.state.ready(entry, user);
391
- } else await ctx.change({
392
- construct: id,
393
- resource: `IAM user ${user}`,
394
- change: `create under ${IAM_USER_PATH}`
395
- }, async () => {
396
- await ctx.state.pending(entry);
397
- await iam.send(new IAM.CreateUserCommand({
398
- UserName: user,
399
- Path: IAM_USER_PATH,
400
- Tags: identityTags(ctx, id)
401
- }));
402
- await ctx.state.ready(entry, user);
403
- });
404
- const exists = Boolean(found?.User) || !ctx.dryRun;
405
- const current = exists ? await readOr$3(() => iam.send(new IAM.GetUserPolicyCommand({
406
- UserName: user,
407
- PolicyName: input.policyName
408
- })), ["NoSuchEntity", "NoSuchEntityException"]) : void 0;
409
- const document = current?.PolicyDocument ? JSON.parse(decodePolicy(current.PolicyDocument)) : void 0;
410
- if (!document || canonicalPolicy(document) !== canonicalPolicy(policy)) await ctx.change({
411
- construct: id,
412
- resource: `IAM user ${user}`,
413
- change: `policy ${input.policyName}: ${input.describe}`
414
- }, async () => {
415
- await iam.send(new IAM.PutUserPolicyCommand({
416
- UserName: user,
417
- PolicyName: input.policyName,
418
- PolicyDocument: JSON.stringify(policy)
419
- }));
420
- });
421
- return {
422
- user,
423
- exists
424
- };
425
- }
426
- /**
427
- * The user's access key, in the stage's secrets as the bucket's URL.
428
- *
429
- * - First run: one key, written into the stage's secrets.
430
- * - `--rotate-keys`: a second key, written in place of the first; the first
431
- * stays active until the stage has deployed with the second, and the next
432
- * run after that deploy — or `--retire-old-keys` — deletes it.
433
- * - A key the secrets no longer hold (a store emptied by hand): replaced the
434
- * same way, since its secret cannot be read back.
435
- *
436
- * @throws {BucketKeySetElsewhere} when the secret names another bucket
437
- * @throws {RotationInProgress} on `--rotate-keys` with the last rotation's old key still active
438
- * @throws {AccessKeyLimit} when the user has two keys gkm did not record
439
- */
440
- async function ensureAccessKey(ctx, clients, input) {
441
- const { IAM, iam } = clients;
442
- const { id, bucket, user, urlKey } = input;
443
- const entryKey = `iam-access-key:${id}`;
444
- const record = ctx.state.record(entryKey);
445
- const given = ctx.secrets[urlKey];
446
- let inUrl;
447
- let parsed;
448
- if (given !== void 0) {
449
- try {
450
- parsed = s3Url.parse(given);
451
- } catch {
452
- parsed = void 0;
453
- }
454
- if (parsed?.bucket !== bucket) throw new BucketKeySetElsewhere(urlKey, bucket, parsed?.bucket ?? given.replace(/\/\/[^@]*@/, "//"), ctx.stage);
455
- inUrl = parsed.accessKeyId;
456
- }
457
- const listed = input.exists ? (await iam.send(new IAM.ListAccessKeysCommand({ UserName: user }))).AccessKeyMetadata?.map((k) => k.AccessKeyId) ?? [] : [];
458
- let current = record?.status === "ready" ? record.id : void 0;
459
- let previous = typeof record?.data?.previous === "string" ? record.data.previous : void 0;
460
- const rotatedAt = typeof record?.data?.rotatedAt === "string" ? record.data.rotatedAt : void 0;
461
- const entry = (data = {}) => ({
462
- key: entryKey,
463
- type: "iam-access-key",
464
- data: {
465
- user,
466
- ...data
467
- }
468
- });
469
- if (previous && current) {
470
- const deployed = rotatedAt !== void 0 && ctx.state.lastDeployedAt !== void 0 && ctx.state.lastDeployedAt > rotatedAt;
471
- if (ctx.retireOldKeys || deployed) {
472
- const old = previous;
473
- const keep = current;
474
- await ctx.change({
475
- construct: id,
476
- resource: `IAM user ${user}`,
477
- change: `delete the rotated-out access key ${old}`
478
- }, async () => {
479
- if (listed.includes(old)) await iam.send(new IAM.DeleteAccessKeyCommand({
480
- UserName: user,
481
- AccessKeyId: old
482
- }));
483
- await ctx.state.ready(entry(), keep);
484
- });
485
- previous = void 0;
486
- } else ctx.log(` ${id}: the old access key ${previous} stays active until '${ctx.stage}' is deployed with the new one; the next deploy after that deletes it (or pass --retire-old-keys)`);
487
- }
488
- if (!current && inUrl && listed.includes(inUrl)) {
489
- await ctx.state.ready(entry(), inUrl);
490
- current = inUrl;
491
- }
492
- if (current !== void 0 && listed.includes(current) && inUrl === current && !ctx.rotateKeys) {
493
- if (parsed && parsed.region !== clients.region) {
494
- const address = parsed;
495
- await ctx.change({
496
- construct: id,
497
- resource: urlKey,
498
- change: `name ${clients.region}, the bucket's region (it said ${address.region ?? "none"})`
499
- }, () => ctx.writeSecrets({ [urlKey]: s3Url.build({
500
- ...address,
501
- region: clients.region
502
- }) }));
503
- }
504
- return;
505
- }
506
- if (ctx.rotateKeys && previous) throw new RotationInProgress(id, previous, ctx.stage);
507
- const outgoing = current && listed.includes(current) ? current : void 0;
508
- if (listed.length >= 2) throw new AccessKeyLimit(user, listed);
509
- const why = !current ? "create an access key" : ctx.rotateKeys ? "rotate: issue a new access key" : "issue a new access key (the secrets no longer hold the recorded one)";
510
- await ctx.change({
511
- construct: id,
512
- resource: `IAM user ${user}`,
513
- change: why
514
- }, async () => {
515
- await ctx.state.pending(entry(outgoing ? { previous: outgoing } : {}));
516
- const key = (await iam.send(new IAM.CreateAccessKeyCommand({ UserName: user }))).AccessKey;
517
- await ctx.writeSecrets({ [urlKey]: s3Url.build({
518
- bucket,
519
- region: clients.region,
520
- ...clients.endpoint ? {
521
- endpoint: clients.endpoint,
522
- forcePathStyle: true
523
- } : {},
524
- accessKeyId: key.AccessKeyId,
525
- secretAccessKey: key.SecretAccessKey
526
- }) });
527
- const issuedAt = (/* @__PURE__ */ new Date()).toISOString();
528
- await ctx.state.ready(entry(outgoing ? {
529
- previous: outgoing,
530
- rotatedAt: issuedAt,
531
- issuedAt
532
- } : { issuedAt }), key.AccessKeyId);
533
- });
534
- if (outgoing) ctx.log(` ${urlKey} holds the new key. This deploy moves '${ctx.stage}' onto it; the next deploy after it deletes the old key ${outgoing}`);
535
- }
536
- /** How long a key issued this recently counts as new to IAM. */
537
- const NEW_KEY_WINDOW_MS = 6e5;
538
- /** The waits between asks while a new key becomes usable: about a minute. */
539
- let newKeyWaits = [
540
- 2e3,
541
- 4e3,
542
- 8e3,
543
- 15e3,
544
- 15e3,
545
- 15e3
546
- ];
547
- /**
548
- * When the key in a URL was issued, if the stage's state says it was just
549
- * now — the record of `id`'s key naming that very key.
550
- */
551
- function issuedJustNow(resources, id, accessKeyId) {
552
- const record = resources?.[`iam-access-key:${id}`];
553
- const issuedAt = record?.data?.issuedAt;
554
- if (record?.id !== accessKeyId || typeof issuedAt !== "string") return;
555
- const age = Date.now() - Date.parse(issuedAt);
556
- return age >= 0 && age < NEW_KEY_WINDOW_MS ? issuedAt : void 0;
557
- }
558
- /**
559
- * `ask` again, for about a minute, while it is `refused` and the key was
560
- * issued just now — IAM refuses a key for seconds after making it. Returns
561
- * the last answer and how long was waited.
562
- */
563
- async function whileKeyIsNew(first, options) {
564
- let answer = first;
565
- let waited = 0;
566
- if (!options.issuedAt || !options.refused(answer)) return {
567
- answer,
568
- waited
569
- };
570
- options.onWait?.();
571
- for (const wait of newKeyWaits) {
572
- await new Promise((resolve) => setTimeout(resolve, wait));
573
- waited += wait;
574
- answer = await options.ask();
575
- if (!options.refused(answer)) break;
576
- }
577
- return {
578
- answer,
579
- waited
580
- };
581
- }
582
83
  //#endregion
583
84
  //#region src/backups/provision.ts
584
85
  /** What the backups user and its key are recorded and tagged as. */
@@ -727,8 +228,10 @@ async function ensureStageBackups(input) {
727
228
  });
728
229
  await ensureAccessKey(ctx, clients, {
729
230
  id: BACKUPS_ID,
730
- bucket,
731
- urlKey: BACKUPS_URL_KEY,
231
+ secret: s3KeySecret(ctx, clients, {
232
+ bucket,
233
+ urlKey: BACKUPS_URL_KEY
234
+ }),
732
235
  ...user
733
236
  });
734
237
  return choice;
@@ -2222,8 +1725,10 @@ async function ensureBucket(ctx, stageClients, construct, watchers) {
2222
1725
  });
2223
1726
  await ensureAccessKey(ctx, clients, {
2224
1727
  id,
2225
- bucket,
2226
- urlKey: provideKey(id, "url"),
1728
+ secret: s3KeySecret(ctx, clients, {
1729
+ bucket,
1730
+ urlKey: provideKey(id, "url")
1731
+ }),
2227
1732
  ...user
2228
1733
  });
2229
1734
  if (events && watchers) {
@@ -2305,8 +1810,10 @@ async function ensureOwnedBucket(ctx, input) {
2305
1810
  });
2306
1811
  await ensureAccessKey(bucketCtx, clients, {
2307
1812
  id: input.id,
2308
- bucket: located.bucket,
2309
- urlKey: input.urlKey,
1813
+ secret: s3KeySecret(bucketCtx, clients, {
1814
+ bucket: located.bucket,
1815
+ urlKey: input.urlKey
1816
+ }),
2310
1817
  ...user
2311
1818
  });
2312
1819
  return {
@@ -2691,6 +2198,10 @@ const defaultSesClients = async (credential, region) => {
2691
2198
  };
2692
2199
  };
2693
2200
  let makeSesClients = defaultSesClients;
2201
+ /** The stage's SES, through the factory a test may replace. */
2202
+ function sesClients(credential, region) {
2203
+ return makeSesClients(credential, region);
2204
+ }
2694
2205
  function errorName(error) {
2695
2206
  const e = error;
2696
2207
  return e?.name ?? e?.Code ?? e?.code ?? "";
@@ -2713,7 +2224,7 @@ async function ensureSes(ctx) {
2713
2224
  }, inboxes.length > 0);
2714
2225
  if (inboxes.length > 0) {
2715
2226
  const domain = stageDomain(ctx);
2716
- await ensureIdentity(ctx, {
2227
+ await ensureIdentity$1(ctx, {
2717
2228
  SES,
2718
2229
  ses
2719
2230
  }, domain);
@@ -2767,7 +2278,7 @@ async function activeRuleSet(ctx, { SES, ses }, needed) {
2767
2278
  * The stage's domain as an SES identity, verified by Easy DKIM: its three
2768
2279
  * CNAMEs, through the stage's DNS. Receiving requires a verified domain.
2769
2280
  */
2770
- async function ensureIdentity(ctx, { SES, ses }, domain) {
2281
+ async function ensureIdentity$1(ctx, { SES, ses }, domain) {
2771
2282
  let tokens = [];
2772
2283
  await ctx.change({
2773
2284
  construct: "inbox",
@@ -2907,6 +2418,257 @@ async function verifySes(ctx) {
2907
2418
  if (missing.length > 0) throw new InboxNotProvisioned(ctx.stage, inbox.id, missing);
2908
2419
  }
2909
2420
  }
2421
+ const sesProvider = {
2422
+ kind: "inbox",
2423
+ name: "ses",
2424
+ check: checkSesConfig,
2425
+ provisioning: SES_PROVISIONING,
2426
+ credentials: awsProvisioningCredentials,
2427
+ runtimeKeys(manifest) {
2428
+ return inboxConstructs(manifest).flatMap((inbox) => [provideKey(inbox.id, "url"), provideKey(inbox.topic, "publisherConnectionString")]);
2429
+ },
2430
+ ensure: ensureSes,
2431
+ verify: verifySes
2432
+ };
2433
+ //#endregion
2434
+ //#region src/providers/ses/smtp.ts
2435
+ /**
2436
+ * SES's SMTP interface: where it is, and the password an IAM access key signs
2437
+ * in with there.
2438
+ *
2439
+ * SES issues IAM credentials, not SMTP ones. The SMTP password is derived
2440
+ * from the key's secret and the region, by SigV4's key derivation over a
2441
+ * fixed date and the message `SendRawEmail` — the algorithm the SES
2442
+ * Developer Guide gives ("Obtaining Amazon SES SMTP credentials"). A
2443
+ * password works in that region only.
2444
+ */
2445
+ /** The SMTP endpoint of `region`. */
2446
+ function smtpHost(region) {
2447
+ return `email-smtp.${region}.amazonaws.com`;
2448
+ }
2449
+ /** The SMTP password for an access key's secret, in `region`. */
2450
+ function smtpPassword(secretAccessKey, region) {
2451
+ const sign = (key, message) => createHmac("sha256", key).update(message, "utf8").digest();
2452
+ let signature = sign(`AWS4${secretAccessKey}`, "11111111");
2453
+ for (const part of [
2454
+ region,
2455
+ "ses",
2456
+ "aws4_request",
2457
+ "SendRawEmail"
2458
+ ]) signature = sign(signature, part);
2459
+ return Buffer.concat([Buffer.from([4]), signature]).toString("base64");
2460
+ }
2461
+ /** `smtp://<key id>:<smtp password>@email-smtp.<region>.amazonaws.com:587`. */
2462
+ function smtpUrl(accessKeyId, secretAccessKey, region) {
2463
+ return `smtp://${encodeURIComponent(accessKeyId)}:${encodeURIComponent(smtpPassword(secretAccessKey, region))}@${smtpHost(region)}:587`;
2464
+ }
2465
+ /** The user an `smtp://` URL signs in as, whatever its host. */
2466
+ function smtpUser(value) {
2467
+ try {
2468
+ const url = new URL(value);
2469
+ return url.username ? decodeURIComponent(url.username) : void 0;
2470
+ } catch {
2471
+ return;
2472
+ }
2473
+ }
2474
+ /**
2475
+ * A mail construct's URL as a key's secret. A URL on another region's
2476
+ * endpoint holds no key this region can use — its password was derived for
2477
+ * that region — so it counts as holding none, and a new key is issued.
2478
+ */
2479
+ function smtpKeySecret(urlKey, region) {
2480
+ return {
2481
+ key: urlKey,
2482
+ keyIdOf(value) {
2483
+ try {
2484
+ return new URL(value).hostname === smtpHost(region) ? smtpUser(value) : void 0;
2485
+ } catch {
2486
+ return;
2487
+ }
2488
+ },
2489
+ value: (accessKeyId, secretAccessKey) => smtpUrl(accessKeyId, secretAccessKey, region)
2490
+ };
2491
+ }
2492
+ //#endregion
2493
+ //#region src/providers/ses/email.ts
2494
+ /**
2495
+ * The `ses` provider for mail: what sends an `Email` construct's mail on a
2496
+ * deployed stage.
2497
+ *
2498
+ * `deploy.email.<stage> = { provider: 'ses', region?, from? }` has the deploy
2499
+ * create, in the stage's AWS account:
2500
+ *
2501
+ * - **the sender's domain as an SES identity**, verified through Easy DKIM's
2502
+ * CNAMEs written through the stage's DNS — the same identity an inbox on
2503
+ * that domain uses: SES has one per domain, and neither provider deletes it;
2504
+ * - for each mail construct, **an IAM user** allowed `ses:SendRawEmail` from
2505
+ * that identity and nothing else, and **its access key**, written into the
2506
+ * stage's secrets as `<ID>_URL` — `smtp://<key id>:<smtp password>@
2507
+ * email-smtp.<region>.amazonaws.com:587`, the password derived from the key;
2508
+ * - **`<ID>_FROM`**: `from`, else what the secrets hold, else `noreply@` the
2509
+ * stage's domain.
2510
+ *
2511
+ * A `<ID>_URL` the stage's secrets already hold, and this provider did not
2512
+ * write, wins: the construct sends with it and nothing is created for it — an
2513
+ * identity that already has sending credentials is not given a second set.
2514
+ * Moving an existing stack onto compose stays a `secrets:import`.
2515
+ *
2516
+ * `--rotate-keys` issues each user a successor key, and with it a new
2517
+ * password, as every other provider's keys are rotated.
2518
+ */
2519
+ /** The inline policy each sending user is given. */
2520
+ const SEND_POLICY_NAME = "gkm-email";
2521
+ /**
2522
+ * The most a sandboxed account sends in a day. An account with no more is
2523
+ * taken to be in the sandbox, where SES delivers only to verified addresses.
2524
+ */
2525
+ const SANDBOX_DAILY_QUOTA = 200;
2526
+ /** Every mail construct in the manifest. */
2527
+ function emailConstructs(manifest) {
2528
+ return Object.values(manifest).filter((d) => d.kind === "email").sort((a, b) => a.id.localeCompare(b.id));
2529
+ }
2530
+ /** What a sending user may do: send as `identityArn`, and nothing else. */
2531
+ function sendPolicy(identityArn) {
2532
+ return {
2533
+ Version: "2012-10-17",
2534
+ Statement: [{
2535
+ Sid: "GkmSendEmail",
2536
+ Effect: "Allow",
2537
+ Action: "ses:SendRawEmail",
2538
+ Resource: identityArn
2539
+ }]
2540
+ };
2541
+ }
2542
+ /** The ARN of a domain's SES identity. */
2543
+ function identityArn(region, account, domain) {
2544
+ return `arn:aws:ses:${region}:${account}:identity/${domain}`;
2545
+ }
2546
+ /**
2547
+ * Whether the stage's secrets hold a URL for `email` that this provider did
2548
+ * not write — one set by hand, or imported — which it then leaves alone.
2549
+ */
2550
+ function urlSetElsewhere(ctx, email) {
2551
+ const given = ctx.secrets[provideKey(email, "url")];
2552
+ if (given === void 0) return false;
2553
+ const record = ctx.state.record(`iam-access-key:${email}`);
2554
+ if (!record) return true;
2555
+ const user = smtpUser(given);
2556
+ return user !== record.id && user !== record.data?.previous;
2557
+ }
2558
+ /**
2559
+ * The address `email` sends from: `from`, else what the stage's secrets
2560
+ * hold, else `noreply@` the stage's domain.
2561
+ *
2562
+ * @throws {EmailSenderUnknown} with none of them
2563
+ */
2564
+ function senderOf(ctx, email) {
2565
+ if (ctx.config.from) return ctx.config.from;
2566
+ const held = ctx.secrets[provideKey(email, "from")];
2567
+ if (held) return held;
2568
+ const domain = ctx.workspace.domains?.[ctx.stage];
2569
+ if (!domain) throw new EmailSenderUnknown(ctx.stage);
2570
+ return `noreply@${domain}`;
2571
+ }
2572
+ /** The domain of an address — `noreply@x.com` or `Acme <noreply@x.com>`. */
2573
+ function domainOf(address) {
2574
+ return address.slice(address.lastIndexOf("@") + 1).replace(/>\s*$/, "").trim().toLowerCase();
2575
+ }
2576
+ async function iamClients(credential, region) {
2577
+ const IAM = await import("@aws-sdk/client-iam");
2578
+ const { STSClient } = await import("@aws-sdk/client-sts");
2579
+ const config = await awsClientConfig(credential, region);
2580
+ const stsEndpoint = awsEndpoint(process.env, "STS");
2581
+ return {
2582
+ IAM,
2583
+ iam: new IAM.IAMClient(config),
2584
+ sts: new STSClient({
2585
+ ...config,
2586
+ ...stsEndpoint ? { endpoint: stsEndpoint } : {}
2587
+ }),
2588
+ region
2589
+ };
2590
+ }
2591
+ async function ensureSesEmail(ctx) {
2592
+ const owned = emailConstructs(ctx.manifest).filter((email) => {
2593
+ if (!urlSetElsewhere(ctx, email.id)) return true;
2594
+ ctx.log(` ${email.id}: ${provideKey(email.id, "url")} is set in the stage's secrets — it sends with that, and nothing is created for it`);
2595
+ return false;
2596
+ });
2597
+ if (owned.length === 0) return;
2598
+ const region = s3Region(ctx);
2599
+ const senders = new Map(owned.map((e) => [e.id, senderOf(ctx, e.id)]));
2600
+ const domains = [...new Set([...senders.values()].map(domainOf))].sort();
2601
+ const ses = await sesClients(ctx.credential, region);
2602
+ const clients = await iamClients(ctx.credential, region);
2603
+ try {
2604
+ const account = await callerAccountId(clients.sts);
2605
+ for (const domain of domains) await ensureIdentity(ctx, ses, domain);
2606
+ await noteSandbox(ctx, ses, region);
2607
+ for (const email of owned) {
2608
+ const from = senders.get(email.id);
2609
+ const domain = domainOf(from);
2610
+ const user = await ensureIamUser(ctx, clients, {
2611
+ id: email.id,
2612
+ user: emailUserName(ctx.identity.scope, ctx.stage, email.id),
2613
+ policyName: SEND_POLICY_NAME,
2614
+ policy: sendPolicy(identityArn(region, account, domain)),
2615
+ describe: `send as ${domain} only`
2616
+ });
2617
+ await ensureAccessKey(ctx, clients, {
2618
+ id: email.id,
2619
+ secret: smtpKeySecret(provideKey(email.id, "url"), region),
2620
+ ...user
2621
+ });
2622
+ const fromKey = provideKey(email.id, "from");
2623
+ if (ctx.secrets[fromKey] !== from) await ctx.change({
2624
+ construct: email.id,
2625
+ resource: fromKey,
2626
+ change: `set to ${from}`
2627
+ }, () => ctx.writeSecrets({ [fromKey]: from }));
2628
+ }
2629
+ } finally {
2630
+ ses.ses.destroy();
2631
+ clients.iam.destroy();
2632
+ clients.sts.destroy();
2633
+ }
2634
+ }
2635
+ /**
2636
+ * The domain as an SES identity, verified by Easy DKIM: its three CNAMEs,
2637
+ * through the stage's DNS. A verified one is left as it is; one that is not
2638
+ * — new, or created by another stack and never finished — is asked for its
2639
+ * tokens again, which SES answers without making a second identity.
2640
+ */
2641
+ async function ensureIdentity(ctx, { SES, ses }, domain) {
2642
+ if ((await ses.send(new SES.GetIdentityVerificationAttributesCommand({ Identities: [domain] }))).VerificationAttributes?.[domain]?.VerificationStatus === "Success") return;
2643
+ let tokens = [];
2644
+ await ctx.change({
2645
+ construct: "email",
2646
+ resource: `SES identity ${domain}`,
2647
+ change: "verify with DKIM"
2648
+ }, async () => {
2649
+ tokens = (await ses.send(new SES.VerifyDomainDkimCommand({ Domain: domain }))).DkimTokens ?? [];
2650
+ });
2651
+ if (tokens.length === 0) return;
2652
+ await ctx.writeDns(tokens.map((token) => ({
2653
+ host: `${token}._domainkey.${domain}`,
2654
+ type: "CNAME",
2655
+ value: `${token}.dkim.amazonses.com`
2656
+ })));
2657
+ ctx.log(` ${domain}: SES sends as it once its DKIM records resolve — usually minutes, at most 72 hours`);
2658
+ }
2659
+ /** Say so when the account is in SES's sandbox, rather than fail on a send. */
2660
+ async function noteSandbox(ctx, { SES, ses }, region) {
2661
+ const quota = await ses.send(new SES.GetSendQuotaCommand({}));
2662
+ if ((quota.Max24HourSend ?? 0) > SANDBOX_DAILY_QUOTA) return;
2663
+ ctx.log(` ⚠️ SES in ${region} looks to be in the sandbox (${quota.Max24HourSend ?? 0} messages a day): it delivers only to addresses verified in SES. Request production access in the SES console before sending to anyone else.`);
2664
+ }
2665
+ /** The cheap check every deploy runs: each mail construct's keys are in the stage's secrets. */
2666
+ async function verifySesEmail(ctx) {
2667
+ for (const email of emailConstructs(ctx.manifest)) {
2668
+ const missing = [provideKey(email.id, "url"), provideKey(email.id, "from")].filter((key) => ctx.secrets[key] === void 0);
2669
+ if (missing.length > 0) throw new EmailNotProvisioned(ctx.stage, email.id, missing);
2670
+ }
2671
+ }
2910
2672
  //#endregion
2911
2673
  //#region src/providers/registry.ts
2912
2674
  /**
@@ -2916,17 +2678,18 @@ async function verifySes(ctx) {
2916
2678
  */
2917
2679
  const BUILTIN_PROVIDERS = {
2918
2680
  objects: { s3: s3Provider },
2919
- inbox: { ses: {
2920
- kind: "inbox",
2681
+ inbox: { ses: sesProvider },
2682
+ email: { ses: {
2683
+ kind: "email",
2921
2684
  name: "ses",
2922
- check: checkSesConfig,
2685
+ check: checkSesEmailConfig,
2923
2686
  provisioning: SES_PROVISIONING,
2924
2687
  credentials: awsProvisioningCredentials,
2925
2688
  runtimeKeys(manifest) {
2926
- return inboxConstructs(manifest).flatMap((inbox) => [provideKey(inbox.id, "url"), provideKey(inbox.topic, "publisherConnectionString")]);
2689
+ return emailConstructs(manifest).flatMap((email) => [provideKey(email.id, "url"), provideKey(email.id, "from")]);
2927
2690
  },
2928
- ensure: ensureSes,
2929
- verify: verifySes
2691
+ ensure: ensureSesEmail,
2692
+ verify: verifySesEmail
2930
2693
  } }
2931
2694
  };
2932
2695
  /** The provider `kind` names `name`, if gkm has one. */
@@ -3864,6 +3627,6 @@ async function load(input, sandbox) {
3864
3627
  return workspace;
3865
3628
  }
3866
3629
  //#endregion
3867
- export { UnknownDeployApps as a, bucketName as c, TargetBuildsNothing as i, iamUserName as l, NoDeployableApps as n, backupsUserName as o, RollbackFailed as r, IAM_USER_PATH as s, deploy as t };
3630
+ export { UnknownDeployApps as a, defaultCdnClients as c, TargetBuildsNothing as i, backupsUserName as l, NoDeployableApps as n, defaultClients as o, RollbackFailed as r, cdnName as s, deploy as t };
3868
3631
 
3869
- //# sourceMappingURL=deploy-BI3fHnyb.mjs.map
3632
+ //# sourceMappingURL=deploy-Bb-o2KYC.mjs.map