Use this data source to access information about an existing Container Registry scope map.
data "azurerm_container_registry_scope_map" "example" {
name = "example-scope-map"
resource_group_name = "example-resource-group"
container_registry_name = "example-registry"
}
output "actions" {
value = data.azurerm_container_registry_scope_map.example.actions
}
name
- The name of the Container Registry token.container_registry_name
- The Name of the Container Registry where the token exists.resource_group_name
- The Name of the Resource Group where this Container Registry token exists.The following attributes are exported:
id
- The Container Registry scope map ID.
actions
- The actions for the Scope Map.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Container Registry scope map.