Skip to content

Commit 3bb1277

Browse files
authored
fix(agentless-scanning): stackeset administration role (#30)
* per: hashicorp/terraform-provider-aws#23464 fixes an issue when service managed stacksets, working around an AWS provider bug
1 parent 4c213dd commit 3bb1277

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/agentless-scanning/organizational.tf

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ resource "aws_cloudformation_stack_set" "ou_resources_stackset" {
4040
retain_stacks_on_account_removal = false
4141
}
4242

43+
lifecycle {
44+
ignore_changes = [administration_role_arn] # https://github.com/hashicorp/terraform-provider-aws/issues/23464
45+
}
46+
4347
template_body = <<TEMPLATE
4448
Resources:
4549
ScanningRole:

0 commit comments

Comments
 (0)