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 f425916 commit d3bec7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ resource "aws_iam_user_policy" "user_policy" {
resource "local_sensitive_file" "user_create_profile" {
filename = format("%v/access_keys/%v/create-profile.%v.sh", path.root, aws_iam_user.user.name)
file_permission = "0755"
content = templatefile("${path.root}/templates/create-profile.sh.tpl", {
content = templatefile("${path.module}/templates/create-profile.sh.tpl", {
username = aws_iam_user.user.name
source_profile = var.profile
source_region = local.region
Expand Down

0 comments on commit d3bec7f

Please sign in to comment.