googleArtifactRegistryRepository
Get information about a Google Artifact Registry Repository. For more information see the official documentation and API.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleArtifactRegistryRepository.DataGoogleArtifactRegistryRepository(
this,
"my-repo",
{
location: "us-central1",
repository_id: "my-repository",
}
);
Argument Reference
The following arguments are supported:
-
repositoryId
- (Required) The last part of the repository name. -
location
- (Required) The location of the artifact registry repository. eg us-central1
project
- (Optional) The project in which the resource belongs. If it is not provided, the provider project is used.
Attributes Reference
See google_artifact_registry_repository resource for details of the available attributes.