For the Cloud Storage target to work correctly, you need to create credentials in your Google Cloud Console. The instructions to create these credentials are below.
Head to your flow, and go to the target options.
Select the Cloud Storage target, and you'll be prompted to provide your credentials.
The path prefix is the path under which data will be uploaded. This field can include the following parameters:
The user id this job is running for
The current date formatted as
The flow id this job ran for
The environment this job ran for
The internal hotglue job id
For example, a valid bucket path prefix is
Navigate to IAM in your Google Cloud Console, and select Create service account
Name the service account and give it a description, like the following, then select Create and continue:
Now you can assign the necessary permissions. In this case, I will use the Storage Object Creator role. You could also use a different role with less granular permissions, such as the Storage Admin role, but this is not recommended.
Finally, select Done and navigate to the newly created service account, and head to the Keys section.
Select "Create new key" and choose JSON type
This will generate a JSON key to your local machine
Finally, open the JSON file that was downloaded. This file contains the necessary credentials:
You can copy these credentials to the matching fields in hotglue to configure your GCS target! 🎉
Updated 6 months ago