This pull request adds fastly:export and fastly:import commands which allow us to clone dictionaries between Fastly properties (most importantly, from our current production property to the new Terraform-managed one) but also could be used to create backups of this data!
I've also fixed a few bugs with the admin flow:
Trying to create a redirect that already exists will now overwrite the existing one rather than 500ing.
Redirects can no longer contain query strings (because that's not supported in our new simplified VCL) and are automatically converted to lowercase (since all redirects are case-insensitive now).
This pull request adds
fastly:export
andfastly:import
commands which allow us to clone dictionaries between Fastly properties (most importantly, from our current production property to the new Terraform-managed one) but also could be used to create backups of this data!I've also fixed a few bugs with the admin flow: