Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Oct 16, 2024
1 parent b1644a2 commit 16ca672
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions web/deploy/terraform/modules/iam/policies/assume-role.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Principal": {
"Federated": "arn:aws:iam::123456123456:oidc-provider/token.actions.githubusercontent.com"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"Condition": {
"StringLike": {
"token.actions.githubusercontent.com:sub": [
"repo:nimh-dsst/osm:*"
]
"repo:nimh-dsst/osm:*"
]
},
"StringEquals": {
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"ecr:BatchCheckLayerAvailability",
"ecr:PutImage",
"ecr:BatchGetImage",
"s3:GetBucketEncryption",
"s3:GetBucketTagging",
"s3:PutBucketTagging",
"s3:GetObject",
"s3:PutObject",
"s3:ListObjectsV2",
"s3:ListBuckets",
"dynamodb:CreateTable",
"s3:GetBucketEncryption",
"s3:GetBucketTagging",
"s3:PutBucketTagging",
"s3:GetObject",
"s3:PutObject",
"s3:ListObjectsV2",
"s3:ListBuckets",
"dynamodb:CreateTable",
"dynamodb:DeleteTable",
"dynamodb:DescribeTable",
"dynamodb:ListTables",
Expand All @@ -27,7 +27,7 @@
"dynamodb:DeleteItem",
"dynamodb:Query",
"dynamodb:Scan"
],
],
"Resource": ${resources}
},
{
Expand Down
10 changes: 5 additions & 5 deletions web/deploy/terraform/modules/iam/policies/gha-policy.json.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
{
"Effect": "Allow",
"Action": [
"ec2:*",
"ecr:*",
"s3:*",
"dynamodb:*"
],
"ec2:*",
"ecr:*",
"s3:*",
"dynamodb:*"
],
"Resource": ${resources}
},
{
Expand Down

0 comments on commit 16ca672

Please sign in to comment.