forked from cloudposse/terraform-aws-ecr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
executable file
·54 lines (44 loc) · 1.52 KB
/
output.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
output "registry_id" {
value = "${aws_ecr_repository.default.registry_id}"
description = "Registry ID"
}
output "registry_url" {
value = "${aws_ecr_repository.default.repository_url}"
description = "Registry URL"
}
output "repository_name" {
value = "${aws_ecr_repository.default.name}"
description = "Registry name"
}
output "role_name" {
value = "${join("", aws_iam_role.default.*.name)}"
description = "Assume Role name to get registry access"
}
output "role_arn" {
value = "${join("", aws_iam_role.default.*.arn)}"
description = "Assume Role ARN to get registry access"
}
output "policy_login_name" {
value = "${aws_iam_policy.login.name}"
description = "The IAM Policy name to be given access to login in ECR"
}
output "policy_login_arn" {
value = "${aws_iam_policy.login.arn}"
description = "The IAM Policy ARN to be given access to login in ECR"
}
output "policy_read_name" {
value = "${aws_iam_policy.read.name}"
description = "The IAM Policy name to be given access to pull images from ECR"
}
output "policy_read_arn" {
value = "${aws_iam_policy.read.arn}"
description = "The IAM Policy ARN to be given access to pull images from ECR"
}
output "policy_write_name" {
value = "${aws_iam_policy.write.name}"
description = "The IAM Policy name to be given access to push images to ECR"
}
output "policy_write_arn" {
value = "${aws_iam_policy.write.arn}"
description = "The IAM Policy ARN to be given access to push images to ECR"
}