Skip to content

Commit

Permalink
fix: AWS IAM Policy Document (#66)
Browse files Browse the repository at this point in the history
* removed unused files

* fixed effect value in IAM policy doc statements and added terraform provider lockfile
  • Loading branch information
fullerzz authored Sep 21, 2024
1 parent ebc9182 commit 43c2208
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,6 @@ uploads/*
# env files
*.env
!tests/testing.env

# terraform
**/.terraform/*
20 changes: 20 additions & 0 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.
4 changes: 2 additions & 2 deletions terraform/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ resource "aws_iam_access_key" "smolvault-user" {

data "aws_iam_policy_document" "smolvault-policy" {
statement {
effect = "AllowS3"
effect = "Allow"
actions = ["s3:*"]
resources = [aws_s3_bucket.smolvault.arn]
}
statement {
effect = "AllowKMS"
effect = "Allow"
actions = ["kms:*"]
resources = ["*"]
}
Expand Down

0 comments on commit 43c2208

Please sign in to comment.