T68 prod dev test configs#72
Conversation
|
Great work on this @alepbloyd . I ran into a couple of issues that, I believe, may be because
and
(not sure who "you" is referring to in the above error). I tried creating a script to, instead, import existing resources: but these are resulting in:
and
I'll keep working through this but wanted to share findings so far. I would be interested to know if any of these may be due to failures on my part to follow the README.md |
|
Thanks for taking a look! You're right that this assumes none of the resources already exist. For the error: I think this is because in the process of creating/testing this, the instance I deployed with these terraform settings created that For I think a similar issue. I'm going to be focusing on the derivative/display stuff today, but I'll try to do some research on importing/using existing AWS resources in terraform. |
|
I'll choose new, unique names for the resources and re-test the prod deployment with those. |
|
Prod deployment works. A few comments:
I will try dev and test setup next. |
What type of PR is this? (check all applicable)
Description
This PR updates the Docker infrastructure and adds Terraform infrastructure for production deployments. Docker infrastructure is now split into a
docker-compose-init.ymlfile to handle startup and shared directory configuration and permissions, and then separate docker-compose files fordev,test, andprod.Related Tickets & Documents
QA Instructions, Screenshots, Recordings
To test:
bin/devto test local development environment.bin/test. There will likely be failing tests, but those are addressed in coming PR that is less about infrastructure. You should be able to check the logs of the rspec container after running and see test results.THINGS TO NOTE:
db/seeds.rbbut with a different admin email/password.t2.largeEC2 instance with a 100 gb root volume. @kilahimm @kerchner - this is particularly where I could use extra input on what we are hoping for, and this can be configured in tfvars.