Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Suppose you have something like:
template: from: uri: "google-storage://{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" serviceAccountKey: "base64:{{serviceAccountKey}}" deleteAfterRead: "{{deleteAfterRead}}"
and you want to have serviceAccountKey as optional parameter. If you prefix the parameter with '?', like
template: from: uri: "google-storage://{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" serviceAccountKey: "base64:{{?serviceAccountKey}}" deleteAfterRead: "{{deleteAfterRead}}"
We'll try to encode the value anyway, even if not specified.