From c8473a6845e00b4c99cf6e5617e46819d6b69d37 Mon Sep 17 00:00:00 2001 From: etwillbefine Date: Tue, 31 Dec 2019 15:20:15 +0100 Subject: [PATCH] correct reference to remote state output --- remote.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote.tf b/remote.tf index e130f6e..42433ba 100644 --- a/remote.tf +++ b/remote.tf @@ -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 }