forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
39 lines (32 loc) · 913 Bytes
/
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
output "template" {
value = file(local.template_file)
description = "Content of the template, used for rendering"
}
output "content" {
value = local.content
description = "Raw content of the cloud config in YAML format"
}
output "base64" {
value = base64encode(local.content)
description = "Base64 encoded content of the cloud config"
}
output "base64gzip" {
value = base64gzip(local.content)
description = "Base64 encoded + Gzipped content of the cloud config"
}
output "md5sum" {
value = md5(local.content)
description = "Hash sum of the content"
}
output "sha1sum" {
value = sha1(local.content)
description = "Hash sum of the content"
}
output "sha256sum" {
value = sha256(local.content)
description = "Hash sum of the content"
}
output "sha512sum" {
value = sha512(local.content)
description = "Hash sum of the content"
}