forked from aws-ia/terraform-awscc-dropshare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
39 lines (32 loc) · 1004 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 "access_key_id" {
description = "IAM Access Key."
value = aws_iam_access_key.main.id
}
output "bucket_id" {
description = "S3 Bucket ARN."
value = aws_s3_bucket.main.arn
}
output "bucket_name" {
description = "S3 Bucket Name."
value = aws_s3_bucket.main.id
}
output "region" {
description = "S3 Bucket Region."
value = data.aws_region.current.name
}
output "secret_key" {
description = "(encrypted) IAM Secret Key."
value = aws_iam_access_key.main.encrypted_secret
}
output "secret_key_decrypt_command_prepend" {
description = "Prepended part of Command to decrypt IAM Secret Key."
value = "terraform output -raw"
}
output "secret_key_decrypt_command_append" {
description = "Appended part of Command to decrypt IAM Secret Key."
value = "| base64 --decode | keybase pgp decrypt"
}
output "domain_alias" {
description = "Domain Alias for CloudFront Distribution."
value = aws_acm_certificate.main.domain_name
}