-
Notifications
You must be signed in to change notification settings - Fork 345
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
ec2_key: include KeyPairId in result #546
Comments
Files identified in the description:
If these files are inaccurate, please update the |
Thanks for taking the time to make this suggestion, I agree it's potentially very helpful. I've opened PR #548 is you are able to test this it would be much appreciated. |
Ah, I was mistaken in my example, turns out RunInstance resource for keypair uses the keypair name rather than key id, e.g. |
New module - aws_glue_crawler SUMMARY New module - aws_glue_crawler. ISSUE TYPE New Module Pull Request COMPONENT NAME aws_glue_crawler ADDITIONAL INFORMATION Example: community.aws.aws_glue_crawler: - name: my-crawler database_name: my_database role: my-role recrawl_policy: RecrawlBehavior: CRAWL_EVERYTHING schema_change_policy: DeleteBehavior: DELETE_FROM_DATABASE UpdateBehavior: UPDATE_IN_DATABASE targets: S3Targets: - Path: "s3://my-bucket/prefix/folder/" tags: Environment: test Reviewed-by: Mark Chappell <None> Reviewed-by: Ivan Chekaldin <None> Reviewed-by: Jill R <None>
New module - aws_glue_crawler SUMMARY New module - aws_glue_crawler. ISSUE TYPE New Module Pull Request COMPONENT NAME aws_glue_crawler ADDITIONAL INFORMATION Example: community.aws.aws_glue_crawler: - name: my-crawler database_name: my_database role: my-role recrawl_policy: RecrawlBehavior: CRAWL_EVERYTHING schema_change_policy: DeleteBehavior: DELETE_FROM_DATABASE UpdateBehavior: UPDATE_IN_DATABASE targets: S3Targets: - Path: "s3://my-bucket/prefix/folder/" tags: Environment: test Reviewed-by: Mark Chappell <None> Reviewed-by: Ivan Chekaldin <None> Reviewed-by: Jill R <None>
New module - aws_glue_crawler SUMMARY New module - aws_glue_crawler. ISSUE TYPE New Module Pull Request COMPONENT NAME aws_glue_crawler ADDITIONAL INFORMATION Example: community.aws.aws_glue_crawler: - name: my-crawler database_name: my_database role: my-role recrawl_policy: RecrawlBehavior: CRAWL_EVERYTHING schema_change_policy: DeleteBehavior: DELETE_FROM_DATABASE UpdateBehavior: UPDATE_IN_DATABASE targets: S3Targets: - Path: "s3://my-bucket/prefix/folder/" tags: Environment: test Reviewed-by: Mark Chappell <None> Reviewed-by: Ivan Chekaldin <None> Reviewed-by: Jill R <None>
Summary
I want to limit the ec2:RunInstances to specific EC2 keys which are created by ansible, but only the fingerprint and name are returned as a result of ec2_key.
DescribeKeyPairs and ImportKeyPair return a KeyPairId, which is what's required for generating the ARN of the IAM policy
Please can the KeyPairId be included in the e2c_key result?
Issue Type
Feature Idea
Component Name
ec2_key
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: