Save exported files to S3

To directly save exported files into s3, you need to obtain below credentials from S3:

  • Bucket
  • AccessKey
  • SecretAccessKey

Step 1

Navigate to ~/fusionexport_config directory (for Mac OS and Linux) or C:\Users\<username>\fusionexport_config (for Windows ).

Now, edit the content of the file s3.json.

        "bucket": "",
        "accessKey": "",
        "secretAccessKey": ""

Step 2

Add the prefix s3: for --output-file option.

        "chart-config": "fusioncharts_chart.js",
        "output-file": "s3:fc-chart-<%= number(1) %>"
Was this article helpful to you ?