added terrafrom configs

This commit is contained in:
2023-11-01 00:02:56 +02:00
parent a4f429eff9
commit f19e926b1a
21 changed files with 407 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${dev_account_id}:root"
},
"Action": "sts:AssumeRole",
"Condition": {}
}
]
}

View File

@@ -0,0 +1,27 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::monit-aws-test-bucket"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::monit-aws-test-bucket/*"
}
]
}