Jakub Sokołowski 4d940e0b6b
make DB hosts use the same VPC as the EB env
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-03 18:02:27 +01:00

38 lines
770 B
HCL

/**
* Uncomment this if you want to extract the secret again.
* For details see: https://www.terraform.io/docs/providers/aws/r/iam_access_key.html
**/
output "deploy_access_key" {
value = "${aws_iam_access_key.deploy.id}"
}
output "deploy_secret_key" {
value = "${aws_iam_access_key.deploy.encrypted_secret}"
}
/**
* This can be decrypted with:
* echo $encrypted_secret | base64 --decode | keybase pgp
**/
output "elb_names" {
value = module.eb_environment.load_balancers
}
output "elb_fqdns" {
value = [for elb in data.aws_elb.main: elb.dns_name]
}
output "vpc_id" {
value = module.vpc.vpc_id
}
output "subnet_ids" {
value = module.subnets.public_subnet_ids
}
output "security_group_id" {
value = module.vpc.vpc_default_security_group_id
}