Fixup the GKE Rails Applicaton to adhere to Pulumi 2.0 code style
MODIFY
gcp-ts-k8s-ruby-on-rails-postgresql/infra/config.ts
gcp-ts-k8s-ruby-on-rails-postgresql/infra/config.ts
@@ -18,4 +18,4 @@ export const clusterNodeCount = config.getNumber("clusterNodeCount") || 3;
export const clusterNodeMachineType = config.get("clusterNodeMachineType") || "n1-standard-1";
export const clusterUsername = config.get("clusterUsername") || "admin";
export const clusterPassword = config.require("clusterPassword");
-export const masterVersion = config.get("masterVersion") || gcp.container.getEngineVersions().latestMasterVersion;
+export const masterVersion = config.get("masterVersion") || gcp.container.getEngineVersions().then(x=> x.latestMasterVersion);

Fixup the GKE Rails Applicaton to adhere to Pulumi 2.0 code style