Skip to content

Commit

Permalink
chore: (IAC-1238) Resolve TFLint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riragh committed Nov 22, 2023
1 parent ab9ada5 commit 6471f1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,13 @@ resource "kubernetes_config_map" "sas_iac_buildinfo" {
}

data = {
git-hash = lookup(data.external.git_hash.result, "git-hash")
git-hash = data.external.git_hash.result["git-hash"]
iac-tooling = var.iac_tooling
terraform = <<EOT
version: ${lookup(data.external.iac_tooling_version.result, "terraform_version")}
revision: ${lookup(data.external.iac_tooling_version.result, "terraform_revision")}
provider-selections: ${lookup(data.external.iac_tooling_version.result, "provider_selections")}
outdated: ${lookup(data.external.iac_tooling_version.result, "terraform_outdated")}
version: ${data.external.iac_tooling_version.result["terraform_version"]}
revision: ${data.external.iac_tooling_version.result["terraform_revision"]}
provider-selections: ${data.external.iac_tooling_version.result["provider_selections"]}
outdated: ${data.external.iac_tooling_version.result["terraform_outdated"]}
EOT
}

Expand Down

0 comments on commit 6471f1f

Please sign in to comment.