Skip to content

Commit

Permalink
crate gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 17, 2022
1 parent fe86e78 commit f8fb914
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions access_keys.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ resource "null_resource" "rotate_keys_tfvars" {
command = "test -d ${path.root}/${self.triggers.access_keys_directory} || mkdir -p ${path.root}/${self.triggers.access_keys_directory}"
}

provisioner "local-exec" {
when = create
working_dir = self.triggers.access_keys_directory
command = "echo access_key.yml > .gitignore"
}

# provisioner "local-exec" {
# when = create
# working_dir = self.triggers.access_keys_directory
Expand Down

0 comments on commit f8fb914

Please sign in to comment.