I've created a deployment manager template in python which generates the resource names at runtime so as to create multiple deployments with the same template on google cloud platform. I need to expose external IP address of web server through output after successful deployment. I've added following in my python template:
def GenerateConfig(context):
outputs = []
resources = [
{
} ]
outputs.append({'name': name,
'value': value})
return {'resources': resources, 'outputs': outputs}
The problem is, the output is not getting displayed on the console, however, I can see it in the deployment layout.