1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataform
  5. RepositoryWorkflowConfig
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

gcp.dataform.RepositoryWorkflowConfig

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi

    Example Usage

    Dataform Repository Workflow Config

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const gitRepository = new gcp.sourcerepo.Repository("git_repository", {name: "my/repository"});
    const secret = new gcp.secretmanager.Secret("secret", {
        secretId: "my_secret",
        replication: {
            auto: {},
        },
    });
    const secretVersion = new gcp.secretmanager.SecretVersion("secret_version", {
        secret: secret.id,
        secretData: "secret-data",
    });
    const repository = new gcp.dataform.Repository("repository", {
        name: "dataform_repository",
        region: "us-central1",
        gitRemoteSettings: {
            url: gitRepository.url,
            defaultBranch: "main",
            authenticationTokenSecretVersion: secretVersion.id,
        },
        workspaceCompilationOverrides: {
            defaultDatabase: "database",
            schemaSuffix: "_suffix",
            tablePrefix: "prefix_",
        },
    });
    const releaseConfig = new gcp.dataform.RepositoryReleaseConfig("release_config", {
        project: repository.project,
        region: repository.region,
        repository: repository.name,
        name: "my_release",
        gitCommitish: "main",
        cronSchedule: "0 7 * * *",
        timeZone: "America/New_York",
        codeCompilationConfig: {
            defaultDatabase: "gcp-example-project",
            defaultSchema: "example-dataset",
            defaultLocation: "us-central1",
            assertionSchema: "example-assertion-dataset",
            databaseSuffix: "",
            schemaSuffix: "",
            tablePrefix: "",
            vars: {
                var1: "value",
            },
        },
    });
    const dataformSa = new gcp.serviceaccount.Account("dataform_sa", {
        accountId: "dataform-sa",
        displayName: "Dataform Service Account",
    });
    const workflow = new gcp.dataform.RepositoryWorkflowConfig("workflow", {
        project: repository.project,
        region: repository.region,
        repository: repository.name,
        name: "my_workflow",
        releaseConfig: releaseConfig.id,
        invocationConfig: {
            includedTargets: [
                {
                    database: "gcp-example-project",
                    schema: "example-dataset",
                    name: "target_1",
                },
                {
                    database: "gcp-example-project",
                    schema: "example-dataset",
                    name: "target_2",
                },
            ],
            includedTags: ["tag_1"],
            transitiveDependenciesIncluded: true,
            transitiveDependentsIncluded: true,
            fullyRefreshIncrementalTablesEnabled: false,
            serviceAccount: dataformSa.email,
        },
        cronSchedule: "0 7 * * *",
        timeZone: "America/New_York",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    git_repository = gcp.sourcerepo.Repository("git_repository", name="my/repository")
    secret = gcp.secretmanager.Secret("secret",
        secret_id="my_secret",
        replication=gcp.secretmanager.SecretReplicationArgs(
            auto=gcp.secretmanager.SecretReplicationAutoArgs(),
        ))
    secret_version = gcp.secretmanager.SecretVersion("secret_version",
        secret=secret.id,
        secret_data="secret-data")
    repository = gcp.dataform.Repository("repository",
        name="dataform_repository",
        region="us-central1",
        git_remote_settings=gcp.dataform.RepositoryGitRemoteSettingsArgs(
            url=git_repository.url,
            default_branch="main",
            authentication_token_secret_version=secret_version.id,
        ),
        workspace_compilation_overrides=gcp.dataform.RepositoryWorkspaceCompilationOverridesArgs(
            default_database="database",
            schema_suffix="_suffix",
            table_prefix="prefix_",
        ))
    release_config = gcp.dataform.RepositoryReleaseConfig("release_config",
        project=repository.project,
        region=repository.region,
        repository=repository.name,
        name="my_release",
        git_commitish="main",
        cron_schedule="0 7 * * *",
        time_zone="America/New_York",
        code_compilation_config=gcp.dataform.RepositoryReleaseConfigCodeCompilationConfigArgs(
            default_database="gcp-example-project",
            default_schema="example-dataset",
            default_location="us-central1",
            assertion_schema="example-assertion-dataset",
            database_suffix="",
            schema_suffix="",
            table_prefix="",
            vars={
                "var1": "value",
            },
        ))
    dataform_sa = gcp.serviceaccount.Account("dataform_sa",
        account_id="dataform-sa",
        display_name="Dataform Service Account")
    workflow = gcp.dataform.RepositoryWorkflowConfig("workflow",
        project=repository.project,
        region=repository.region,
        repository=repository.name,
        name="my_workflow",
        release_config=release_config.id,
        invocation_config=gcp.dataform.RepositoryWorkflowConfigInvocationConfigArgs(
            included_targets=[
                gcp.dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs(
                    database="gcp-example-project",
                    schema="example-dataset",
                    name="target_1",
                ),
                gcp.dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs(
                    database="gcp-example-project",
                    schema="example-dataset",
                    name="target_2",
                ),
            ],
            included_tags=["tag_1"],
            transitive_dependencies_included=True,
            transitive_dependents_included=True,
            fully_refresh_incremental_tables_enabled=False,
            service_account=dataform_sa.email,
        ),
        cron_schedule="0 7 * * *",
        time_zone="America/New_York")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/dataform"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/secretmanager"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/serviceaccount"
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/sourcerepo"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		gitRepository, err := sourcerepo.NewRepository(ctx, "git_repository", &sourcerepo.RepositoryArgs{
    			Name: pulumi.String("my/repository"),
    		})
    		if err != nil {
    			return err
    		}
    		secret, err := secretmanager.NewSecret(ctx, "secret", &secretmanager.SecretArgs{
    			SecretId: pulumi.String("my_secret"),
    			Replication: &secretmanager.SecretReplicationArgs{
    				Auto: nil,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		secretVersion, err := secretmanager.NewSecretVersion(ctx, "secret_version", &secretmanager.SecretVersionArgs{
    			Secret:     secret.ID(),
    			SecretData: pulumi.String("secret-data"),
    		})
    		if err != nil {
    			return err
    		}
    		repository, err := dataform.NewRepository(ctx, "repository", &dataform.RepositoryArgs{
    			Name:   pulumi.String("dataform_repository"),
    			Region: pulumi.String("us-central1"),
    			GitRemoteSettings: &dataform.RepositoryGitRemoteSettingsArgs{
    				Url:                              gitRepository.Url,
    				DefaultBranch:                    pulumi.String("main"),
    				AuthenticationTokenSecretVersion: secretVersion.ID(),
    			},
    			WorkspaceCompilationOverrides: &dataform.RepositoryWorkspaceCompilationOverridesArgs{
    				DefaultDatabase: pulumi.String("database"),
    				SchemaSuffix:    pulumi.String("_suffix"),
    				TablePrefix:     pulumi.String("prefix_"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		releaseConfig, err := dataform.NewRepositoryReleaseConfig(ctx, "release_config", &dataform.RepositoryReleaseConfigArgs{
    			Project:      repository.Project,
    			Region:       repository.Region,
    			Repository:   repository.Name,
    			Name:         pulumi.String("my_release"),
    			GitCommitish: pulumi.String("main"),
    			CronSchedule: pulumi.String("0 7 * * *"),
    			TimeZone:     pulumi.String("America/New_York"),
    			CodeCompilationConfig: &dataform.RepositoryReleaseConfigCodeCompilationConfigArgs{
    				DefaultDatabase: pulumi.String("gcp-example-project"),
    				DefaultSchema:   pulumi.String("example-dataset"),
    				DefaultLocation: pulumi.String("us-central1"),
    				AssertionSchema: pulumi.String("example-assertion-dataset"),
    				DatabaseSuffix:  pulumi.String(""),
    				SchemaSuffix:    pulumi.String(""),
    				TablePrefix:     pulumi.String(""),
    				Vars: pulumi.StringMap{
    					"var1": pulumi.String("value"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		dataformSa, err := serviceaccount.NewAccount(ctx, "dataform_sa", &serviceaccount.AccountArgs{
    			AccountId:   pulumi.String("dataform-sa"),
    			DisplayName: pulumi.String("Dataform Service Account"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dataform.NewRepositoryWorkflowConfig(ctx, "workflow", &dataform.RepositoryWorkflowConfigArgs{
    			Project:       repository.Project,
    			Region:        repository.Region,
    			Repository:    repository.Name,
    			Name:          pulumi.String("my_workflow"),
    			ReleaseConfig: releaseConfig.ID(),
    			InvocationConfig: &dataform.RepositoryWorkflowConfigInvocationConfigArgs{
    				IncludedTargets: dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArray{
    					&dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs{
    						Database: pulumi.String("gcp-example-project"),
    						Schema:   pulumi.String("example-dataset"),
    						Name:     pulumi.String("target_1"),
    					},
    					&dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs{
    						Database: pulumi.String("gcp-example-project"),
    						Schema:   pulumi.String("example-dataset"),
    						Name:     pulumi.String("target_2"),
    					},
    				},
    				IncludedTags: pulumi.StringArray{
    					pulumi.String("tag_1"),
    				},
    				TransitiveDependenciesIncluded:       pulumi.Bool(true),
    				TransitiveDependentsIncluded:         pulumi.Bool(true),
    				FullyRefreshIncrementalTablesEnabled: pulumi.Bool(false),
    				ServiceAccount:                       dataformSa.Email,
    			},
    			CronSchedule: pulumi.String("0 7 * * *"),
    			TimeZone:     pulumi.String("America/New_York"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var gitRepository = new Gcp.SourceRepo.Repository("git_repository", new()
        {
            Name = "my/repository",
        });
    
        var secret = new Gcp.SecretManager.Secret("secret", new()
        {
            SecretId = "my_secret",
            Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
            {
                Auto = null,
            },
        });
    
        var secretVersion = new Gcp.SecretManager.SecretVersion("secret_version", new()
        {
            Secret = secret.Id,
            SecretData = "secret-data",
        });
    
        var repository = new Gcp.Dataform.Repository("repository", new()
        {
            Name = "dataform_repository",
            Region = "us-central1",
            GitRemoteSettings = new Gcp.Dataform.Inputs.RepositoryGitRemoteSettingsArgs
            {
                Url = gitRepository.Url,
                DefaultBranch = "main",
                AuthenticationTokenSecretVersion = secretVersion.Id,
            },
            WorkspaceCompilationOverrides = new Gcp.Dataform.Inputs.RepositoryWorkspaceCompilationOverridesArgs
            {
                DefaultDatabase = "database",
                SchemaSuffix = "_suffix",
                TablePrefix = "prefix_",
            },
        });
    
        var releaseConfig = new Gcp.Dataform.RepositoryReleaseConfig("release_config", new()
        {
            Project = repository.Project,
            Region = repository.Region,
            Repository = repository.Name,
            Name = "my_release",
            GitCommitish = "main",
            CronSchedule = "0 7 * * *",
            TimeZone = "America/New_York",
            CodeCompilationConfig = new Gcp.Dataform.Inputs.RepositoryReleaseConfigCodeCompilationConfigArgs
            {
                DefaultDatabase = "gcp-example-project",
                DefaultSchema = "example-dataset",
                DefaultLocation = "us-central1",
                AssertionSchema = "example-assertion-dataset",
                DatabaseSuffix = "",
                SchemaSuffix = "",
                TablePrefix = "",
                Vars = 
                {
                    { "var1", "value" },
                },
            },
        });
    
        var dataformSa = new Gcp.ServiceAccount.Account("dataform_sa", new()
        {
            AccountId = "dataform-sa",
            DisplayName = "Dataform Service Account",
        });
    
        var workflow = new Gcp.Dataform.RepositoryWorkflowConfig("workflow", new()
        {
            Project = repository.Project,
            Region = repository.Region,
            Repository = repository.Name,
            Name = "my_workflow",
            ReleaseConfig = releaseConfig.Id,
            InvocationConfig = new Gcp.Dataform.Inputs.RepositoryWorkflowConfigInvocationConfigArgs
            {
                IncludedTargets = new[]
                {
                    new Gcp.Dataform.Inputs.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs
                    {
                        Database = "gcp-example-project",
                        Schema = "example-dataset",
                        Name = "target_1",
                    },
                    new Gcp.Dataform.Inputs.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs
                    {
                        Database = "gcp-example-project",
                        Schema = "example-dataset",
                        Name = "target_2",
                    },
                },
                IncludedTags = new[]
                {
                    "tag_1",
                },
                TransitiveDependenciesIncluded = true,
                TransitiveDependentsIncluded = true,
                FullyRefreshIncrementalTablesEnabled = false,
                ServiceAccount = dataformSa.Email,
            },
            CronSchedule = "0 7 * * *",
            TimeZone = "America/New_York",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.sourcerepo.Repository;
    import com.pulumi.gcp.sourcerepo.RepositoryArgs;
    import com.pulumi.gcp.secretmanager.Secret;
    import com.pulumi.gcp.secretmanager.SecretArgs;
    import com.pulumi.gcp.secretmanager.inputs.SecretReplicationArgs;
    import com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs;
    import com.pulumi.gcp.secretmanager.SecretVersion;
    import com.pulumi.gcp.secretmanager.SecretVersionArgs;
    import com.pulumi.gcp.dataform.Repository;
    import com.pulumi.gcp.dataform.RepositoryArgs;
    import com.pulumi.gcp.dataform.inputs.RepositoryGitRemoteSettingsArgs;
    import com.pulumi.gcp.dataform.inputs.RepositoryWorkspaceCompilationOverridesArgs;
    import com.pulumi.gcp.dataform.RepositoryReleaseConfig;
    import com.pulumi.gcp.dataform.RepositoryReleaseConfigArgs;
    import com.pulumi.gcp.dataform.inputs.RepositoryReleaseConfigCodeCompilationConfigArgs;
    import com.pulumi.gcp.serviceaccount.Account;
    import com.pulumi.gcp.serviceaccount.AccountArgs;
    import com.pulumi.gcp.dataform.RepositoryWorkflowConfig;
    import com.pulumi.gcp.dataform.RepositoryWorkflowConfigArgs;
    import com.pulumi.gcp.dataform.inputs.RepositoryWorkflowConfigInvocationConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var gitRepository = new Repository("gitRepository", RepositoryArgs.builder()        
                .name("my/repository")
                .build());
    
            var secret = new Secret("secret", SecretArgs.builder()        
                .secretId("my_secret")
                .replication(SecretReplicationArgs.builder()
                    .auto()
                    .build())
                .build());
    
            var secretVersion = new SecretVersion("secretVersion", SecretVersionArgs.builder()        
                .secret(secret.id())
                .secretData("secret-data")
                .build());
    
            var repository = new Repository("repository", RepositoryArgs.builder()        
                .name("dataform_repository")
                .region("us-central1")
                .gitRemoteSettings(RepositoryGitRemoteSettingsArgs.builder()
                    .url(gitRepository.url())
                    .defaultBranch("main")
                    .authenticationTokenSecretVersion(secretVersion.id())
                    .build())
                .workspaceCompilationOverrides(RepositoryWorkspaceCompilationOverridesArgs.builder()
                    .defaultDatabase("database")
                    .schemaSuffix("_suffix")
                    .tablePrefix("prefix_")
                    .build())
                .build());
    
            var releaseConfig = new RepositoryReleaseConfig("releaseConfig", RepositoryReleaseConfigArgs.builder()        
                .project(repository.project())
                .region(repository.region())
                .repository(repository.name())
                .name("my_release")
                .gitCommitish("main")
                .cronSchedule("0 7 * * *")
                .timeZone("America/New_York")
                .codeCompilationConfig(RepositoryReleaseConfigCodeCompilationConfigArgs.builder()
                    .defaultDatabase("gcp-example-project")
                    .defaultSchema("example-dataset")
                    .defaultLocation("us-central1")
                    .assertionSchema("example-assertion-dataset")
                    .databaseSuffix("")
                    .schemaSuffix("")
                    .tablePrefix("")
                    .vars(Map.of("var1", "value"))
                    .build())
                .build());
    
            var dataformSa = new Account("dataformSa", AccountArgs.builder()        
                .accountId("dataform-sa")
                .displayName("Dataform Service Account")
                .build());
    
            var workflow = new RepositoryWorkflowConfig("workflow", RepositoryWorkflowConfigArgs.builder()        
                .project(repository.project())
                .region(repository.region())
                .repository(repository.name())
                .name("my_workflow")
                .releaseConfig(releaseConfig.id())
                .invocationConfig(RepositoryWorkflowConfigInvocationConfigArgs.builder()
                    .includedTargets(                
                        RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs.builder()
                            .database("gcp-example-project")
                            .schema("example-dataset")
                            .name("target_1")
                            .build(),
                        RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs.builder()
                            .database("gcp-example-project")
                            .schema("example-dataset")
                            .name("target_2")
                            .build())
                    .includedTags("tag_1")
                    .transitiveDependenciesIncluded(true)
                    .transitiveDependentsIncluded(true)
                    .fullyRefreshIncrementalTablesEnabled(false)
                    .serviceAccount(dataformSa.email())
                    .build())
                .cronSchedule("0 7 * * *")
                .timeZone("America/New_York")
                .build());
    
        }
    }
    
    resources:
      gitRepository:
        type: gcp:sourcerepo:Repository
        name: git_repository
        properties:
          name: my/repository
      secret:
        type: gcp:secretmanager:Secret
        properties:
          secretId: my_secret
          replication:
            auto: {}
      secretVersion:
        type: gcp:secretmanager:SecretVersion
        name: secret_version
        properties:
          secret: ${secret.id}
          secretData: secret-data
      repository:
        type: gcp:dataform:Repository
        properties:
          name: dataform_repository
          region: us-central1
          gitRemoteSettings:
            url: ${gitRepository.url}
            defaultBranch: main
            authenticationTokenSecretVersion: ${secretVersion.id}
          workspaceCompilationOverrides:
            defaultDatabase: database
            schemaSuffix: _suffix
            tablePrefix: prefix_
      releaseConfig:
        type: gcp:dataform:RepositoryReleaseConfig
        name: release_config
        properties:
          project: ${repository.project}
          region: ${repository.region}
          repository: ${repository.name}
          name: my_release
          gitCommitish: main
          cronSchedule: 0 7 * * *
          timeZone: America/New_York
          codeCompilationConfig:
            defaultDatabase: gcp-example-project
            defaultSchema: example-dataset
            defaultLocation: us-central1
            assertionSchema: example-assertion-dataset
            databaseSuffix:
            schemaSuffix:
            tablePrefix:
            vars:
              var1: value
      dataformSa:
        type: gcp:serviceaccount:Account
        name: dataform_sa
        properties:
          accountId: dataform-sa
          displayName: Dataform Service Account
      workflow:
        type: gcp:dataform:RepositoryWorkflowConfig
        properties:
          project: ${repository.project}
          region: ${repository.region}
          repository: ${repository.name}
          name: my_workflow
          releaseConfig: ${releaseConfig.id}
          invocationConfig:
            includedTargets:
              - database: gcp-example-project
                schema: example-dataset
                name: target_1
              - database: gcp-example-project
                schema: example-dataset
                name: target_2
            includedTags:
              - tag_1
            transitiveDependenciesIncluded: true
            transitiveDependentsIncluded: true
            fullyRefreshIncrementalTablesEnabled: false
            serviceAccount: ${dataformSa.email}
          cronSchedule: 0 7 * * *
          timeZone: America/New_York
    

    Create RepositoryWorkflowConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RepositoryWorkflowConfig(name: string, args: RepositoryWorkflowConfigArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryWorkflowConfig(resource_name: str,
                                 args: RepositoryWorkflowConfigArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def RepositoryWorkflowConfig(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 release_config: Optional[str] = None,
                                 cron_schedule: Optional[str] = None,
                                 invocation_config: Optional[RepositoryWorkflowConfigInvocationConfigArgs] = None,
                                 name: Optional[str] = None,
                                 project: Optional[str] = None,
                                 region: Optional[str] = None,
                                 repository: Optional[str] = None,
                                 time_zone: Optional[str] = None)
    func NewRepositoryWorkflowConfig(ctx *Context, name string, args RepositoryWorkflowConfigArgs, opts ...ResourceOption) (*RepositoryWorkflowConfig, error)
    public RepositoryWorkflowConfig(string name, RepositoryWorkflowConfigArgs args, CustomResourceOptions? opts = null)
    public RepositoryWorkflowConfig(String name, RepositoryWorkflowConfigArgs args)
    public RepositoryWorkflowConfig(String name, RepositoryWorkflowConfigArgs args, CustomResourceOptions options)
    
    type: gcp:dataform:RepositoryWorkflowConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RepositoryWorkflowConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RepositoryWorkflowConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RepositoryWorkflowConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryWorkflowConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryWorkflowConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var repositoryWorkflowConfigResource = new Gcp.Dataform.RepositoryWorkflowConfig("repositoryWorkflowConfigResource", new()
    {
        ReleaseConfig = "string",
        CronSchedule = "string",
        InvocationConfig = new Gcp.Dataform.Inputs.RepositoryWorkflowConfigInvocationConfigArgs
        {
            FullyRefreshIncrementalTablesEnabled = false,
            IncludedTags = new[]
            {
                "string",
            },
            IncludedTargets = new[]
            {
                new Gcp.Dataform.Inputs.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs
                {
                    Database = "string",
                    Name = "string",
                    Schema = "string",
                },
            },
            ServiceAccount = "string",
            TransitiveDependenciesIncluded = false,
            TransitiveDependentsIncluded = false,
        },
        Name = "string",
        Project = "string",
        Region = "string",
        Repository = "string",
        TimeZone = "string",
    });
    
    example, err := dataform.NewRepositoryWorkflowConfig(ctx, "repositoryWorkflowConfigResource", &dataform.RepositoryWorkflowConfigArgs{
    	ReleaseConfig: pulumi.String("string"),
    	CronSchedule:  pulumi.String("string"),
    	InvocationConfig: &dataform.RepositoryWorkflowConfigInvocationConfigArgs{
    		FullyRefreshIncrementalTablesEnabled: pulumi.Bool(false),
    		IncludedTags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncludedTargets: dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArray{
    			&dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs{
    				Database: pulumi.String("string"),
    				Name:     pulumi.String("string"),
    				Schema:   pulumi.String("string"),
    			},
    		},
    		ServiceAccount:                 pulumi.String("string"),
    		TransitiveDependenciesIncluded: pulumi.Bool(false),
    		TransitiveDependentsIncluded:   pulumi.Bool(false),
    	},
    	Name:       pulumi.String("string"),
    	Project:    pulumi.String("string"),
    	Region:     pulumi.String("string"),
    	Repository: pulumi.String("string"),
    	TimeZone:   pulumi.String("string"),
    })
    
    var repositoryWorkflowConfigResource = new RepositoryWorkflowConfig("repositoryWorkflowConfigResource", RepositoryWorkflowConfigArgs.builder()        
        .releaseConfig("string")
        .cronSchedule("string")
        .invocationConfig(RepositoryWorkflowConfigInvocationConfigArgs.builder()
            .fullyRefreshIncrementalTablesEnabled(false)
            .includedTags("string")
            .includedTargets(RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs.builder()
                .database("string")
                .name("string")
                .schema("string")
                .build())
            .serviceAccount("string")
            .transitiveDependenciesIncluded(false)
            .transitiveDependentsIncluded(false)
            .build())
        .name("string")
        .project("string")
        .region("string")
        .repository("string")
        .timeZone("string")
        .build());
    
    repository_workflow_config_resource = gcp.dataform.RepositoryWorkflowConfig("repositoryWorkflowConfigResource",
        release_config="string",
        cron_schedule="string",
        invocation_config=gcp.dataform.RepositoryWorkflowConfigInvocationConfigArgs(
            fully_refresh_incremental_tables_enabled=False,
            included_tags=["string"],
            included_targets=[gcp.dataform.RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs(
                database="string",
                name="string",
                schema="string",
            )],
            service_account="string",
            transitive_dependencies_included=False,
            transitive_dependents_included=False,
        ),
        name="string",
        project="string",
        region="string",
        repository="string",
        time_zone="string")
    
    const repositoryWorkflowConfigResource = new gcp.dataform.RepositoryWorkflowConfig("repositoryWorkflowConfigResource", {
        releaseConfig: "string",
        cronSchedule: "string",
        invocationConfig: {
            fullyRefreshIncrementalTablesEnabled: false,
            includedTags: ["string"],
            includedTargets: [{
                database: "string",
                name: "string",
                schema: "string",
            }],
            serviceAccount: "string",
            transitiveDependenciesIncluded: false,
            transitiveDependentsIncluded: false,
        },
        name: "string",
        project: "string",
        region: "string",
        repository: "string",
        timeZone: "string",
    });
    
    type: gcp:dataform:RepositoryWorkflowConfig
    properties:
        cronSchedule: string
        invocationConfig:
            fullyRefreshIncrementalTablesEnabled: false
            includedTags:
                - string
            includedTargets:
                - database: string
                  name: string
                  schema: string
            serviceAccount: string
            transitiveDependenciesIncluded: false
            transitiveDependentsIncluded: false
        name: string
        project: string
        region: string
        releaseConfig: string
        repository: string
        timeZone: string
    

    RepositoryWorkflowConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RepositoryWorkflowConfig resource accepts the following input properties:

    ReleaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    CronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    InvocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    Name string
    The workflow's name.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Region string
    A reference to the region
    Repository string
    A reference to the Dataform repository
    TimeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    ReleaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    CronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    InvocationConfig RepositoryWorkflowConfigInvocationConfigArgs
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    Name string
    The workflow's name.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Region string
    A reference to the region
    Repository string
    A reference to the Dataform repository
    TimeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    releaseConfig String
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    cronSchedule String
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name String
    The workflow's name.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region String
    A reference to the region
    repository String
    A reference to the Dataform repository
    timeZone String
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    releaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    cronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name string
    The workflow's name.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region string
    A reference to the region
    repository string
    A reference to the Dataform repository
    timeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    release_config str
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    cron_schedule str
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocation_config RepositoryWorkflowConfigInvocationConfigArgs
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name str
    The workflow's name.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region str
    A reference to the region
    repository str
    A reference to the Dataform repository
    time_zone str
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    releaseConfig String
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    cronSchedule String
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig Property Map
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name String
    The workflow's name.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    region String
    A reference to the region
    repository String
    A reference to the Dataform repository
    timeZone String
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RepositoryWorkflowConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RecentScheduledExecutionRecords List<RepositoryWorkflowConfigRecentScheduledExecutionRecord>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    RecentScheduledExecutionRecords []RepositoryWorkflowConfigRecentScheduledExecutionRecord
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    recentScheduledExecutionRecords List<RepositoryWorkflowConfigRecentScheduledExecutionRecord>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    recentScheduledExecutionRecords RepositoryWorkflowConfigRecentScheduledExecutionRecord[]
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    recent_scheduled_execution_records Sequence[RepositoryWorkflowConfigRecentScheduledExecutionRecord]
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    recentScheduledExecutionRecords List<Property Map>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.

    Look up Existing RepositoryWorkflowConfig Resource

    Get an existing RepositoryWorkflowConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RepositoryWorkflowConfigState, opts?: CustomResourceOptions): RepositoryWorkflowConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cron_schedule: Optional[str] = None,
            invocation_config: Optional[RepositoryWorkflowConfigInvocationConfigArgs] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            recent_scheduled_execution_records: Optional[Sequence[RepositoryWorkflowConfigRecentScheduledExecutionRecordArgs]] = None,
            region: Optional[str] = None,
            release_config: Optional[str] = None,
            repository: Optional[str] = None,
            time_zone: Optional[str] = None) -> RepositoryWorkflowConfig
    func GetRepositoryWorkflowConfig(ctx *Context, name string, id IDInput, state *RepositoryWorkflowConfigState, opts ...ResourceOption) (*RepositoryWorkflowConfig, error)
    public static RepositoryWorkflowConfig Get(string name, Input<string> id, RepositoryWorkflowConfigState? state, CustomResourceOptions? opts = null)
    public static RepositoryWorkflowConfig get(String name, Output<String> id, RepositoryWorkflowConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    InvocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    Name string
    The workflow's name.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RecentScheduledExecutionRecords List<RepositoryWorkflowConfigRecentScheduledExecutionRecord>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    Region string
    A reference to the region
    ReleaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    Repository string
    A reference to the Dataform repository
    TimeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    CronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    InvocationConfig RepositoryWorkflowConfigInvocationConfigArgs
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    Name string
    The workflow's name.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    RecentScheduledExecutionRecords []RepositoryWorkflowConfigRecentScheduledExecutionRecordArgs
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    Region string
    A reference to the region
    ReleaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    Repository string
    A reference to the Dataform repository
    TimeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    cronSchedule String
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name String
    The workflow's name.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    recentScheduledExecutionRecords List<RepositoryWorkflowConfigRecentScheduledExecutionRecord>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    region String
    A reference to the region
    releaseConfig String
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    repository String
    A reference to the Dataform repository
    timeZone String
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    cronSchedule string
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig RepositoryWorkflowConfigInvocationConfig
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name string
    The workflow's name.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    recentScheduledExecutionRecords RepositoryWorkflowConfigRecentScheduledExecutionRecord[]
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    region string
    A reference to the region
    releaseConfig string
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    repository string
    A reference to the Dataform repository
    timeZone string
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    cron_schedule str
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocation_config RepositoryWorkflowConfigInvocationConfigArgs
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name str
    The workflow's name.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    recent_scheduled_execution_records Sequence[RepositoryWorkflowConfigRecentScheduledExecutionRecordArgs]
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    region str
    A reference to the region
    release_config str
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    repository str
    A reference to the Dataform repository
    time_zone str
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
    cronSchedule String
    Optional. Optional schedule (in cron format) for automatic creation of compilation results.
    invocationConfig Property Map
    Optional. If left unset, a default InvocationConfig will be used. Structure is documented below.
    name String
    The workflow's name.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    recentScheduledExecutionRecords List<Property Map>
    Records of the 10 most recent scheduled execution attempts, ordered in in descending order of executionTime. Updated whenever automatic creation of a workflow invocation is triggered by cronSchedule. Structure is documented below.
    region String
    A reference to the region
    releaseConfig String
    The name of the release config whose releaseCompilationResult should be executed. Must be in the format projects//locations//repositories//releaseConfigs/.


    repository String
    A reference to the Dataform repository
    timeZone String
    Optional. Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.

    Supporting Types

    RepositoryWorkflowConfigInvocationConfig, RepositoryWorkflowConfigInvocationConfigArgs

    FullyRefreshIncrementalTablesEnabled bool
    Optional. When set to true, any incremental tables will be fully refreshed.
    IncludedTags List<string>
    Optional. The set of tags to include.
    IncludedTargets List<RepositoryWorkflowConfigInvocationConfigIncludedTarget>
    Optional. The set of action identifiers to include. Structure is documented below.
    ServiceAccount string
    Optional. The service account to run workflow invocations under.
    TransitiveDependenciesIncluded bool
    Optional. When set to true, transitive dependencies of included actions will be executed.
    TransitiveDependentsIncluded bool
    Optional. When set to true, transitive dependents of included actions will be executed.
    FullyRefreshIncrementalTablesEnabled bool
    Optional. When set to true, any incremental tables will be fully refreshed.
    IncludedTags []string
    Optional. The set of tags to include.
    IncludedTargets []RepositoryWorkflowConfigInvocationConfigIncludedTarget
    Optional. The set of action identifiers to include. Structure is documented below.
    ServiceAccount string
    Optional. The service account to run workflow invocations under.
    TransitiveDependenciesIncluded bool
    Optional. When set to true, transitive dependencies of included actions will be executed.
    TransitiveDependentsIncluded bool
    Optional. When set to true, transitive dependents of included actions will be executed.
    fullyRefreshIncrementalTablesEnabled Boolean
    Optional. When set to true, any incremental tables will be fully refreshed.
    includedTags List<String>
    Optional. The set of tags to include.
    includedTargets List<RepositoryWorkflowConfigInvocationConfigIncludedTarget>
    Optional. The set of action identifiers to include. Structure is documented below.
    serviceAccount String
    Optional. The service account to run workflow invocations under.
    transitiveDependenciesIncluded Boolean
    Optional. When set to true, transitive dependencies of included actions will be executed.
    transitiveDependentsIncluded Boolean
    Optional. When set to true, transitive dependents of included actions will be executed.
    fullyRefreshIncrementalTablesEnabled boolean
    Optional. When set to true, any incremental tables will be fully refreshed.
    includedTags string[]
    Optional. The set of tags to include.
    includedTargets RepositoryWorkflowConfigInvocationConfigIncludedTarget[]
    Optional. The set of action identifiers to include. Structure is documented below.
    serviceAccount string
    Optional. The service account to run workflow invocations under.
    transitiveDependenciesIncluded boolean
    Optional. When set to true, transitive dependencies of included actions will be executed.
    transitiveDependentsIncluded boolean
    Optional. When set to true, transitive dependents of included actions will be executed.
    fully_refresh_incremental_tables_enabled bool
    Optional. When set to true, any incremental tables will be fully refreshed.
    included_tags Sequence[str]
    Optional. The set of tags to include.
    included_targets Sequence[RepositoryWorkflowConfigInvocationConfigIncludedTarget]
    Optional. The set of action identifiers to include. Structure is documented below.
    service_account str
    Optional. The service account to run workflow invocations under.
    transitive_dependencies_included bool
    Optional. When set to true, transitive dependencies of included actions will be executed.
    transitive_dependents_included bool
    Optional. When set to true, transitive dependents of included actions will be executed.
    fullyRefreshIncrementalTablesEnabled Boolean
    Optional. When set to true, any incremental tables will be fully refreshed.
    includedTags List<String>
    Optional. The set of tags to include.
    includedTargets List<Property Map>
    Optional. The set of action identifiers to include. Structure is documented below.
    serviceAccount String
    Optional. The service account to run workflow invocations under.
    transitiveDependenciesIncluded Boolean
    Optional. When set to true, transitive dependencies of included actions will be executed.
    transitiveDependentsIncluded Boolean
    Optional. When set to true, transitive dependents of included actions will be executed.

    RepositoryWorkflowConfigInvocationConfigIncludedTarget, RepositoryWorkflowConfigInvocationConfigIncludedTargetArgs

    Database string
    The action's database (Google Cloud project ID).
    Name string
    The action's name, within database and schema.
    Schema string
    The action's schema (BigQuery dataset ID), within database.
    Database string
    The action's database (Google Cloud project ID).
    Name string
    The action's name, within database and schema.
    Schema string
    The action's schema (BigQuery dataset ID), within database.
    database String
    The action's database (Google Cloud project ID).
    name String
    The action's name, within database and schema.
    schema String
    The action's schema (BigQuery dataset ID), within database.
    database string
    The action's database (Google Cloud project ID).
    name string
    The action's name, within database and schema.
    schema string
    The action's schema (BigQuery dataset ID), within database.
    database str
    The action's database (Google Cloud project ID).
    name str
    The action's name, within database and schema.
    schema str
    The action's schema (BigQuery dataset ID), within database.
    database String
    The action's database (Google Cloud project ID).
    name String
    The action's name, within database and schema.
    schema String
    The action's schema (BigQuery dataset ID), within database.

    RepositoryWorkflowConfigRecentScheduledExecutionRecord, RepositoryWorkflowConfigRecentScheduledExecutionRecordArgs

    ErrorStatuses List<RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus>
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    ExecutionTime string
    (Output) The timestamp of this workflow attempt.
    WorkflowInvocation string
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.
    ErrorStatuses []RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    ExecutionTime string
    (Output) The timestamp of this workflow attempt.
    WorkflowInvocation string
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.
    errorStatuses List<RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus>
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    executionTime String
    (Output) The timestamp of this workflow attempt.
    workflowInvocation String
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.
    errorStatuses RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus[]
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    executionTime string
    (Output) The timestamp of this workflow attempt.
    workflowInvocation string
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.
    error_statuses Sequence[RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus]
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    execution_time str
    (Output) The timestamp of this workflow attempt.
    workflow_invocation str
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.
    errorStatuses List<Property Map>
    (Output) The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful. Structure is documented below.
    executionTime String
    (Output) The timestamp of this workflow attempt.
    workflowInvocation String
    (Output) The name of the created workflow invocation, if one was successfully created. In the format projects//locations//repositories//workflowInvocations/.

    RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatus, RepositoryWorkflowConfigRecentScheduledExecutionRecordErrorStatusArgs

    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    Code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    Message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Integer
    (Output) The status code, which should be an enum value of google.rpc.Code.
    message String
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    message string
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code int
    (Output) The status code, which should be an enum value of google.rpc.Code.
    message str
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
    code Number
    (Output) The status code, which should be an enum value of google.rpc.Code.
    message String
    (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

    Import

    RepositoryWorkflowConfig can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{region}}/repositories/{{repository}}/workflowConfigs/{{name}}

    • {{project}}/{{region}}/{{repository}}/{{name}}

    • {{region}}/{{repository}}/{{name}}

    • {{repository}}/{{name}}

    When using the pulumi import command, RepositoryWorkflowConfig can be imported using one of the formats above. For example:

    $ pulumi import gcp:dataform/repositoryWorkflowConfig:RepositoryWorkflowConfig default projects/{{project}}/locations/{{region}}/repositories/{{repository}}/workflowConfigs/{{name}}
    
    $ pulumi import gcp:dataform/repositoryWorkflowConfig:RepositoryWorkflowConfig default {{project}}/{{region}}/{{repository}}/{{name}}
    
    $ pulumi import gcp:dataform/repositoryWorkflowConfig:RepositoryWorkflowConfig default {{region}}/{{repository}}/{{name}}
    
    $ pulumi import gcp:dataform/repositoryWorkflowConfig:RepositoryWorkflowConfig default {{repository}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.20.0 published on Wednesday, Apr 24, 2024 by Pulumi