Save exported files to S3

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

  • Bucket
  • AccessKey
  • SecretAccessKey

To save the output file to S3, add the prefix S3: for output-file option and pass the S3 configs in the S3-config option.

Now, edit the content of the file fusioncharts-config.json.json.

        "chart-config": "fusioncharts_chart.js",
        "output-file": "s3:fc-chart-<%= number(1) %>",
        "s3-config": {
            "bucket": "coolbucket",
            "accessKey": "ADFASDF#DDF$",
            "secretAccessKey": "dfasdAS$32rdsf$234rfdsaf"

Run the following command:

$ fe -c fusioncharts-config.json
Was this article helpful to you ?