JesusFilm / core

JFP DS Engineering Monorepo
https://docs.core.jesusfilm.org/
19 stars 12 forks source link

feat: ecs complete deployment #1078

Closed mikeallisonJS closed 2 years ago

mikeallisonJS commented 2 years ago

Description

This adds the missing stage services, along with permissions required to get everything running. This PR is already deployed to terraform

Checklist

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
core-docs ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:24PM (UTC)
journeys ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:24PM (UTC)
journeys-admin ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:24PM (UTC)
watch ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:24PM (UTC)
jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

github-actions[bot] commented 2 years ago
Warnings
:warning: Is this PR related to a Basecamp issue? If so link it via the PR description.
:warning: :exclamation: Big PR (751 changes)

(change count - 751): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by :no_entry_sign: dangerJS against b0ec7ced43751be5daa913f2c0c105957f8a8e13

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

stage-branch-merger[bot] commented 2 years ago

I see you added the "on stage" label, I'll get this merged to the stage branch!

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default


No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # module.stage.module.api-gateway-stage.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-gateway-stage-service" name = "api-gateway-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-gateway-stage:10" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-gateway-stage:9" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d infrastructure` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.central.jesusfilm.org/lock?id=JesusFilm%252Fcore%252Finfrastructure%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -d infrastructure`

Plan: 0 to add, 1 to change, 0 to destroy.


jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # module.stage.module.api-gateway-stage.module.ecs-task.aws_alb_listener.alb_listener will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" -> "arn:aws:acm:us-east-2:410965620680:certificate/d04ef60d-8bb6-4dc9-aeac-19966740323a" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-stage/27d94355c709eb16/b091b1d208ec79b8" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d infrastructure` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.central.jesusfilm.org/lock?id=JesusFilm%252Fcore%252Finfrastructure%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -d infrastructure`

Plan: 0 to add, 1 to change, 0 to destroy.


jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # module.stage.module.api-gateway-stage.module.ecs-task.aws_alb_listener.alb_listener will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" -> "arn:aws:acm:us-east-2:410965620680:certificate/d04ef60d-8bb6-4dc9-aeac-19966740323a" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-stage/27d94355c709eb16/b091b1d208ec79b8" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } Plan: 0 to add, 1 to change, 0 to destroy. ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d infrastructure` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.central.jesusfilm.org/lock?id=JesusFilm%252Fcore%252Finfrastructure%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -d infrastructure`

Plan: 0 to add, 1 to change, 0 to destroy.


stage-branch-merger[bot] commented 2 years ago

I see you added the "on stage" label, I'll get this merged to the stage branch!

stage-branch-merger[bot] commented 2 years ago

Merge conflict attempting to merge this into stage. Please fix manually.

jesus-film-bot commented 2 years ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place Terraform will perform the following actions: # module.stage.module.api-gateway-stage.module.ecs-task.aws_alb_listener.alb_listener will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" -> "arn:aws:acm:us-east-2:410965620680:certificate/d04ef60d-8bb6-4dc9-aeac-19966740323a" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-stage/27d94355c709eb16/b091b1d208ec79b8" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.stage.module.api-gateway-stage.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-gateway-stage-service" name = "api-gateway-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-gateway-stage:42" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-gateway-stage:9" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.api-journeys.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-journeys-stage-service" name = "api-journeys-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-stage:8" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-stage:3" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.api-languages.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-languages-stage-service" name = "api-languages-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-languages-stage:5" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-languages-stage:3" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.api-users.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-users-stage-service" name = "api-users-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-users-stage:5" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-users-stage:3" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.api-videos.module.ecs-task.aws_ecs_service.ecs_service will be updated in-place ~ resource "aws_ecs_service" "ecs_service" { id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-videos-stage-service" name = "api-videos-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-videos-stage:19" -> "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-videos-stage:3" # (14 unchanged attributes hidden) # (4 unchanged blocks hidden) } Plan: 0 to add, 6 to change, 0 to destroy. ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d infrastructure` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.central.jesusfilm.org/lock?id=JesusFilm%252Fcore%252Finfrastructure%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -d infrastructure`

Plan: 0 to add, 6 to change, 0 to destroy.


jesus-film-bot commented 2 years ago

Locks and plans deleted for the projects and workspaces modified in this pull request: