Skip to content

Conversation

ipcrm
Copy link

@ipcrm ipcrm commented Nov 15, 2023

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.

condition {
test = "StringEquals"
variable = "aws:PrincipleOrgID"
variable = "aws:PrincipalOrgID"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really!

@ipcrm ipcrm marked this pull request as ready for review November 15, 2023 17:07
@ipcrm ipcrm requested a review from afiune November 15, 2023 17:09
main.tf Outdated
data "aws_region" "current" {}
resource "aws_cloudformation_stack_set_instance" "lacework_stackset_instances" {
deployment_targets {
organizational_unit_ids = [var.organization_unit]
Copy link
Contributor

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?

Copy link
Author

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.

afiune
afiune previously approved these changes Nov 15, 2023
Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@afiune afiune merged commit 9caae48 into main Nov 15, 2023
This was referenced Nov 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants