-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathoutputs.tf
62 lines (51 loc) · 1.85 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
output "name" {
description = "The name of the registry."
value = local.metadata.name
}
output "id" {
description = "The ID of the registry."
value = aws_ecr_registry_scanning_configuration.this.registry_id
}
output "policy_version" {
description = "The policy version of ECR registry."
value = aws_ecr_account_setting.registry_policy_scope.value
}
output "policy" {
description = "The registry policy."
value = one(aws_ecr_registry_policy.this[*].policy)
}
output "replication_policies" {
description = "A list of replication policies for ECR Registry."
value = var.replication_policies
}
output "replication_rules" {
description = "A list of replication rules for ECR Registry."
value = var.replication_rules
}
output "pull_through_cache_policies" {
description = "A list of Pull Through Cache policies for ECR Registry."
value = var.pull_through_cache_policies
}
output "pull_through_cache_rules" {
description = "A list of Pull Through Cache Rules for ECR registry."
value = var.pull_through_cache_rules
}
output "scanning_type" {
description = "The scanning type to set for the registry."
value = aws_ecr_registry_scanning_configuration.this.scan_type
}
output "scanning_basic_version" {
description = "The version of basic scanning for the registry."
value = aws_ecr_account_setting.basic_scan_type_version.value
}
output "scanning_rules" {
description = "A list of scanning rules to determine which repository filters are used and at what frequency scanning will occur."
value = var.scanning_rules
}
# output "debug" {
# value = {
# pull_through_cache_rules = aws_ecr_pull_through_cache_rule.this
# replication_rules = aws_ecr_replication_configuration.this
# scanning_rules = aws_ecr_registry_scanning_configuration.this
# }
# }