Skip to content

Commit

Permalink
Remove readonly variable
Browse files Browse the repository at this point in the history
  • Loading branch information
usulkies committed Sep 1, 2022
1 parent 03dab95 commit fc78836
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion acm-certificate-ca.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "tls_private_key" "ca" {
}

resource "tls_self_signed_cert" "ca" {
key_algorithm = "RSA"
private_key_pem = tls_private_key.ca.private_key_pem

subject {
Expand Down
2 changes: 0 additions & 2 deletions acm-certificate-root.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "tls_private_key" "root" {
}

resource "tls_cert_request" "root" {
key_algorithm = "RSA"
private_key_pem = tls_private_key.root.private_key_pem

subject {
Expand All @@ -14,7 +13,6 @@ resource "tls_cert_request" "root" {

resource "tls_locally_signed_cert" "root" {
cert_request_pem = tls_cert_request.root.cert_request_pem
ca_key_algorithm = "RSA"
ca_private_key_pem = tls_private_key.ca.private_key_pem
ca_cert_pem = tls_self_signed_cert.ca.cert_pem

Expand Down
2 changes: 0 additions & 2 deletions acm-certificate-server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "tls_private_key" "server" {
}

resource "tls_cert_request" "server" {
key_algorithm = "RSA"
private_key_pem = tls_private_key.server.private_key_pem

subject {
Expand All @@ -14,7 +13,6 @@ resource "tls_cert_request" "server" {

resource "tls_locally_signed_cert" "server" {
cert_request_pem = tls_cert_request.server.cert_request_pem
ca_key_algorithm = "RSA"
ca_private_key_pem = tls_private_key.ca.private_key_pem
ca_cert_pem = tls_self_signed_cert.ca.cert_pem

Expand Down

0 comments on commit fc78836

Please # to comment.