diff --git a/libs/wingsdk/src/target-tf-gcp/platform.ts b/libs/wingsdk/src/target-tf-gcp/platform.ts index e01735e40e5..8d2adb913c0 100644 --- a/libs/wingsdk/src/target-tf-gcp/platform.ts +++ b/libs/wingsdk/src/target-tf-gcp/platform.ts @@ -29,7 +29,7 @@ export class Platform implements IPlatform { ...args: any[] ): any { const Type = this.resolveType(type); - if (!Type) { + if (Type) { return new Type(scope, id, ...args); }