Skip to content

Commit

Permalink
fix names && bump version number (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4ck404 authored Dec 19, 2023
1 parent c4719ae commit ad8bce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_iam_policy" "s3_policy" {
name = "s3-access-policy"
name = "${var.s3_bucket_name}-s3-access-policy"
description = "IAM policy for S3 access"

policy = jsonencode({
Expand Down Expand Up @@ -27,7 +27,7 @@ resource "aws_iam_policy" "s3_policy" {
}

resource "aws_iam_role" "s3_role" {
name = "S3-CSI-ACCESS-ROLE"
name = "${var.s3_bucket_name}-s3-csi-access-role"

assume_role_policy = jsonencode({
Version = "2012-10-17",
Expand Down

0 comments on commit ad8bce0

Please sign in to comment.