-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide script that calls Fastly CLI to rewrite dictionary with current contents of CSV #13
Comments
Rather please move to using terraform-fastly (private repo). Terraform can read the CSV file direct from github if neccessary. |
Example:
You can literally start just with that in the terraform. |
We don't have terraform ready to go, and no ETA on when it will be ready. |
I've literally posted the only terraform code that is required above. I've now even made the job easier by publishing JSON which can be used directly by terraform HCL: https://raw.githubusercontent.com/openstreetmap/tile-attribution/main/tile-attribution.json |
Fully working code:
|
If it's ready to go, that's good. Closing, and stopping manual updates. |
We need to start updating the
attribution_blocked_domains
dictionary with a shell script to avoid manual work. This script will need to call the fastly CLI.As far as I can tell, this needs to be done by
fastly dictionary describe
to get the dictionary IDfastly dictionary-entry list
It is important that it does not rewrite the entire dictionary contents, as that will remove the date added information which is useful.
See also https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#edge-dictionaries
The text was updated successfully, but these errors were encountered: