46a7dafcf4
Switches SG rules to from nested to top-level resources and exports the SG ids so that users of the module can define additional rules for their Vault instances and/or the Vault ELB. While this change should be backwards compatible, applying the new rules might result in a very brief interruption of Vault service as: (1) Old nested-resource SG rules are cleared (2) New SG rules are applied one by one
14 lines
339 B
HCL
14 lines
339 B
HCL
output "address" {
|
|
value = "${aws_elb.vault.dns_name}"
|
|
}
|
|
|
|
// Can be used to add additional SG rules to Vault instances.
|
|
output "vault_security_group" {
|
|
value = "${aws_security_group.vault.id}"
|
|
}
|
|
|
|
// Can be used to add additional SG rules to the Vault ELB.
|
|
output "elb_security_group" {
|
|
value = "${aws_security_group.elb.id}"
|
|
}
|