F5Networks / f5-google-gdm-templates

Google Deployment Templates for quickly deploying BIG-IP services in Google Cloud Platform
28 stars 45 forks source link

Custom image requires template edits to param sourceImage - resource cannot be found #47

Closed JeffGiroux closed 1 year ago

JeffGiroux commented 4 years ago

Do you already have an issue opened with F5 support?

No

Description

I want to use a custom image I uploaded to Google into my project. The current template python code is coded to populate sourceImage with a path containing the F5 public project instead of my project. As a result, the GDM template fails and says image is not found.

Please provide a new parameter to allow custom user image IDs. If value is present, then python code should substitute project ID accordingly in sourceImage value below.

Code in question:

'sourceImage': ''.join([COMPUTE_URL_BASE, 'projects/f5-7626-networks-public',
  '/global/images/',
  context.properties['imageName'],
  ])

Workaround = edit python code, replace project ID

'sourceImage': ''.join([COMPUTE_URL_BASE, 'projects/myproject123',
  '/global/images/',
  context.properties['imageName'],
  ])

Template

All google templates

Severity Level

3

shyawnkarim commented 4 years ago

Thanks for reporting this enhancement request. I've created Jira ticket, internal ID ESECLDTPLT-2031.

shyawnkarim commented 1 year ago

Closing due to age. These legacy templates are now in maintenance mode and are being replaced by our next-generation templates available in the Cloud Templates 2.0 GitHub repo.