How to connect to an existing S3 bucket and an existing cloudfront distribution
richardvaldivieso opened this issue · comments
I apologize in advance since this is not an issue, mostly I need help. I want to use ion in an existing mono-repo with different front-end frameworks. My app which is using Svelte is in that repo. When the whole repo is deployed, it uses Cloudfront distribution, S3 for the resources, and Cloudformation for applications. If I want to use Ion, the Cloudformation no longer needs it (is that correct?) also, how can I deploy it to an existing distribution and s3 bucket?
Another question: If I have to deploy to an existing bucket, how much would the IAM policy in the help section change? Should point to that bucket's arn? the deployment would not delete existing files?
we don't support importing existing resources yet but it's on the roadmap
going to close this issue for now until we implement sst import