Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 17, 2022
1 parent 1d07555 commit f1a92ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions access_keys.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ resource "null_resource" "rotate_keys_tfvars" {
}

resource "local_file" "rotate_keys_tfvars" {
count = var.create_access_keys ? 1 : 0
content = local.rotate_keys_tfvars
count = var.create_access_keys ? 1 : 0
content = local.rotate_keys_tfvars
filename = var.create_access_keys ? format("%v/%v/variables.auto.tfvars", path.root, null_resource.rotate_keys_tfvars[0].triggers.access_keys_directory) : "empty.txt"

depends_on = [null_resource.rotate_keys_tfvars]
}

0 comments on commit f1a92ae

Please sign in to comment.