Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Refererring to an S3 bucket by a variable

I have been using the S3 load component and trying to load an S3 bucket referred to by a variable - i.e. putting a ${BUCKET_NAME} in the bucket source field - but the component seems to expect a concrete S3://bucket/key statement. Is it possible to actually do this?

2 Community Answers

Rich Smith —

Sorry, *referring!

Matillion Agent  

Laura Malins —

Hi Rich

You can use a variable for the bucket name. As you mentioned, you need to give the entire bucket path. I’ve created a variable and given it the value: s3://mtln-lauratest/

When I refer to this variable in the S3 URL location it doesn’t validate but when I run the job it will run and successfully load the file from the bucket.


Post Your Community Answer

To add an answer please login