From e1aa54c85bba78a5785e8e38b726defb966fff4a Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Fri, 27 May 2022 08:11:20 -0700 Subject: [PATCH] Avoids replacing update when upgrading from v2 to v3 --- modules/member/main.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/member/main.tf b/modules/member/main.tf index 4039af5..65e0b51 100644 --- a/modules/member/main.tf +++ b/modules/member/main.tf @@ -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