-
Notifications
You must be signed in to change notification settings - Fork 8
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: AWS Terraform Modules #31
Conversation
332c7c7
to
d41b191
Compare
Signed-off-by: Salim Afiune Maya <[email protected]>
@afiune I still think we need to be more verbose with our naming conventions for the folder. "simple1-from-scratch" means something to you and me, but maybe not to our users. Thoughts? |
@scottford-lw I could not agree more with you, we also need a ton of documentation |
Signed-off-by: Salim Afiune Maya <[email protected]>
Signed-off-by: Salim Afiune Maya <[email protected]>
Signed-off-by: Salim Afiune Maya <[email protected]>
|
||
provider "aws" { } | ||
|
||
module "aws_cloudtrial" { |
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.
@afiune spelling ;)
@afiune thinking further I am not sure that we really need examples for the
|
Signed-off-by: Salim Afiune Maya <[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.
AWS Terraform Modules
Introducing our AWS Terraform Modules to configure AWS Config and CloudTrail integrations.
This change adds three main Terraform modules:
aws/modules/iam_role
)aws/modules/config
)aws/modules/cloudtrail
)AWS IAM Role Module
Both of our integrations (Config and CloudTrail) require to have an IAM Role
with an assume role policy, this module abstracts the management of this role
that is used by both AWS Config and AWS CloudTrail Modules.
AWS Config Module
This module creates the Lacework IAM Role and a Lacework AWS_CFG external integration.
AWS CouldTrail Module
Use this module to create and configure CloudTrail in your AWS account, such
configuration will be used to create an AWS CloudTrail external integration in
your Lacework account.
This module will:
AWS_CT_SQS
Lacework external integrationBoth Modules
Using both modules will allow users to have both Lacework external integrations,
AWS Config and CloudTrail. The modules are designed to work together like the
following example:
Signed-off-by: Salim Afiune Maya [email protected]