Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
Consistenyl named ssl private key.
Browse files Browse the repository at this point in the history
[#152971977]

Signed-off-by: Desmond Pompa Alarcon Rawls <[email protected]>
  • Loading branch information
Genevieve LEsperance authored and desmondrawls committed Nov 17, 2017
1 parent 4c7b325 commit 16c54a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ EOF
## Isolation Segments (optional)
- create_isoseg_resources *(optional)* Set to 1 to create HTTP load-balancer across 3 zones for isolation segments. If set, the following 2 isoseg variables are also required.
- isoseg_ssl_cert: *(optional)* SSL certificate for HTTP load balancer configuration. Can be either trusted or self-signed.
- isoseg_ssl_cert_private_key: *(optional)* Private key for above SSL certificate.
- isoseg_ssl_private_key: *(optional)* Private key for above SSL certificate.

## Running

Expand Down
2 changes: 1 addition & 1 deletion ssl_cert.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_iam_server_certificate" "isoseg_cert" {

name_prefix = "${var.env_name}-isoseg"
certificate_body = "${var.isoseg_ssl_cert}"
private_key = "${var.isoseg_ssl_cert_private_key}"
private_key = "${var.isoseg_ssl_private_key}"

lifecycle {
create_before_destroy = true
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ variable "isoseg_ssl_cert" {
default = ""
}

variable "isoseg_ssl_cert_private_key" {
variable "isoseg_ssl_private_key" {
type = "string"
description = "ssl certificate private key content"
default = ""
Expand Down

0 comments on commit 16c54a1

Please sign in to comment.