-
Notifications
You must be signed in to change notification settings - Fork 2
fix: update kms key policy, sns policy, stackset instance creation #6
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
Conversation
condition { | ||
test = "StringEquals" | ||
variable = "aws:PrincipleOrgID" | ||
variable = "aws:PrincipalOrgID" |
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.
really!
main.tf
Outdated
data "aws_region" "current" {} | ||
resource "aws_cloudformation_stack_set_instance" "lacework_stackset_instances" { | ||
deployment_targets { | ||
organizational_unit_ids = [var.organization_unit] |
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.
Is this only 1 org unit? or can this be multiple ones?
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.
Can be multiple! I've left like this ATM to match expectations of the generate command. If we want to make this an array (totally fine) we need to update generate.
Can do now or raise a separate issue.
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.
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.
Additional updates required for member accounts to use SNS topic, add dependencies so stack can be torn down, and to create stackset instances so deployment occurs.