-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Description
Fastly now support a new logging format, but the format tag of the s3logging block in the fastly_service_v1 resource doesn't seem to support the v2 format strings. When we tried to apply with the following format string...
%a %l %u %t %m %U%q %H %>s %b %T
...we got an error from fastly.
Looking at their API, the call to set up the s3 log takes a format_version parameter, which defaults to version 1 if not set - https://docs.fastly.com/api/logging#logging_s3_a3afaf505cb81fb44622fbcc6e41a03d
Hopefully all that is required is allowing setting of the format_version parameter in the s3logging block to make version 2 format strings work