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"azuredevops_serviceendpoint_azurecr" {
source="./modules/azuredevops/r/azuredevops_serviceendpoint_azurecr"# authorization - (optional) is a type of map of stringauthorization={}
# azurecr_name - (required) is a type of stringazurecr_name=null# azurecr_spn_tenantid - (required) is a type of stringazurecr_spn_tenantid=null# azurecr_subscription_id - (required) is a type of stringazurecr_subscription_id=null# azurecr_subscription_name - (required) is a type of stringazurecr_subscription_name=null# description - (optional) is a type of stringdescription=null# project_id - (required) is a type of stringproject_id=null# resource_group - (required) is a type of stringresource_group=null# service_endpoint_name - (required) is a type of stringservice_endpoint_name=nulltimeouts=[{
create =null
delete =null
read =null
update =null
}]
}
variable"authorization" {
description="(optional)"type=map(string)
default=null
}
variable"azurecr_name" {
description="(required) - The AzureContainerRegistry registry which should be used."type=string
}
variable"azurecr_spn_tenantid" {
description="(required) - The service principal tenant id which should be used."type=string
}
variable"azurecr_subscription_id" {
description="(required) - The Azure subscription Id which should be used."type=string
}
variable"azurecr_subscription_name" {
description="(required) - The Azure subscription name which should be used."type=string
}
variable"description" {
description="(optional)"type=stringdefault=null
}
variable"project_id" {
description="(required)"type=string
}
variable"resource_group" {
description="(required) - Scope Resource Group"type=string
}
variable"service_endpoint_name" {
description="(required)"type=string
}
variable"timeouts" {
description="nested block: NestingSingle, min items: 0, max items: 0"type=set(object(
{
create =string
delete =string
read =string
update =string
}
))
default=[]
}
resource"azuredevops_serviceendpoint_azurecr""this" {
# authorization - (optional) is a type of map of stringauthorization=var.authorization# azurecr_name - (required) is a type of stringazurecr_name=var.azurecr_name# azurecr_spn_tenantid - (required) is a type of stringazurecr_spn_tenantid=var.azurecr_spn_tenantid# azurecr_subscription_id - (required) is a type of stringazurecr_subscription_id=var.azurecr_subscription_id# azurecr_subscription_name - (required) is a type of stringazurecr_subscription_name=var.azurecr_subscription_name# description - (optional) is a type of stringdescription=var.description# project_id - (required) is a type of stringproject_id=var.project_id# resource_group - (required) is a type of stringresource_group=var.resource_group# service_endpoint_name - (required) is a type of stringservice_endpoint_name=var.service_endpoint_namedynamic"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"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}