fastly_config: Soft-deprecate FastlyConfig service used only for DEV. (#19837)

This commit is contained in:
Josh Klar 2023-07-26 16:45:58 -07:00 committed by GitHub
parent ffb560c2a7
commit 0b63876044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,14 @@
# In general this service should be considered deprecated, as it duplicates
# infrastructure management that is better left to the Fastly Terraform
# provider. It solely exists to support the not-yet-Terraformed DEV.to
# deployment, and should be removed whenever that instance has been migrated
# to Terraform control (and, presumably, the relevant bits of Terraform open-
# sourced and documented to replace this).
#
# As such, if VCL snippets are added to the snippets directory, a Forem employee
# should replicate them in the appropriate infrastructure repository and roll
# them out to other non-DEV Forems.
module FastlyConfig
class Snippets < Base
FASTLY_FILES = Rails.root.join("config/fastly/snippets/*.vcl").freeze