This repository was archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoutputs.tf
More file actions
74 lines (60 loc) · 2.96 KB
/
outputs.tf
File metadata and controls
74 lines (60 loc) · 2.96 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
output "region" {
description = "AWS region"
value = local.region
}
output "cluster_name" {
description = "Kubernetes Cluster Name"
value = module.cluster_k8s.cluster_name
}
output "cluster_serviceaccount_role_arn" {
description = "Amazon Resource Name (ARN) specifying the role."
value = module.cluster_k8s.serviceaccount_role_arn
}
output "cluster_serviceaccount_name" {
description = "Kubernetes ServiceAccount name"
value = module.cluster_k8s.serviceaccount_name
}
output "repository_url_api_catalogo" {
description = "The URL of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName)."
value = module.registry_api_catalogo.repository_url
}
output "docker_login_api_catalogo" {
description = "Log in to Amazon ECR: run the following command to authenticate Docker to the Amazon ECR registry"
value = "aws ecr get-login-password --region ${local.region} | docker login --username AWS --password-stdin ${module.registry_api_catalogo.repository_url}"
}
output "repository_url_api_pedidos" {
description = "The URL of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName)."
value = module.registry_api_pedidos.repository_url
}
output "docker_login_api_pedidos" {
description = "Log in to Amazon ECR: run the following command to authenticate Docker to the Amazon ECR registry"
value = "aws ecr get-login-password --region ${local.region} | docker login --username AWS --password-stdin ${module.registry_api_pedidos.repository_url}"
}
output "repository_url_api_pagamentos" {
description = "The URL of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName)."
value = module.registry_api_pagamentos.repository_url
}
output "docker_login_api_pagamentos" {
description = "Log in to Amazon ECR: run the following command to authenticate Docker to the Amazon ECR registry"
value = "aws ecr get-login-password --region ${local.region} | docker login --username AWS --password-stdin ${module.registry_api_pagamentos.repository_url}"
}
output "mercadopago_secret_name" {
description = "Friendly name of the new secret."
value = module.secrets_cognito.secretsmanager_secret_name
}
output "cognito_user_pool_id" {
description = "ID of the user pool."
value = module.cognito_idp.cognito_user_pool_id
}
output "cognito_user_pool_client_id" {
description = "Unique identifier for the user pool client."
value = module.cognito_idp.cognito_user_pool_client_id
}
output "cognito_secret_name" {
description = "Friendly name of the new secret."
value = module.secrets_cognito.secretsmanager_secret_name
}
output "configure_kubectl" {
description = "Configure kubectl: make sure you're logged in with the correct AWS profile and run the following command to update your kubeconfig"
value = "aws eks --region ${local.region} update-kubeconfig --name ${module.cluster_k8s.cluster_name}"
}