Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Aug 1, 2022
1 parent cc7c134 commit 128e495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions access_keys.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ locals {
{
username = aws_iam_user.user.name
region = local.account_environment == "ew" ? "us-east-1" : "us-gov-east-1"
profile = var.profile == null ? "" : var.profile
profile = var.profile == null ? "default" : var.profile
pgp_key_file = local.pgp_key_file_exists ? var.pgp_key_file : ""
})
access_key_file = templatefile("${path.module}/templates/access_key.tpl",
{
username = aws_iam_user.user.name
profile = var.profile == null ? "" : var.profile
profile = var.profile == null ? "default" : var.profile
account_id = local.account_id
create_date = join("", aws_iam_access_key.iam_access_key_v1.*.create_date)
access_key_id = join("", aws_iam_access_key.iam_access_key_v1.*.id)
Expand Down

0 comments on commit 128e495

Please sign in to comment.