Created
March 30, 2026 01:12
-
-
Save badri/51f528f5a115819bc64a40e96370335b to your computer and use it in GitHub Desktop.
IAM profile for creating workload infra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "EC2Full", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ec2:RunInstances", | |
| "ec2:TerminateInstances", | |
| "ec2:StartInstances", | |
| "ec2:StopInstances", | |
| "ec2:Describe*", | |
| "ec2:CreateTags", | |
| "ec2:DeleteTags", | |
| "ec2:CreateSecurityGroup", | |
| "ec2:DeleteSecurityGroup", | |
| "ec2:AuthorizeSecurityGroupIngress", | |
| "ec2:AuthorizeSecurityGroupEgress", | |
| "ec2:RevokeSecurityGroupIngress", | |
| "ec2:RevokeSecurityGroupEgress", | |
| "ec2:CreateKeyPair", | |
| "ec2:ImportKeyPair", | |
| "ec2:DeleteKeyPair", | |
| "ec2:CreateVolume", | |
| "ec2:DeleteVolume", | |
| "ec2:AttachVolume", | |
| "ec2:DetachVolume" | |
| ], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "ValidateCredentials", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "sts:GetCallerIdentity" | |
| ], | |
| "Resource": "*" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment