-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
39 lines (32 loc) · 1.1 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
output "eip_fortigate" {
description = "Elastic IP address of firewall"
value = aws_eip.this.public_ip
}
output "instance_fortigate" {
description = "Fortigate Instance ID"
value = aws_instance.this.id
}
output "instance_fortigate_primary_network_interface_id" {
description = "Primary ENI ID (attach route tables to this)"
value = aws_instance.this.primary_network_interface_id
}
output "keypair_key_name" {
description = "Instance keypair name"
value = try(module.keypair.key_name, null)
}
output "s3_bucket_config" {
description = "S3 bucket holding configuration"
value = try(aws_s3_bucket.config[0].bucket, null)
}
output "secretsmanager_secret_arn" {
description = "FortiGate admin password secret"
value = var.load_default_config ? module.fortigate_password[0].secret_arn : ""
}
output "security_group_external" {
description = "Security group for external access"
value = aws_security_group.external.id
}
output "security_group_internal" {
description = "Security group for internal access"
value = aws_security_group.internal.id
}