gcp.gemini.RepositoryGroup
Explore with Pulumi AI
The resource for managing Repository Group for Gemini Code Assist.
To get more information about RepositoryGroup, see:
Example Usage
Gemini Repository Group Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example = new gcp.gemini.RepositoryGroup("example", {
    location: "us-central1",
    codeRepositoryIndex: "example-cri",
    repositoryGroupId: "example-repository-group",
    repositories: [{
        resource: "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
        branchPattern: "main",
    }],
    labels: {
        label1: "value1",
    },
});
import pulumi
import pulumi_gcp as gcp
example = gcp.gemini.RepositoryGroup("example",
    location="us-central1",
    code_repository_index="example-cri",
    repository_group_id="example-repository-group",
    repositories=[{
        "resource": "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
        "branch_pattern": "main",
    }],
    labels={
        "label1": "value1",
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/gemini"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := gemini.NewRepositoryGroup(ctx, "example", &gemini.RepositoryGroupArgs{
			Location:            pulumi.String("us-central1"),
			CodeRepositoryIndex: pulumi.String("example-cri"),
			RepositoryGroupId:   pulumi.String("example-repository-group"),
			Repositories: gemini.RepositoryGroupRepositoryArray{
				&gemini.RepositoryGroupRepositoryArgs{
					Resource:      pulumi.String("projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo"),
					BranchPattern: pulumi.String("main"),
				},
			},
			Labels: pulumi.StringMap{
				"label1": pulumi.String("value1"),
			},
		})
		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 example = new Gcp.Gemini.RepositoryGroup("example", new()
    {
        Location = "us-central1",
        CodeRepositoryIndex = "example-cri",
        RepositoryGroupId = "example-repository-group",
        Repositories = new[]
        {
            new Gcp.Gemini.Inputs.RepositoryGroupRepositoryArgs
            {
                Resource = "projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo",
                BranchPattern = "main",
            },
        },
        Labels = 
        {
            { "label1", "value1" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gemini.RepositoryGroup;
import com.pulumi.gcp.gemini.RepositoryGroupArgs;
import com.pulumi.gcp.gemini.inputs.RepositoryGroupRepositoryArgs;
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 example = new RepositoryGroup("example", RepositoryGroupArgs.builder()
            .location("us-central1")
            .codeRepositoryIndex("example-cri")
            .repositoryGroupId("example-repository-group")
            .repositories(RepositoryGroupRepositoryArgs.builder()
                .resource("projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo")
                .branchPattern("main")
                .build())
            .labels(Map.of("label1", "value1"))
            .build());
    }
}
resources:
  example:
    type: gcp:gemini:RepositoryGroup
    properties:
      location: us-central1
      codeRepositoryIndex: example-cri
      repositoryGroupId: example-repository-group
      repositories:
        - resource: projects/example-project/locations/us-central1/connections/example-connection/gitRepositoryLinks/example-repo
          branchPattern: main
      labels:
        label1: value1
Create RepositoryGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RepositoryGroup(name: string, args: RepositoryGroupArgs, opts?: CustomResourceOptions);@overload
def RepositoryGroup(resource_name: str,
                    args: RepositoryGroupArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def RepositoryGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    code_repository_index: Optional[str] = None,
                    location: Optional[str] = None,
                    repositories: Optional[Sequence[RepositoryGroupRepositoryArgs]] = None,
                    repository_group_id: Optional[str] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    project: Optional[str] = None)func NewRepositoryGroup(ctx *Context, name string, args RepositoryGroupArgs, opts ...ResourceOption) (*RepositoryGroup, error)public RepositoryGroup(string name, RepositoryGroupArgs args, CustomResourceOptions? opts = null)
public RepositoryGroup(String name, RepositoryGroupArgs args)
public RepositoryGroup(String name, RepositoryGroupArgs args, CustomResourceOptions options)
type: gcp:gemini:RepositoryGroup
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 RepositoryGroupArgs
- 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 RepositoryGroupArgs
- 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 RepositoryGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RepositoryGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RepositoryGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var repositoryGroupResource = new Gcp.Gemini.RepositoryGroup("repositoryGroupResource", new()
{
    CodeRepositoryIndex = "string",
    Location = "string",
    Repositories = new[]
    {
        new Gcp.Gemini.Inputs.RepositoryGroupRepositoryArgs
        {
            BranchPattern = "string",
            Resource = "string",
        },
    },
    RepositoryGroupId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
example, err := gemini.NewRepositoryGroup(ctx, "repositoryGroupResource", &gemini.RepositoryGroupArgs{
	CodeRepositoryIndex: pulumi.String("string"),
	Location:            pulumi.String("string"),
	Repositories: gemini.RepositoryGroupRepositoryArray{
		&gemini.RepositoryGroupRepositoryArgs{
			BranchPattern: pulumi.String("string"),
			Resource:      pulumi.String("string"),
		},
	},
	RepositoryGroupId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
var repositoryGroupResource = new RepositoryGroup("repositoryGroupResource", RepositoryGroupArgs.builder()
    .codeRepositoryIndex("string")
    .location("string")
    .repositories(RepositoryGroupRepositoryArgs.builder()
        .branchPattern("string")
        .resource("string")
        .build())
    .repositoryGroupId("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
repository_group_resource = gcp.gemini.RepositoryGroup("repositoryGroupResource",
    code_repository_index="string",
    location="string",
    repositories=[{
        "branch_pattern": "string",
        "resource": "string",
    }],
    repository_group_id="string",
    labels={
        "string": "string",
    },
    project="string")
const repositoryGroupResource = new gcp.gemini.RepositoryGroup("repositoryGroupResource", {
    codeRepositoryIndex: "string",
    location: "string",
    repositories: [{
        branchPattern: "string",
        resource: "string",
    }],
    repositoryGroupId: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
type: gcp:gemini:RepositoryGroup
properties:
    codeRepositoryIndex: string
    labels:
        string: string
    location: string
    project: string
    repositories:
        - branchPattern: string
          resource: string
    repositoryGroupId: string
RepositoryGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RepositoryGroup resource accepts the following input properties:
- CodeRepository stringIndex 
- Required. Id of the Code Repository Index.
- Location string
- The location of the Code Repository Index, for example us-central1.
- Repositories
List<RepositoryGroup Repository> 
- Required. List of repositories to group. Structure is documented below.
- RepositoryGroup stringId 
- Required. Id of the Repository Group.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Project string
- CodeRepository stringIndex 
- Required. Id of the Code Repository Index.
- Location string
- The location of the Code Repository Index, for example us-central1.
- Repositories
[]RepositoryGroup Repository Args 
- Required. List of repositories to group. Structure is documented below.
- RepositoryGroup stringId 
- Required. Id of the Repository Group.
- Labels map[string]string
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Project string
- codeRepository StringIndex 
- Required. Id of the Code Repository Index.
- location String
- The location of the Code Repository Index, for example us-central1.
- repositories
List<RepositoryGroup Repository> 
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup StringId 
- Required. Id of the Repository Group.
- labels Map<String,String>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- project String
- codeRepository stringIndex 
- Required. Id of the Code Repository Index.
- location string
- The location of the Code Repository Index, for example us-central1.
- repositories
RepositoryGroup Repository[] 
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup stringId 
- Required. Id of the Repository Group.
- labels {[key: string]: string}
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- project string
- code_repository_ strindex 
- Required. Id of the Code Repository Index.
- location str
- The location of the Code Repository Index, for example us-central1.
- repositories
Sequence[RepositoryGroup Repository Args] 
- Required. List of repositories to group. Structure is documented below.
- repository_group_ strid 
- Required. Id of the Repository Group.
- labels Mapping[str, str]
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- project str
- codeRepository StringIndex 
- Required. Id of the Code Repository Index.
- location String
- The location of the Code Repository Index, for example us-central1.
- repositories List<Property Map>
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup StringId 
- Required. Id of the Repository Group.
- labels Map<String>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the RepositoryGroup resource produces the following output properties:
- CreateTime string
- Output only. Create time stamp.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Immutable. Identifier. Name of Repository Group.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- Output only. Update time stamp.
- CreateTime string
- Output only. Create time stamp.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Immutable. Identifier. Name of Repository Group.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- UpdateTime string
- Output only. Update time stamp.
- createTime String
- Output only. Create time stamp.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Immutable. Identifier. Name of Repository Group.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- Output only. Update time stamp.
- createTime string
- Output only. Create time stamp.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Immutable. Identifier. Name of Repository Group.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime string
- Output only. Update time stamp.
- create_time str
- Output only. Create time stamp.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Immutable. Identifier. Name of Repository Group.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- update_time str
- Output only. Update time stamp.
- createTime String
- Output only. Create time stamp.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Immutable. Identifier. Name of Repository Group.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- updateTime String
- Output only. Update time stamp.
Look up Existing RepositoryGroup Resource
Get an existing RepositoryGroup 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?: RepositoryGroupState, opts?: CustomResourceOptions): RepositoryGroup@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        code_repository_index: Optional[str] = None,
        create_time: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        repositories: Optional[Sequence[RepositoryGroupRepositoryArgs]] = None,
        repository_group_id: Optional[str] = None,
        update_time: Optional[str] = None) -> RepositoryGroupfunc GetRepositoryGroup(ctx *Context, name string, id IDInput, state *RepositoryGroupState, opts ...ResourceOption) (*RepositoryGroup, error)public static RepositoryGroup Get(string name, Input<string> id, RepositoryGroupState? state, CustomResourceOptions? opts = null)public static RepositoryGroup get(String name, Output<String> id, RepositoryGroupState state, CustomResourceOptions options)resources:  _:    type: gcp:gemini:RepositoryGroup    get:      id: ${id}- 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.
- CodeRepository stringIndex 
- Required. Id of the Code Repository Index.
- CreateTime string
- Output only. Create time stamp.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Location string
- The location of the Code Repository Index, for example us-central1.
- Name string
- Immutable. Identifier. Name of Repository Group.
- Project string
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Repositories
List<RepositoryGroup Repository> 
- Required. List of repositories to group. Structure is documented below.
- RepositoryGroup stringId 
- Required. Id of the Repository Group.
- UpdateTime string
- Output only. Update time stamp.
- CodeRepository stringIndex 
- Required. Id of the Code Repository Index.
- CreateTime string
- Output only. Create time stamp.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Labels map[string]string
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- Location string
- The location of the Code Repository Index, for example us-central1.
- Name string
- Immutable. Identifier. Name of Repository Group.
- Project string
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Repositories
[]RepositoryGroup Repository Args 
- Required. List of repositories to group. Structure is documented below.
- RepositoryGroup stringId 
- Required. Id of the Repository Group.
- UpdateTime string
- Output only. Update time stamp.
- codeRepository StringIndex 
- Required. Id of the Code Repository Index.
- createTime String
- Output only. Create time stamp.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String,String>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- location String
- The location of the Code Repository Index, for example us-central1.
- name String
- Immutable. Identifier. Name of Repository Group.
- project String
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- repositories
List<RepositoryGroup Repository> 
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup StringId 
- Required. Id of the Repository Group.
- updateTime String
- Output only. Update time stamp.
- codeRepository stringIndex 
- Required. Id of the Code Repository Index.
- createTime string
- Output only. Create time stamp.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels {[key: string]: string}
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- location string
- The location of the Code Repository Index, for example us-central1.
- name string
- Immutable. Identifier. Name of Repository Group.
- project string
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- repositories
RepositoryGroup Repository[] 
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup stringId 
- Required. Id of the Repository Group.
- updateTime string
- Output only. Update time stamp.
- code_repository_ strindex 
- Required. Id of the Code Repository Index.
- create_time str
- Output only. Create time stamp.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Mapping[str, str]
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- location str
- The location of the Code Repository Index, for example us-central1.
- name str
- Immutable. Identifier. Name of Repository Group.
- project str
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- repositories
Sequence[RepositoryGroup Repository Args] 
- Required. List of repositories to group. Structure is documented below.
- repository_group_ strid 
- Required. Id of the Repository Group.
- update_time str
- Output only. Update time stamp.
- codeRepository StringIndex 
- Required. Id of the Code Repository Index.
- createTime String
- Output only. Create time stamp.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- labels Map<String>
- Optional. Labels as key value pairs. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
- location String
- The location of the Code Repository Index, for example us-central1.
- name String
- Immutable. Identifier. Name of Repository Group.
- project String
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- repositories List<Property Map>
- Required. List of repositories to group. Structure is documented below.
- repositoryGroup StringId 
- Required. Id of the Repository Group.
- updateTime String
- Output only. Update time stamp.
Supporting Types
RepositoryGroupRepository, RepositoryGroupRepositoryArgs      
- BranchPattern string
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- Resource string
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
- BranchPattern string
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- Resource string
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
- branchPattern String
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- resource String
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
- branchPattern string
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- resource string
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
- branch_pattern str
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- resource str
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
- branchPattern String
- Required. The Git branch pattern used for indexing in RE2 syntax.
See https://github.com/google/re2/wiki/syntax for syntax.
- resource String
- Required. The DeveloperConnect repository full resource name, relative resource name or resource URL to be indexed.
Import
RepositoryGroup can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/codeRepositoryIndexes/{{code_repository_index}}/repositoryGroups/{{repository_group_id}}
- {{project}}/{{location}}/{{code_repository_index}}/{{repository_group_id}}
- {{location}}/{{code_repository_index}}/{{repository_group_id}}
When using the pulumi import command, RepositoryGroup can be imported using one of the formats above. For example:
$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default projects/{{project}}/locations/{{location}}/codeRepositoryIndexes/{{code_repository_index}}/repositoryGroups/{{repository_group_id}}
$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default {{project}}/{{location}}/{{code_repository_index}}/{{repository_group_id}}
$ pulumi import gcp:gemini/repositoryGroup:RepositoryGroup default {{location}}/{{code_repository_index}}/{{repository_group_id}}
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-betaTerraform Provider.