-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.container.registry.tf
20 lines (18 loc) · 1.08 KB
/
main.container.registry.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module "container_registry" {
count = var.container_registry_creation_enabled ? 1 : 0
source = "./modules/container-registry"
location = var.location
name = local.container_registry_name
resource_group_name = local.resource_group_name
enable_telemetry = var.enable_telemetry
container_compute_identity_principal_id = local.user_assigned_managed_identity_principal_id
use_private_networking = var.use_private_networking
subnet_id = local.container_registry_private_endpoint_subnet_id
private_dns_zone_id = local.container_registry_dns_zone_id
tags = var.tags
images = local.container_images
}
resource "time_sleep" "delay_after_container_image_build" {
create_duration = "${var.delays.delay_after_container_image_build}s"
depends_on = [module.container_registry]
}