Skip to content

Commit

Permalink
Avoids replacing update when upgrading from v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed May 27, 2022
1 parent f727c16 commit e1aa54c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/member/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ resource "aws_guardduty_member" "this" {

# Create GuardDuty invite accepter in the member account
resource "aws_guardduty_invite_accepter" "this" {
count = var.member == null ? 0 : 1

detector_id = aws_guardduty_detector.this.id
master_account_id = data.aws_caller_identity.administrator.account_id

Expand Down

0 comments on commit e1aa54c

Please sign in to comment.