We've moved!
You can find our new documentation site and support forum for posting questions here.

Variable that refers to workspace bucket

jgouldjgould GouldMember ✭✭

It would be nice to be able to enter:

instead of having to copy and bucket the bucket id:

0 votes

Active · Last Updated


  • mbemismbemis Cambridge, MAMember, Broadie ✭✭
    edited June 2018

    You can accomplish something like this by setting a workspace attribute with the bucket name as the value. For example, you create a workspace attribute called BUCKET with the value gs://fc-fb46edeb-f05e-45c9-88f7-9ef83d8f1aac

    You could then take that in as an input to your workflow using the expression workspace.BUCKET. Your method would need to be written to append the bucket name in front of all of the filenames that you use as inputs.

    I agree, it might be nice to have this feature built in, but this should be a decent workaround if you'd like to emulate the functionality.

  • jgouldjgould GouldMember ✭✭

    It's a fine workaround for me, but I'm afraid it's not for someone new to FireCloud and cloud computing.

  • KateNKateN Cambridge, MAMember, Broadie, Moderator admin

    I've added it as a feature request to our board. Thank you for the suggestion, and I hope the workaround is effective enough for now.

Sign In or Register to comment.