google::repository

Add a repository.

Example

google::repository example
    name: "example-repo"
    location: "us-east1"
    description: "example-description"
    format: DOCKER

    labels:{
        name: "example-repo"
    }
end

Attributes

Attribute Description
name The name of the repository. (Required)
location The region where the repository should be located. (Required)
description The user-provided description of the repository.
format The format of packages that are stored in the repository. Currently the only supported value is DOCKER. (Required)
key The KMS key that’s used to encrypt the contents of the repository.
labels map The set of labels for this repository.

Outputs

Attribute Description
id The ID of the repository.