GoogleCloudPlatform / deploymentmanager-samples

Deployment Manager samples and templates.
Apache License 2.0
939 stars 718 forks source link

unable to split the folder name value in jinja file #531

Open SprintCT opened 4 years ago

SprintCT commented 4 years ago

Hi Team,

I'm doing project factory automation in jinja file, However i faced issue while split the folder name and folder id from folder api. Please find the below steps for more details

step1: I have created a folder using below code and it is successfully created.

resources:

Step 2: once created i need the folder id to parse the value in parent->id of project.

I'm getting error that above split command, it is not working. Kindly assist me how to split the above value>

Example: Output of Inline reference value for newly created folder name is : core/123456789 I want to split foldername is core and folderid is 12345678 with above jinja file.