Skip to content

Commit

Permalink
correct reference to remote state output
Browse files Browse the repository at this point in the history
  • Loading branch information
etwillbefine committed Dec 31, 2019
1 parent 075f5b3 commit c8473a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ data "terraform_remote_state" "acme_account" {
}

locals {
remote_state_account_key = join("", data.terraform_remote_state.acme_account.*.account_key_pem)
remote_state_account_key = join("", data.terraform_remote_state.acme_account.*.outputs.account_key_pem)
existing_account_key = local.remote_state_account_key == "" ? var.account_key_pem : local.remote_state_account_key
}

0 comments on commit c8473a6

Please sign in to comment.