hackforla / incubator

https://github.com/orgs/hackforla/projects/73/views/5
GNU General Public License v2.0
3 stars 14 forks source link

Migrating vrms-backend to terraform #28

Closed Tyson-miller closed 8 months ago

Tyson-miller commented 1 year ago

Migrating the configuration for vrms-backend to the new terraform-incubator directory.

This PR is strictly additive it does not remove any of the old code in the incubator directory.

Linked to this issue - https://github.com/hackforla/VRMS/issues/1497

Tyson-miller commented 1 year ago

Relevant parts of terraform plan for dev (rest is just a lot of moved statements):

Only changes are updating ecs fargate and replacing ecs task definition

Screenshot 2023-11-08 at 3 07 29 PM

The 1 add and 1 destroy is the task replacement and the 1 change is the fargate change due to the task definition ARN changing

Screenshot 2023-11-08 at 3 09 27 PM
Tyson-miller commented 1 year ago

Relevant parts of terraform plan for prod. Similar to dev except it also adds route_53 for vrms.io for some reason.

Updating ecs_fargate, replacing task definition, updating a load balancer listener rule and adding a route 53 record:

Screenshot 2023-11-08 at 3 12 30 PM Screenshot 2023-11-08 at 3 14 41 PM

Final tally for planned changes in prod ![Uploading Screenshot 2023-11-08 at 3.16.08 PM.png…]()

erniep278 commented 1 year ago

Looks good to me