Page MenuHomePhabricator

[terraform] Disable traffic after terraform apply and reenable after health check
ClosedPublic

Authored by will on Aug 14 2024, 1:50 PM.
Tags
None
Referenced Files
F3004204: D13088.id43405.diff
Fri, Oct 18, 1:23 PM
Unknown Object (File)
Sep 14 2024, 11:47 PM
Unknown Object (File)
Sep 14 2024, 11:47 PM
Unknown Object (File)
Sep 14 2024, 11:46 PM
Unknown Object (File)
Sep 14 2024, 11:44 PM
Unknown Object (File)
Sep 10 2024, 7:40 PM
Unknown Object (File)
Sep 9 2024, 10:22 AM
Unknown Object (File)
Sep 4 2024, 10:15 AM
Subscribers

Details

Summary

In https://phab.comm.dev/rCOMMbf5cae4c208a9e0759e031d1189e6cab0a3a2812, I remove the unnecessary reenabling of ingress rules. However, I'm realizing now that having terraform apply run and restore general access right before the health check defeats the purpose of disabling general access in the first place.

The health check needs to always be able to access the keyserver, but could be lost in general traffic. Adding commands to disable general access right after terraform apply and adding back commands to restore access after health check

Test Plan

Ran the deploy script. Ingress rules are properly restored

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will retitled this revision from [terraform] Disable traffic after terraform apply and reenable after h ealth check to [terraform] Disable traffic after terraform apply and reenable after health check.Aug 14 2024, 1:51 PM
will edited the summary of this revision. (Show Details)
will requested review of this revision.Aug 14 2024, 2:07 PM
This revision is now accepted and ready to land.Aug 14 2024, 7:34 PM