-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: new AWS IAM module #82
Conversation
Co-authored-by: michalbil <[email protected]>
Co-authored-by: michalbil <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @michalbil for suggestion - "plurals" and "create" we can rediscuss offline
modules/iam/variables.tf
Outdated
variable "create_instance_profile" { | ||
description = "Create an instance profile." | ||
type = bool | ||
default = false | ||
} | ||
|
||
variable "profile_instance_name" { | ||
description = "A profile instance name." | ||
type = string | ||
default = null | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think - using create variable - gives more flexibility. The module can use data source for existing instance_profile_name = 'name' - The name providing only is less initiative and also different modules are using this approach.
Co-authored-by: michalbil <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the module, it simplifies code a lot. I have some questions which I specified in comments. Well done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
Description
The PR introduces new module for AWS repo - It supports pre-defined collection of used IAM policies and custom made policies as well.
Motivation and Context
#53 issue presents required changes for major refactor of existing code.
How Has This Been Tested?
The IAM modules should be tested against all examples.
Types of changes
Checklist