/ modules / aws-eb-env / outputs.tf
outputs.tf
 1  /**
 2   * Uncomment this if you want to extract the secret again.
 3   * For details see: https://www.terraform.io/docs/providers/aws/r/iam_access_key.html
 4   **/
 5  
 6  output "deploy_access_key" {
 7    value = aws_iam_access_key.deploy.id
 8  }
 9  
10  output "deploy_secret_key" {
11    value = aws_iam_access_key.deploy.encrypted_secret
12  }
13  
14  /**
15   * This can be decrypted with:
16   * echo $encrypted_secret | base64 --decode | keybase pgp 
17   **/
18  
19  output "elb_names" {
20    value = module.eb_environment.load_balancers
21  }
22  
23  output "elb_fqdns" {
24    value = [for elb in data.aws_elb.main: elb.dns_name]
25  }
26  
27  output "vpc_id" {
28    value = module.vpc.vpc_id
29  }
30  
31  output "subnet_ids" {
32    value = module.subnets.public_subnet_ids
33  }
34  
35  output "security_group_id" {
36    value = module.vpc.vpc_default_security_group_id
37  }