iodepo / OceanBestPractices

Repository to store the OpenSource version of the code made by E84 for OceanBestPractices.org
https://oceanbestpractices.org
GNU Affero General Public License v3.0
12 stars 6 forks source link

Issue with SQS when deploying a new but identical stack. #278

Open paulpilone opened 1 year ago

paulpilone commented 1 year ago

I ran into this issue when deploying the new production stack where the deployment tries to attach a second SQS endpoint when one already exists (e.g. the dev stack existed when trying to deploy the prod stack). I believe the issue comes from here:https://github.com/iodepo/OceanBestPractices/blob/b0add5fc008a3f7a2bbdefab68007e987a2a0064/cdk/ingest/index.ts#L105.

The quick fix was to comment out privateDnsEnabled but I don't think that's the permanent solution. This should be addressed or else it might be difficult to spin up a new environment if needed.