-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
54 lines (44 loc) · 1.55 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
# ECR
output "ecr_repository" {
description = "The ECR repository Terraform object."
value = module.ecr.repository
}
output "ecr" {
description = "The ECR repository module outputs. Contains both 'repository' and 'encryption_key' attributes, that are the ECR repository and KMS encryption key Terraform object respectively."
value = module.ecr
}
# Glue
output "glue" {
description = "The Glue module outputs. Contains both 'retraining_job' and 'retraining_role' attributes, that are the Glue retraining job and IAM role Terraform objects respectively."
value = one(module.retraining_job[*])
}
output "glue_retraining_role" {
description = "The Glue retraining job IAM role Terraform object."
value = one(module.retraining_job[*].retraining_role)
}
# S3
output "config_bucket" {
description = "Config S3 Bucket Terraform object"
value = module.s3.config_bucket
}
output "model_bucket" {
description = "Model S3 Bucket Terraform object"
value = module.s3.model_bucket
}
output "s3_encryption_key" {
description = "S3 encryption KMS key Terraform Object"
value = module.s3.encryption_key
}
# Sagemaker
output "sagemaker_notebook_instance" {
description = "Sagemaker notebook instance Terraform object"
value = module.sagemaker.notebook_instance
}
output "sagemaker_endpoint_name" {
description = "Sagemaker model endpoint name"
value = module.sagemaker.endpoint_name
}
output "sagemaker_model_name" {
description = "Sagemaker model name"
value = module.sagemaker.model_name
}