JesusFilm / core

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

feat: custom domain front end #2423

Closed Kneesal closed 10 months ago

Kneesal commented 11 months ago

Description

copilot:summary

How should this PR be QA Tested?

Please describe the QA tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

Walkthrough

copilot:walkthrough

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

(change count - 3661): 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 082a24a3657edcff745663d50a15ada6fb3f900f

codecov[bot] commented 11 months ago

Codecov Report

Attention: Patch coverage is 90.57971% with 13 lines in your changes missing coverage. Please review.

Project coverage is 88.76%. Comparing base (579c2a5) to head (082a24a). Report is 1422 commits behind head on main.

Files with missing lines Patch % Lines
...DomainDialog/DNSConfigSection/DNSConfigSection.tsx 78.57% 4 Missing and 2 partials :warning:
...stomDomainDialog/DomainNameForm/DomainNameForm.tsx 85.36% 6 Missing :warning:
...inDialog/DefaultJourneyForm/DefaultJourneyForm.tsx 97.05% 1 Missing :warning:

:exclamation: There is a different number of reports uploaded between BASE (579c2a5) and HEAD (082a24a). Click for more details.

HEAD has 14 uploads less than BASE | Flag | BASE (579c2a5) | HEAD (082a24a) | |------|------|------| |apps.api-users|6|3| |apps.api-journeys|6|3| |apps.api-videos|6|3| |apps.api-media|6|3| |apps.api-languages|2|1| |apps.api-tags|2|1|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2423 +/- ## ========================================== - Coverage 95.51% 88.76% -6.76% ========================================== Files 128 761 +633 Lines 3437 12331 +8894 Branches 457 1551 +1094 ========================================== + Hits 3283 10945 +7662 - Misses 127 1210 +1083 - Partials 27 176 +149 ``` | [Flag](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | Coverage Δ | | |---|---|---| | [apps.api-journeys](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `96.71% <ø> (ø)` | | | [apps.api-languages](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `90.00% <ø> (ø)` | | | [apps.api-media](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `92.49% <ø> (ø)` | | | [apps.api-tags](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `89.28% <ø> (ø)` | | | [apps.api-users](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `81.13% <ø> (ø)` | | | [apps.api-videos](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `96.01% <ø> (ø)` | | | [apps.journeys](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `44.12% <ø> (?)` | | | [apps.journeys-admin](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `80.87% <90.57%> (?)` | | | [apps.watch](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `76.28% <ø> (?)` | | | [libs.journeys.ui](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `78.04% <ø> (?)` | | | [libs.nest.common](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `86.36% <ø> (?)` | | | [libs.nest.decorators](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `100.00% <ø> (?)` | | | [libs.nest.powerBi](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `100.00% <ø> (?)` | | | [libs.shared.ui](https://app.codecov.io/gh/JesusFilm/core/pull/2423/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm) | `84.58% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JesusFilm#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 11 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready Visit Preview Fri Apr 5 01:23:08 UTC 2024
github-actions[bot] commented 11 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch ✅ Ready Visit Preview Fri Apr 5 01:22:46 UTC 2024
github-actions[bot] commented 11 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys ✅ Ready Visit Preview Fri Apr 5 01:22:08 UTC 2024
jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months 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.prod.module.journeys-admin.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/d04ef60d-8bb6-4dc9-aeac-19966740323a" -> "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-prod/7cf1f0916ed2c660/9df1fedd44a02a09" 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" { ~ desired_count = 2 -> 1 id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-gateway-stage-service" name = "api-gateway-stage-service" tags = {} # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.journeys-admin.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" 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, 3 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, 3 to change, 0 to destroy.


jesus-film-bot commented 11 months 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.prod.module.journeys-admin.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/d04ef60d-8bb6-4dc9-aeac-19966740323a" -> "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.stage.module.journeys-admin.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" 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, 2 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, 2 to change, 0 to destroy.


jesus-film-bot commented 11 months 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.prod.module.journeys-admin.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/d04ef60d-8bb6-4dc9-aeac-19966740323a" -> "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.stage.module.journeys-admin.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" 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, 2 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, 2 to change, 0 to destroy.


jesus-film-bot commented 11 months 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.prod.module.journeys-admin.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/d04ef60d-8bb6-4dc9-aeac-19966740323a" -> "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block 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" { ~ desired_count = 2 -> 1 id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-journeys-stage-service" name = "api-journeys-stage-service" tags = {} # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.journeys-admin.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" 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, 3 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, 3 to change, 0 to destroy.


jesus-film-bot commented 11 months 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.prod.module.api-gateway.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.prod.module.prod.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # 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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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.stage.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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, 4 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, 4 to change, 0 to destroy.


jesus-film-bot commented 11 months 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.prod.module.api-gateway.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.prod.module.prod.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # 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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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.stage.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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, 4 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, 4 to change, 0 to destroy.


tataihono commented 11 months ago

atlantis unlock

jesus-film-bot commented 11 months ago

All Atlantis locks for this PR have been unlocked and plans discarded

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2492. To continue, delete the lock from #2492 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2492. To continue, delete the lock from #2492 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2492. To continue, delete the lock from #2492 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months 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: + create ~ update in-place +/- create replacement and then destroy Terraform will perform the following actions: # module.prod.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-prod/api-journeys-prod-service" name = "api-journeys-prod-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-prod:42" -> (known after apply) # (15 unchanged attributes hidden) # (5 unchanged blocks hidden) } # module.prod.module.api-journeys.module.ecs-task.aws_ecs_task_definition.ecs_task_definition must be replaced +/- resource "aws_ecs_task_definition" "ecs_task_definition" { ~ arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-prod:42" -> (known after apply) ~ arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-prod" -> (known after apply) ~ container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-journeys-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-journeys" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-journeys-prod-app" - portMappings = [ - { - containerPort = 4001 - hostPort = 4001 - protocol = "tcp" }, ] - secrets = [ - { - name = "AWS_ACCESS_KEY_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/AWS_ACCESS_KEY_ID" }, - { - name = "AWS_SECRET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/AWS_SECRET_ACCESS_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/FIREBASE_API_KEY" }, - { - name = "GATEWAY_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/GATEWAY_URL" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/GOOGLE_APPLICATION_JSON" }, - { - name = "INTEROP_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/INTEROP_TOKEN" }, - { - name = "JOURNEYS_ADMIN_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/JOURNEYS_ADMIN_URL" }, - { - name = "MAILCHIMP_AUDIENCE_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/MAILCHIMP_AUDIENCE_ID" }, - { - name = "MAILCHIMP_MARKETING_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/MAILCHIMP_MARKETING_API_KEY" }, - { - name = "MAILCHIMP_MARKETING_API_SERVER_PREFIX" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/MAILCHIMP_MARKETING_API_SERVER_PREFIX" }, - { - name = "PG_DATABASE_URL_JOURNEYS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/PG_DATABASE_URL_JOURNEYS" }, - { - name = "PLAYWRIGHT_USER_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/PLAYWRIGHT_USER_ID" }, - { - name = "POWER_BI_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_CLIENT_ID" }, - { - name = "POWER_BI_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_CLIENT_SECRET" }, - { - name = "POWER_BI_JOURNEYS_MULTIPLE_FULL_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_JOURNEYS_MULTIPLE_FULL_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_MULTIPLE_SUMMARY_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_JOURNEYS_MULTIPLE_SUMMARY_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_SINGLE_FULL_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_JOURNEYS_SINGLE_FULL_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_SINGLE_SUMMARY_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_JOURNEYS_SINGLE_SUMMARY_REPORT_ID" }, - { - name = "POWER_BI_TENANT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_TENANT_ID" }, - { - name = "POWER_BI_WORKSPACE_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/POWER_BI_WORKSPACE_ID" }, - { - name = "REDIS_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/prod/REDIS_URL" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-journeys" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-journeys-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-journeys-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-journeys-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-journeys-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] # forces replacement ) -> (known after apply) # forces replacement ~ id = "jfp-api-journeys-prod" -> (known after apply) ~ revision = 42 -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (7 unchanged attributes hidden) } # module.prod.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["GIT_BRANCH"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/prod/GIT_BRANCH" + overwrite = true + tags = { + "name" = "GIT_BRANCH" } + tags_all = { + "name" = "GIT_BRANCH" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.prod.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_JOURNEYS_PROJECT_ID"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/prod/VERCEL_JOURNEYS_PROJECT_ID" + overwrite = true + tags = { + "name" = "VERCEL_JOURNEYS_PROJECT_ID" } + tags_all = { + "name" = "VERCEL_JOURNEYS_PROJECT_ID" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.prod.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_TEAM_ID"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/prod/VERCEL_TEAM_ID" + overwrite = true + tags = { + "name" = "VERCEL_TEAM_ID" } + tags_all = { + "name" = "VERCEL_TEAM_ID" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.prod.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_TOKEN"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/prod/VERCEL_TOKEN" + overwrite = true + tags = { + "name" = "VERCEL_TOKEN" } + tags_all = { + "name" = "VERCEL_TOKEN" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.prod.module.journeys-admin.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/d04ef60d-8bb6-4dc9-aeac-19966740323a" -> "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-public-alb-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.prod.module.journeys-admin.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-prod/journeys-admin-prod-service" name = "journeys-admin-prod-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-prod:2" -> (known after apply) # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.prod.module.journeys-admin.module.ecs-task.aws_ecs_task_definition.ecs_task_definition must be replaced +/- resource "aws_ecs_task_definition" "ecs_task_definition" { ~ arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-prod:2" -> (known after apply) ~ arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-prod" -> (known after apply) ~ container_definitions = jsonencode( ~ [ ~ { ~ logConfiguration = { ~ options = { ~ dd_source = "nextjs" -> "nestjs" # (8 unchanged attributes hidden) } # (2 unchanged attributes hidden) } name = "jfp-journeys-admin-prod-app" - systemControls = [] # (9 unchanged attributes hidden) }, ~ { name = "jfp-journeys-admin-prod-datadog-agent" - systemControls = [] # (10 unchanged attributes hidden) }, ~ { name = "jfp-journeys-admin-prod-log-router" - systemControls = [] # (11 unchanged attributes hidden) }, ] # forces replacement ) ~ id = "jfp-journeys-admin-prod" -> (known after apply) ~ revision = 2 -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (7 unchanged attributes 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:31" -> (known after apply) # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.api-journeys.module.ecs-task.aws_ecs_task_definition.ecs_task_definition must be replaced +/- resource "aws_ecs_task_definition" "ecs_task_definition" { ~ arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-stage:31" -> (known after apply) ~ arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-journeys-stage" -> (known after apply) ~ container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-journeys-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-journeys" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-journeys-stage-app" - portMappings = [ - { - containerPort = 4001 - hostPort = 4001 - protocol = "tcp" }, ] - secrets = [ - { - name = "AWS_ACCESS_KEY_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/AWS_ACCESS_KEY_ID" }, - { - name = "AWS_SECRET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/AWS_SECRET_ACCESS_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/FIREBASE_API_KEY" }, - { - name = "GATEWAY_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/GATEWAY_URL" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/GOOGLE_APPLICATION_JSON" }, - { - name = "INTEROP_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/INTEROP_TOKEN" }, - { - name = "JOURNEYS_ADMIN_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/JOURNEYS_ADMIN_URL" }, - { - name = "MAILCHIMP_AUDIENCE_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/MAILCHIMP_AUDIENCE_ID" }, - { - name = "MAILCHIMP_MARKETING_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/MAILCHIMP_MARKETING_API_KEY" }, - { - name = "MAILCHIMP_MARKETING_API_SERVER_PREFIX" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/MAILCHIMP_MARKETING_API_SERVER_PREFIX" }, - { - name = "PG_DATABASE_URL_JOURNEYS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/PG_DATABASE_URL_JOURNEYS" }, - { - name = "PLAYWRIGHT_USER_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/PLAYWRIGHT_USER_ID" }, - { - name = "POWER_BI_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_CLIENT_ID" }, - { - name = "POWER_BI_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_CLIENT_SECRET" }, - { - name = "POWER_BI_JOURNEYS_MULTIPLE_FULL_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_JOURNEYS_MULTIPLE_FULL_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_MULTIPLE_SUMMARY_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_JOURNEYS_MULTIPLE_SUMMARY_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_SINGLE_FULL_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_JOURNEYS_SINGLE_FULL_REPORT_ID" }, - { - name = "POWER_BI_JOURNEYS_SINGLE_SUMMARY_REPORT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_JOURNEYS_SINGLE_SUMMARY_REPORT_ID" }, - { - name = "POWER_BI_TENANT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_TENANT_ID" }, - { - name = "POWER_BI_WORKSPACE_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/POWER_BI_WORKSPACE_ID" }, - { - name = "REDIS_URL" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-journeys/stage/REDIS_URL" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-journeys" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-journeys-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-journeys-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-journeys-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-journeys-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] # forces replacement ) -> (known after apply) # forces replacement ~ id = "jfp-api-journeys-stage" -> (known after apply) ~ revision = 31 -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (7 unchanged attributes hidden) } # module.stage.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["GIT_BRANCH"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/stage/GIT_BRANCH" + overwrite = true + tags = { + "name" = "GIT_BRANCH" } + tags_all = { + "name" = "GIT_BRANCH" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.stage.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_JOURNEYS_PROJECT_ID"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/stage/VERCEL_JOURNEYS_PROJECT_ID" + overwrite = true + tags = { + "name" = "VERCEL_JOURNEYS_PROJECT_ID" } + tags_all = { + "name" = "VERCEL_JOURNEYS_PROJECT_ID" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.stage.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_TEAM_ID"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/stage/VERCEL_TEAM_ID" + overwrite = true + tags = { + "name" = "VERCEL_TEAM_ID" } + tags_all = { + "name" = "VERCEL_TEAM_ID" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.stage.module.api-journeys.module.ecs-task.aws_ssm_parameter.parameters["VERCEL_TOKEN"] will be created + resource "aws_ssm_parameter" "parameters" { + arn = (known after apply) + data_type = (known after apply) + id = (known after apply) + insecure_value = (known after apply) + key_id = (known after apply) + name = "/ecs/api-journeys/stage/VERCEL_TOKEN" + overwrite = true + tags = { + "name" = "VERCEL_TOKEN" } + tags_all = { + "name" = "VERCEL_TOKEN" } + tier = (known after apply) + type = "SecureString" + value = (sensitive value) + version = (known after apply) } # module.stage.module.journeys-admin.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" 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.journeys-admin.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/journeys-admin-stage-service" name = "journeys-admin-stage-service" tags = {} ~ task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-stage:3" -> (known after apply) # (15 unchanged attributes hidden) # (4 unchanged blocks hidden) } # module.stage.module.journeys-admin.module.ecs-task.aws_ecs_task_definition.ecs_task_definition must be replaced +/- resource "aws_ecs_task_definition" "ecs_task_definition" { ~ arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-stage:3" -> (known after apply) ~ arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-journeys-admin-stage" -> (known after apply) ~ container_definitions = jsonencode( ~ [ ~ { ~ logConfiguration = { ~ options = { ~ dd_source = "nextjs" -> "nestjs" # (8 unchanged attributes hidden) } # (2 unchanged attributes hidden) } name = "jfp-journeys-admin-stage-app" - systemControls = [] # (9 unchanged attributes hidden) }, ~ { name = "jfp-journeys-admin-stage-datadog-agent" - systemControls = [] # (10 unchanged attributes hidden) }, ~ { name = "jfp-journeys-admin-stage-log-router" - systemControls = [] # (11 unchanged attributes hidden) }, ] # forces replacement ) ~ id = "jfp-journeys-admin-stage" -> (known after apply) ~ revision = 3 -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (7 unchanged attributes hidden) } Plan: 12 to add, 6 to change, 4 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: 12 to add, 6 to change, 4 to destroy.


jesus-film-bot commented 11 months 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.prod.module.api-gateway.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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # module.prod.module.prod.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "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-prod/7cf1f0916ed2c660/9df1fedd44a02a09" tags = {} # (6 unchanged attributes hidden) # (1 unchanged block hidden) } # 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/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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.stage.module.public_alb.aws_alb_listener.alb_listener["HTTPS"] will be updated in-place ~ resource "aws_alb_listener" "alb_listener" { ~ certificate_arn = "arn:aws:acm:us-east-2:410965620680:certificate/f16e60b9-eb24-4929-8f32-9b5ff76cfe2c" -> "arn:aws:acm:us-east-2:410965620680:certificate/573666ef-f89a-42e6-85f5-4d4ea6fd29e4" 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, 4 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, 4 to change, 0 to destroy.


tataihono commented 11 months ago

atlantis unlock

jesus-film-bot commented 11 months ago

All Atlantis locks for this PR have been unlocked and plans discarded

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

jesus-film-bot commented 11 months ago

Ran Plan for dir: infrastructure workspace: default

Plan Failed: This project is currently locked by an unapplied plan from pull #2476. To continue, delete the lock from #2476 or apply that plan and merge the pull request.

Once the lock is released, comment atlantis plan here to re-plan.

github-actions[bot] commented 10 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
docs ✅ Ready Visit Preview Fri Apr 5 01:20:56 UTC 2024
github-actions[bot] commented 10 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
nexus-admin ✅ Ready Visit Preview Fri Apr 5 01:20:59 UTC 2024