Skip to content

Commit

Permalink
Accept provider interface for google beta to avoid version lock (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
chokoswitch authored Jul 26, 2024
1 parent cce0166 commit e3061f0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/gcp-project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ import { ServiceAccount } from "@cdktf/provider-google/lib/service-account";
import { ServiceAccountIamMember } from "@cdktf/provider-google/lib/service-account-iam-member";
import { StorageBucket } from "@cdktf/provider-google/lib/storage-bucket";
import { StorageBucketIamMember } from "@cdktf/provider-google/lib/storage-bucket-iam-member";
import { type ITerraformDependable, TerraformOutput } from "cdktf";
import {
type ITerraformDependable,
TerraformOutput,
type TerraformProvider,
} from "cdktf";
import { Construct } from "constructs";

/** Configuration of a {@link GcpProject}. */
Expand Down Expand Up @@ -52,7 +56,7 @@ export interface GcpProjectConfig {
* The {@link GoogleBetaProvider} to use for enabling beta features in the
* project.
*/
googleBeta: GoogleBetaProvider;
googleBeta: TerraformProvider;

/**
* Any dependencies that should complete before project creation.
Expand Down

0 comments on commit e3061f0

Please sign in to comment.