Depends on D3495
This enables us to launch a local cloud instance for the dev mode and then set it up properly.
By "set up" I mean create the same structure for S3 buckets and dynamo DB tables as there is already on our cloud.
Differential D3496
[services] Dev Mode - setup local cloud • karol on Mar 23 2022, 7:57 AM. Authored by Tags None Referenced Files
Subscribers
Details Depends on D3495 This enables us to launch a local cloud instance for the dev mode and then set it up properly. cd services yarn run-local-cloud yarn setup-local-cloud
Diff Detail
Event Timeline
Comment Actions This doesn't seem like a good approach, see my comments on D3495. How were these tables and buckets created in the production DB? Were these commands run manually? The same script or migration system should be used in both local and production environments. This approach doesn't permit that because necessarily one database environment has to be set up to create the schema backup which is used to bootstrap the dev environment. Comment Actions
Responded.
I created them using creators on the AWS web panel.
Hmm. Maybe you're right, we should probably use terraform at this point, what do you think? Comment Actions I changed my approach, now I used terraform for this. I'm abandoning this one. I decided that it will be faster to set up a new stack as I reordered the diffs and a lot of the differed from the ones from this stack. Let's follow up in the stack beginning at D3695. |