Are you getting a warning message deploying from Marketplace on GCP?

Recently, the fine folks over at Google Cloud have decided it is time to upgrade their deployment engine support from Python 2 to Python 3. This has nothing to do with the code running on the VMs, just the code that is used to deploy the VMs. As a first step, Google Engineers created a step that scans the Python code during deployment, and flags a warning if there is an incompatibility with Python 3. Why am I telling you this? Because one of the bits of code the GCP provided for vendors that utilize their marketplace trips this scan, and displays a warning. The warning looks like this:

The template is incompatible with Python3. Please fix the following errors: Exception in Traceback (most recent call last): return constructorm File "", line 181, in GenerateConfig File "", line 154, in _Waiter File "", line 124, in _WaiterDependsOn AttributeError: module 'types' has no attribute 'StringTypes' Resource: Resource: config

This warning can be safely ignored, the deployment will run as expected, and is being addressed with Google.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file