You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"google_artifact_registry_repository" {
source="./modules/google-beta/r/google_artifact_registry_repository"# description - (optional) is a type of stringdescription=null# format - (required) is a type of stringformat=null# kms_key_name - (optional) is a type of stringkms_key_name=null# labels - (optional) is a type of map of stringlabels={}
# location - (optional) is a type of stringlocation=null# project - (optional) is a type of stringproject=null# repository_id - (required) is a type of stringrepository_id=nulltimeouts=[{
create =null
delete =null
update =null
}]
}
variable"description" {
description="(optional) - The user-provided description of the repository."type=stringdefault=null
}
variable"format" {
description="(required) - The format of packages that are stored in the repository."type=string
}
variable"kms_key_name" {
description="(optional) - The Cloud KMS resource name of the customer managed encryption key that’s\nused to encrypt the contents of the Repository. Has the form:\n'projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key'.\nThis value may not be changed after the Repository has been created."type=stringdefault=null
}
variable"labels" {
description="(optional) - Labels with user-defined metadata.\nThis field may contain up to 64 entries. Label keys and values may be no\nlonger than 63 characters. Label keys must begin with a lowercase letter\nand may only contain lowercase letters, numeric characters, underscores,\nand dashes."type=map(string)
default=null
}
variable"location" {
description="(optional) - The name of the location this repository is located in."type=stringdefault=null
}
variable"project" {
description="(optional)"type=stringdefault=null
}
variable"repository_id" {
description="(required) - The last part of the repository name, for example:\n\"repo1\""type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
update =string
}
))
default=[]
}
resource"google_artifact_registry_repository""this" {
# description - (optional) is a type of stringdescription=var.description# format - (required) is a type of stringformat=var.format# kms_key_name - (optional) is a type of stringkms_key_name=var.kms_key_name# labels - (optional) is a type of map of stringlabels=var.labels# location - (optional) is a type of stringlocation=var.location# project - (optional) is a type of stringproject=var.project# repository_id - (required) is a type of stringrepository_id=var.repository_iddynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}