I need to define a NIC for my windows substrate as a variable.
current workflow:
User selects subnet string from predefined variable >
Pre-Create Parses and sets the subnet variable to the json from previous step.
The NIC can be connected to
one of n(x) subnets that are defined in the following escript:
subnet1 = { "name": "name", "uuid": "redacted_uuid" }subnet2 = { "name": "name", "uuid": "redacted_uuid" }subnet3 = { "name": "name", "uuid": "redacted_uuid" }subnets = { "Preprod": subnet1, "Preprod": subnet2, "Prod-IaaS": subnet3 }print("{}".format(json.dumps(subnets.get("@@{appSubnet}@@"))))
Output: @@{setSubnet}@@
Profile Configuration:
This is where it breaks: