From 2bcc10cfd72d2ab50ad9753fdf93c846d0c61e71 Mon Sep 17 00:00:00 2001 From: vijay-veeranki-moj Date: Fri, 6 Dec 2019 13:33:27 +0000 Subject: [PATCH] Updated path of aws_iam_user This is by removing team_name for the path so now it will be using path = "/system/s3-bucket-user/" --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d0dbac1..3390fd0 100644 --- a/main.tf +++ b/main.tf @@ -119,7 +119,7 @@ resource "aws_s3_bucket" "bucket" { resource "aws_iam_user" "user" { name = "s3-bucket-user-${random_id.id.hex}" - path = "/system/s3-bucket-user/${var.team_name}/" + path = "/system/s3-bucket-user/" } resource "aws_iam_access_key" "user" {