Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove unused local 'account_id'
  • Loading branch information
burib committed Dec 8, 2023
commit 23e54299baf58281b83602ffe1a1f9f71541879f
2 changes: 0 additions & 2 deletions modules/api_gateway/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
locals {
account_id = data.aws_caller_identity.current.account_id
routes = {
for key, value in var.routes : trimprefix(key, "/") => {
method = lookup(value, "method", "ANY")
Expand Down Expand Up @@ -42,7 +41,6 @@ locals {
}

data "aws_region" "current" {}
data "aws_caller_identity" "current" {}

data "aws_iam_policy_document" "assume_role" {
statement {
Expand Down