Skip to content

Commit

Permalink
fix(agentless-scanning): stackeset administration role (#30)
Browse files Browse the repository at this point in the history
* per: hashicorp/terraform-provider-aws#23464
  fixes an issue when service managed stacksets, working around an AWS provider bug
  • Loading branch information
cgeers authored Dec 30, 2024
1 parent 4c213dd commit 3bb1277
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/agentless-scanning/organizational.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ resource "aws_cloudformation_stack_set" "ou_resources_stackset" {
retain_stacks_on_account_removal = false
}

lifecycle {
ignore_changes = [administration_role_arn] # https://github.com/hashicorp/terraform-provider-aws/issues/23464
}

template_body = <<TEMPLATE
Resources:
ScanningRole:
Expand Down

0 comments on commit 3bb1277

Please sign in to comment.