Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict ec2 instance types #46

Open
0xjjoyy opened this issue Jun 10, 2021 · 0 comments
Open

Restrict ec2 instance types #46

0xjjoyy opened this issue Jun 10, 2021 · 0 comments

Comments

@0xjjoyy
Copy link
Contributor

0xjjoyy commented Jun 10, 2021

Use Case - Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.

Restrict ec2 instance types that are allowed to be launched.

Expected Outcome - Describe the solution you'd like
A clear and concise description of what you want to happen.

        {
            "Sid": "GuardEC2InstanceTypes",
            "Effect": "Deny",
            "Action": "ec2:RunInstances",
            "Resource": "arn:aws:ec2:*:*:instance/*",
            "Condition": {
                "ForAnyValue:StringNotLike": {
                    "ec2:InstanceType": [
                         instance-types...
                    ]
                }
            }
        }

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Affected AWS resource
Mention the AWS resources which is affected

Impact
High: The issue makes a service level improvement which affects all users of AWS
Medium: Single feature which affects a single functionality which is optionally enabled in the AWS service
Low: Niche use case which is particularly affecting the AWS resources if it is configured in a certain way

Supported material
Can be either logs, screenshots or documentation links which provide evidence of need of this issue

I can contribute: Yes/No
If you are able to contribute towards resolving this request.

Additional context
Add any other context or screenshots about the feature request here.

Pull Request number
If a pull request has already been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant