Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert security group rename to fix deploys #6801

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

MauAraujo
Copy link

Ticket(s) Closed

N/A

Description
If a security group is renamed, it has to be deleted and then created with the new name. This behavior causes the deploy to fail if a security group is in use by instances, since it can't be deleted. As such, it was deemed that the security groups should stay with the same name to avoid having to terminate instances or perform manual workarounds to make this work.

Implementation

Documentation & Tests Added

Testing Instructions

PR Checklist

  • Did the PR author fully test this PR end-to-end?
  • Did one PR reviewer fully test this PR end-to-end?
  • Did one PR reviewer conduct a thorough code design review?

@github-actions github-actions bot added 📁 Repo: infrastructure This PR/Issue modifies /infrastructure 📁 Repo: backend This PR/Issue modifies /backend code labels Jun 21, 2022
@github-actions
Copy link

Terraform Format and Style 🖌 success

Terraform Initialization ⚙️ success

Terraform Validation 🤖 Success! The configuration is valid.

Pusher: @MauAraujo, Action: pull_request, Workflow: Infrastructure: Check PR

Click to expand
module.us-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 896b3e64): Refreshing state... [id=sg-01fb458379935c191]
module.us-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 9b714671): Refreshing state... [id=sg-00f35ab9dd9780f14]
module.iam.data.aws_iam_policy_document.EC2AssumeRolePolicy: Reading...
module.iam.data.aws_iam_policy_document.EC2AssumeRolePolicy: Read complete after 0s [id=1903849331]
module.iam.data.aws_iam_policy_document.MFAPolicy: Reading...
module.iam.data.aws_iam_policy_document.PackerAMIBuilderInlinePolicy: Reading...
module.iam.data.aws_iam_policy_document.MFAPolicy: Read complete after 0s [id=2380769577]
module.iam.data.aws_iam_policy_document.PackerAMIBuilderInlinePolicy: Read complete after 0s [id=3184250139]
module.eu-west-3.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 1e691365): Refreshing state... [id=sg-07662bdff18d25039]
module.ap-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 52c59c05): Refreshing state... [id=sg-094d06842b5f59564]
module.iam.aws_iam_group.Whist2FA[0]: Refreshing state... [id=Whist2FA]
module.iam.aws_iam_service_linked_role.ServiceRoleForEC2Spot[0]: Refreshing state... [id=arn:aws:iam::747391415460:role/aws-service-role/spot.amazonaws.com/AWSServiceRoleForEC2Spot]
module.iam.aws_iam_service_linked_role.ServiceRoleForSSM[0]: Refreshing state... [id=arn:aws:iam::747391415460:role/aws-service-role/ssm.amazonaws.com/AWSServiceRoleForAmazonSSM]
module.iam.aws_iam_service_linked_role.ServiceRoleForServiceQuotas[0]: Refreshing state... [id=arn:aws:iam::747391415460:role/aws-service-role/servicequotas.amazonaws.com/AWSServiceRoleForServiceQuotas]
module.iam.aws_iam_user.GitHubActionsUser[0]: Refreshing state... [id=GitHubActions]
module.iam.aws_iam_user.WhistEC2PassRoleUser: Refreshing state... [id=WhistEC2PassRoledev]
module.iam.aws_iam_group.WhistCI[0]: Refreshing state... [id=WhistCI]
module.iam.aws_iam_group.WhistAdmins[0]: Refreshing state... [id=WhistAdmins]
module.iam.data.aws_iam_policy_document.WhistEC2DeploymentRolePolicy: Reading...
module.iam.data.aws_iam_policy_document.WhistEC2DeploymentRolePolicy: Read complete after 0s [id=3378534219]
module.iam.aws_iam_group.WhistEngineers[0]: Refreshing state... [id=WhistEngineers]
module.iam.aws_iam_service_linked_role.ServiceRoleForComputeOptimizer[0]: Refreshing state... [id=arn:aws:iam::747391415460:role/aws-service-role/compute-optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer]
module.s3.aws_s3_bucket.whist-electron-macos-arm64: Refreshing state... [id=whist-electron-macos-arm64-dev]
module.s3.aws_s3_bucket.whist-dev-secrets[0]: Refreshing state... [id=whist-dev-secrets]
module.s3.aws_s3_bucket.whist-electron-windows: Refreshing state... [id=whist-electron-windows-dev]
module.s3.aws_s3_bucket.whist-electron-macos-x64: Refreshing state... [id=whist-electron-macos-x64-dev]
module.s3.aws_s3_bucket.whist-fonts[0]: Refreshing state... [id=whist-fonts]
module.s3.aws_s3_bucket.whist-test-assets[0]: Refreshing state... [id=whist-test-assets]
module.s3.aws_s3_bucket.whist-protocol-dependencies[0]: Refreshing state... [id=whist-protocol-dependencies]
module.s3.aws_s3_bucket.whist-electron-windows-base[0]: Refreshing state... [id=whist-electron-windows-base]
module.s3.aws_s3_bucket.whist-terraform-state[0]: Refreshing state... [id=whist-terraform-state]
module.s3.aws_s3_bucket.whist-brand-assets[0]: Refreshing state... [id=whist-brand-assets]
module.s3.aws_s3_bucket.whist-user-app-configs: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket.whist-e2e-protocol-test-logs[0]: Refreshing state... [id=whist-e2e-protocol-test-logs]
module.iam.aws_iam_role.PackerAMIBuilder[0]: Refreshing state... [id=PackerAMIBuilder]
module.eu-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 39b4b278): Refreshing state... [id=sg-0c8e673e2faa82007]
module.eu-west-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-07ac59807ac5d3bef]
module.ap-northeast-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-068af3c99c8c82cd9]
module.us-west-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f16038d2b2b0ea19]
module.ap-southeast-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-030e8cdf2773c10a9]
module.us-east-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-06fbec62baa2614ba]
module.ap-northeast-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-04fea1ba4ee0a6fa0]
module.sa-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0036b79872a1e76ff]
module.eu-west-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-06a6eeba0e7942613]
module.af-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0b5b58c7cb50b157e]
module.us-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-03a7ed0d3076fa64c]
module.eu-north-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-097137234eb667ecb]
module.ap-southeast-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f7ff1686305c5cab]
module.us-west-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0c6e3f5d813d3cca4]
module.eu-central-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-05334bb49e19fdf54]
module.ap-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-00169b25bb270044a]
module.iam.aws_iam_group_policy.ForceMFA[0]: Refreshing state... [id=Whist2FA:ForceMFA]
module.iam.aws_iam_access_key.WhistEC2PassRoleUserAccessKey: Refreshing state... [id=AKIA24A776SSC2HJPX6M]
module.iam.aws_iam_role.EC2DeploymentRole: Refreshing state... [id=EC2DeploymentRoledev]
module.iam.aws_iam_group_policy_attachment.AdminPolicy[0]: Refreshing state... [id=WhistAdmins-20220620175608272700000001]
module.iam.aws_iam_user_group_membership.GitHubActionsGroupMembership[0]: Refreshing state... [id=terraform-20220621003629451600000001]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/AmazonEC2FullAccess"]: Refreshing state... [id=WhistCI-2022062017560917530000000b]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/AmazonEC2FullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608605600000003]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/AmazonS3FullAccess"]: Refreshing state... [id=WhistCI-20220620175609040700000009]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/AmazonVPCFullAccess"]: Refreshing state... [id=WhistCI-20220620175608890900000007]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/IAMFullAccess"]: Refreshing state... [id=WhistCI-20220620175609008000000008]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/SecretsManagerReadWrite"]: Refreshing state... [id=WhistCI-2022062017560917040000000a]
module.ca-central-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-04b596c00ef15b94b]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/AmazonS3FullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608773300000006]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/AmazonSSMFullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608731400000005]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/IAMFullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608468100000002]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/AWSSupportAccess"]: Refreshing state... [id=WhistEngineers-20220620175608654500000004]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-dev-secrets-encryption[0]: Refreshing state... [id=whist-dev-secrets]
module.s3.aws_s3_bucket_public_access_block.whist-dev-secrets[0]: Refreshing state... [id=whist-dev-secrets]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-windows-encryption: Refreshing state... [id=whist-electron-windows-dev]
module.s3.aws_s3_bucket_public_access_block.whist-electron-windows: Refreshing state... [id=whist-electron-windows-dev]
module.s3.aws_s3_bucket_public_access_block.whist-electron-macos-arm64: Refreshing state... [id=whist-electron-macos-arm64-dev]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-macos-arm64-encryption: Refreshing state... [id=whist-electron-macos-arm64-dev]
module.eu-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-05d15fe9593c1447e]
module.ap-northeast-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f52c86e4792d189f]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-macos-x64-encryption: Refreshing state... [id=whist-electron-macos-x64-dev]
module.s3.aws_s3_bucket_public_access_block.whist-electron-macos-x64: Refreshing state... [id=whist-electron-macos-x64-dev]
module.s3.aws_s3_bucket_public_access_block.whist-fonts[0]: Refreshing state... [id=whist-fonts]
module.s3.aws_s3_bucket_public_access_block.whist-test-assets[0]: Refreshing state... [id=whist-test-assets]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-test-assets-encryption[0]: Refreshing state... [id=whist-test-assets]
module.s3.aws_s3_bucket_versioning.whist-terraform-state-versioning[0]: Refreshing state... [id=whist-terraform-state]
module.eu-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 3d440c95): Refreshing state... [id=sg-0fe40df1aeecfff8b]
module.s3.aws_s3_bucket_public_access_block.whist-terraform-state[0]: Refreshing state... [id=whist-terraform-state]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-terraform-state-encryption[0]: Refreshing state... [id=whist-terraform-state]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-protocol-dependencies-encryption[0]: Refreshing state... [id=whist-protocol-dependencies]
module.s3.aws_s3_bucket_public_access_block.whist-protocol-dependencies[0]: Refreshing state... [id=whist-protocol-dependencies]
module.s3.aws_s3_bucket_public_access_block.whist-electron-windows-base[0]: Refreshing state... [id=whist-electron-windows-base]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-windows-base-encryption[0]: Refreshing state... [id=whist-electron-windows-base]
module.eu-west-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0b8f9b1548a013c11]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-brand-assets-encryption[0]: Refreshing state... [id=whist-brand-assets]
module.s3.aws_s3_bucket_public_access_block.whist-brand-assets[0]: Refreshing state... [id=whist-brand-assets]
module.s3.aws_s3_bucket_public_access_block.whist-user-app-configs: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-user-app-configs-encryption: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket_versioning.whist-user-app-configs-versioning: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket_lifecycle_configuration.whist-user-app-configs-lifecycle: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket_lifecycle_configuration.whist-e2e-protocol-test-logs-lifecycle[0]: Refreshing state... [id=whist-e2e-protocol-test-logs]
module.s3.aws_s3_bucket_public_access_block.whist-e2e-protocol-test-logs[0]: Refreshing state... [id=whist-e2e-protocol-test-logs]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-e2e-protocol-test-logs-encryption[0]: Refreshing state... [id=whist-e2e-protocol-test-logs]
module.ap-southeast-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0a5ee89749609fa5d]
module.me-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-01e2b401dff701457]
module.us-east-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0908f37dbd846bd5e]
module.us-east-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-09851fb142b944e89]
module.us-east-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0771dd94d1566ee64]
module.us-east-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-08ab3c09b12d84dd0]
module.us-west-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0b8d8de6b58ef885b]
module.us-west-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-04d1642d328e00289]
module.us-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-03a8f13a5afc737ac]
module.us-west-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-064e0cf9d22b5eedb]
module.ap-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0ebdb998aa79ddd16]
module.eu-west-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-05dad9ee17fe72a92]
module.eu-west-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-00437ba57d1d8fa5f]
module.eu-west-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0199c5859dd75fc9f]
module.eu-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-065f4abf00f9772be]
module.us-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0cf041081c3936bc3]
module.us-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0e29a4bd5bb0915a4]
module.us-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-02865ffebdb591468]
module.us-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-071b3eb9ec06cee34]
module.eu-west-3.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0e03e05330924f8e2]
module.eu-west-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0a79a3c77b82520b6]
module.eu-west-3.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-00f6841de0e20f7fa]
module.eu-west-3.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-03c3c6dce3e22da8d]
module.sa-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-01e4cfe2221968669]
module.sa-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0b3cb84b1adbfd595]
module.sa-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-04a29e57683192622]
module.sa-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03a3cbdc948e21462]
module.ap-northeast-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-045c6019edc794d9d]
module.ap-northeast-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0696f9c859c38ef80]
module.ap-northeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-006a9593f09987746]
module.ap-northeast-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-07e2f4d4af2905ebd]
module.ap-southeast-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03e05dec970475190]
module.ap-southeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-023d9eb51ccddba56]
module.ap-southeast-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-07ccaa324b0d21294]
module.ap-southeast-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0d3f618157c15e1af]
module.iam.aws_iam_instance_profile.EC2DeploymentRoleInstanceProfile: Refreshing state... [id=EC2DeploymentRoleInstanceProfiledev]
module.iam.data.aws_iam_policy_document.WhistEC2PassRoleUserPolicy: Reading...
module.iam.data.aws_iam_policy_document.WhistEC2PassRoleUserPolicy: Read complete after 0s [id=3022715257]
module.ap-northeast-3.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-05c3524527726af01]
module.ap-northeast-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-01d87edc81f145213]
module.ap-northeast-3.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-06861b99711d6b455]
module.ap-northeast-3.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0bd26b7a093d61f09]
module.us-west-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0ac222f4ab7095f26]
module.us-west-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0f4cc87cd0d7fafb2]
module.us-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0a26cf6c9ce82dc9f]
module.us-west-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0cd3d195f4b9b7d7c]
module.eu-north-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b190eea92e441f31]
module.eu-north-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0466e8b168e216b71]
module.eu-north-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0490bcb9900fcf674]
module.eu-north-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-09e80cb15f8fdd45f]
module.eu-central-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-07a90b32c80907dbb]
module.eu-central-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0897d35631096b3f4]
module.eu-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0be1943cd20974fab]
module.eu-central-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0ccfed1d21f2b94c3]
module.ca-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0c5abc8d4f4af7347]
module.ca-central-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0defad59912bceb66]
module.ca-central-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-099e6ffe4f4179c41]
module.ca-central-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0842fb2d5f5a2b887]
module.af-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03c79b8f51d458679]
module.af-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-029b7025d2891fa5d]
module.af-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03c9844aa82b67044]
module.eu-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-090ca50025efac330]
module.af-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0c8aead7849c538f6]
module.eu-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0e654995ff9fe799d]
module.eu-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-00dbb8e83cbb682cc]
module.eu-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0030d30d374370d29]
module.eu-west-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-06025f1e3b927dc5c]
module.eu-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0bce542ed0dbba12d]
module.eu-west-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-05afdf3715cd85458]
module.eu-west-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03f4d5664d50ca4e7]
module.us-east-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0444b8e11031ad621]
module.ap-southeast-3.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0c8e2ce58d8339dbd]
module.ap-southeast-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03b5ec27a1c46bcb5]
module.ap-southeast-3.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-04fec63758705a8cd]
module.ap-southeast-3.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-099de2a76922fd03c]
module.us-west-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0cb865924a2d12d00]
module.ap-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-08864087f5b5173d0]
module.ap-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-018f1caf301bba59c]
module.ap-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-014d3ffbb353313d0]
module.ap-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-00c9edfacdc25de76]
module.us-east-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0a9d2c6238290c63a]
module.eu-west-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-026ccdcf61cc9a8ca]
module.eu-west-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-053c4cbb99a2c65d8]
module.ap-northeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0841e2d32b1dca75d]
module.ap-northeast-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0140ae7480c906863]
module.ap-northeast-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b01739fc9635f9dd]
module.ap-northeast-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0b17a31da54c749ca]
module.ap-southeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-07b69e18341615b06]
module.ap-southeast-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b2445aa3c0494224]
module.ap-southeast-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0fe4f55e82617a51f]
module.ap-southeast-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0abf73e5ebf3dc395]
module.sa-east-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0e860dade3e2128f3]
module.ap-southeast-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0265f2a0f18a460fb]
module.iam.aws_iam_policy.WhistEC2PassRoleUserPolicy: Refreshing state... [id=arn:aws:iam::747391415460:policy/WhistEC2PassRoleUserPolicydev]
module.ap-northeast-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-00c65ffcf3ccf53f3]
module.us-west-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-069b6a6a3704249d3]
module.ap-northeast-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-005937cc6840fd124]
module.me-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-014cc4035b1e66d24]
module.me-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-089f4a6192d7fe881]
module.me-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0841eebe1849ccf68]
module.me-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-02845cb07005c7831]
module.eu-north-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-03aff93651eb3b9cc]
module.ca-central-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0561de440037a25bb]
module.eu-central-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-070d1c79038f596ed]
module.eu-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-02ed578209bfe26af]
module.eu-west-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-01fda9e38ca27b38e]
module.af-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0e1019c16c7d979f6]
module.ap-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-06b44aac54728de70]
module.ap-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0b984d7bd1335532e]
module.ap-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-04f4889c6cb19ff24]
module.ap-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0ed6e5d0fc6f1da32]
module.ap-southeast-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0a502f74ef6d0ab17]
module.ap-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0a87cedaed0e0f174]
module.ap-northeast-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-037435d50cc80ad0f]
module.iam.aws_iam_user_policy_attachment.WhistEC2PassRoleUserPolicyAttachment: Refreshing state... [id=WhistEC2PassRoledev-20220324143819424800000001]
module.ap-southeast-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-07a2a9b7dfb4125c4]
module.me-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-04b079326cc6acca6]
module.ap-east-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0567e5abf862ebcfd]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place
  - destroy
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.af-south-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-03c79b8f51d458679"
      ~ subnet_ids             = [
          - "subnet-029b7025d2891fa5d",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.af-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:af-south-1:747391415460:security-group/sg-0c8aead7849c538f6" -> (known after apply)
      ~ id                     = "sg-0c8aead7849c538f6" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203201680600000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-east-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0ed6e5d0fc6f1da32"
      ~ subnet_ids             = [
          - "subnet-0b984d7bd1335532e",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-east-1:747391415460:security-group/sg-06b44aac54728de70" -> (known after apply)
      ~ id                     = "sg-06b44aac54728de70" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203207136300000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-northeast-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0696f9c859c38ef80"
      ~ subnet_ids             = [
          - "subnet-045c6019edc794d9d",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-northeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-northeast-1:747391415460:security-group/sg-006a9593f09987746" -> (known after apply)
      ~ id                     = "sg-006a9593f09987746" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203202146700000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-northeast-2.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0b01739fc9635f9dd"
      ~ subnet_ids             = [
          - "subnet-0b17a31da54c749ca",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-northeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-northeast-2:747391415460:security-group/sg-0841e2d32b1dca75d" -> (known after apply)
      ~ id                     = "sg-0841e2d32b1dca75d" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203206745900000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-northeast-3.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-01d87edc81f145213"
      ~ subnet_ids             = [
          - "subnet-0bd26b7a093d61f09",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-northeast-3.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-northeast-3:747391415460:security-group/sg-05c3524527726af01" -> (known after apply)
      ~ id                     = "sg-05c3524527726af01" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203203361900000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-south-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-08864087f5b5173d0"
      ~ subnet_ids             = [
          - "subnet-014d3ffbb353313d0",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-south-1:747391415460:security-group/sg-00c9edfacdc25de76" -> (known after apply)
      ~ id                     = "sg-00c9edfacdc25de76" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203207095800000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 52c59c05) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:ap-south-1:747391415460:security-group/sg-094d06842b5f59564" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-094d06842b5f59564" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-00169b25bb270044a" -> null
    }

  # module.ap-southeast-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-07ccaa324b0d21294"
      ~ subnet_ids             = [
          - "subnet-0d3f618157c15e1af",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-southeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-southeast-1:747391415460:security-group/sg-023d9eb51ccddba56" -> (known after apply)
      ~ id                     = "sg-023d9eb51ccddba56" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203202716600000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-southeast-2.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0b2445aa3c0494224"
      ~ subnet_ids             = [
          - "subnet-0fe4f55e82617a51f",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-southeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-southeast-2:747391415460:security-group/sg-07b69e18341615b06" -> (known after apply)
      ~ id                     = "sg-07b69e18341615b06" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203201006500000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ap-southeast-3.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-03b5ec27a1c46bcb5"
      ~ subnet_ids             = [
          - "subnet-04fec63758705a8cd",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ap-southeast-3.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ap-southeast-3:747391415460:security-group/sg-099de2a76922fd03c" -> (known after apply)
      ~ id                     = "sg-099de2a76922fd03c" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203201617500000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.ca-central-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-099e6ffe4f4179c41"
      ~ subnet_ids             = [
          - "subnet-0defad59912bceb66",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.ca-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:ca-central-1:747391415460:security-group/sg-0c5abc8d4f4af7347" -> (known after apply)
      ~ id                     = "sg-0c5abc8d4f4af7347" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203200344000000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-central-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0897d35631096b3f4"
      ~ subnet_ids             = [
          - "subnet-07a90b32c80907dbb",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-central-1:747391415460:security-group/sg-0be1943cd20974fab" -> (known after apply)
      ~ id                     = "sg-0be1943cd20974fab" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203205520400000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-north-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0b190eea92e441f31"
      ~ subnet_ids             = [
          - "subnet-0490bcb9900fcf674",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-north-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-north-1:747391415460:security-group/sg-0466e8b168e216b71" -> (known after apply)
      ~ id                     = "sg-0466e8b168e216b71" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203204051400000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-south-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-00dbb8e83cbb682cc"
      ~ subnet_ids             = [
          - "subnet-090ca50025efac330",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-south-1:747391415460:security-group/sg-0030d30d374370d29" -> (known after apply)
      ~ id                     = "sg-0030d30d374370d29" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203203060900000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 39b4b278) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:eu-south-1:747391415460:security-group/sg-0c8e673e2faa82007" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-0c8e673e2faa82007" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-05d15fe9593c1447e" -> null
    }

  # module.eu-west-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-05dad9ee17fe72a92"
      ~ subnet_ids             = [
          - "subnet-0199c5859dd75fc9f",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-west-1:747391415460:security-group/sg-065f4abf00f9772be" -> (known after apply)
      ~ id                     = "sg-065f4abf00f9772be" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203202439600000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-west-2.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-03f4d5664d50ca4e7"
      ~ subnet_ids             = [
          - "subnet-05afdf3715cd85458",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-west-2:747391415460:security-group/sg-0bce542ed0dbba12d" -> (known after apply)
      ~ id                     = "sg-0bce542ed0dbba12d" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203204625800000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 3d440c95) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:eu-west-2:747391415460:security-group/sg-0fe40df1aeecfff8b" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-0fe40df1aeecfff8b" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-0b8f9b1548a013c11" -> null
    }

  # module.eu-west-3.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0a79a3c77b82520b6"
      ~ subnet_ids             = [
          - "subnet-0e03e05330924f8e2",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.eu-west-3.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:eu-west-3:747391415460:security-group/sg-03c3c6dce3e22da8d" -> (known after apply)
      ~ id                     = "sg-03c3c6dce3e22da8d" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203203829400000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.eu-west-3.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 1e691365) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:eu-west-3:747391415460:security-group/sg-07662bdff18d25039" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-07662bdff18d25039" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-07ac59807ac5d3bef" -> null
    }

  # module.me-south-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-089f4a6192d7fe881"
      ~ subnet_ids             = [
          - "subnet-0841eebe1849ccf68",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.me-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:me-south-1:747391415460:security-group/sg-014cc4035b1e66d24" -> (known after apply)
      ~ id                     = "sg-014cc4035b1e66d24" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203206025500000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.sa-east-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-04a29e57683192622"
      ~ subnet_ids             = [
          - "subnet-01e4cfe2221968669",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.sa-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:sa-east-1:747391415460:security-group/sg-0b3cb84b1adbfd595" -> (known after apply)
      ~ id                     = "sg-0b3cb84b1adbfd595" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203200270600000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.us-east-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0e29a4bd5bb0915a4"
      ~ subnet_ids             = [
          - "subnet-02865ffebdb591468",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.us-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:us-east-1:747391415460:security-group/sg-071b3eb9ec06cee34" -> (known after apply)
      ~ id                     = "sg-071b3eb9ec06cee34" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203205104400000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.us-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 896b3e64) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:us-east-1:747391415460:security-group/sg-01fb458379935c191" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-01fb458379935c191" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-03a7ed0d3076fa64c" -> null
    }

  # module.us-east-2.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0908f37dbd846bd5e"
      ~ subnet_ids             = [
          - "subnet-0771dd94d1566ee64",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.us-east-2.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:us-east-2:747391415460:security-group/sg-09851fb142b944e89" -> (known after apply)
      ~ id                     = "sg-09851fb142b944e89" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203202012500000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.us-west-1.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-064e0cf9d22b5eedb"
      ~ subnet_ids             = [
          - "subnet-04d1642d328e00289",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.us-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:us-west-1:747391415460:security-group/sg-03a8f13a5afc737ac" -> (known after apply)
      ~ id                     = "sg-03a8f13a5afc737ac" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203204896300000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # module.us-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup (deposed object 9b714671) will be destroyed
  # (left over from a partially-failed replacement of this instance)
  - resource "aws_security_group" "MandelboxesSecurityGroup" {
      - arn                    = "arn:aws:ec2:us-west-1:747391415460:security-group/sg-00f35ab9dd9780f14" -> null
      - description            = "The security group used for instances which run mandelboxes. The ingress rules are the ports that can be allocated by Docker, and the egress rules allows all traffic." -> null
      - egress                 = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ipv4-rule"
              - from_port        = 0
              - ipv6_cidr_blocks = [
                  - "::/0",
                ]
              - prefix_list_ids  = []
              - protocol         = "-1"
              - security_groups  = []
              - self             = false
              - to_port          = 0
            },
        ] -> null
      - id                     = "sg-00f35ab9dd9780f14" -> null
      - ingress                = [
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-ssh-rule"
              - from_port        = 22
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 22
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-tcp-rule"
              - from_port        = 443
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "tcp"
              - security_groups  = []
              - self             = false
              - to_port          = 443
            },
          - {
              - cidr_blocks      = [
                  - "0.0.0.0/0",
                ]
              - description      = "whist-udp-rule"
              - from_port        = 1025
              - ipv6_cidr_blocks = []
              - prefix_list_ids  = []
              - protocol         = "udp"
              - security_groups  = []
              - self             = false
              - to_port          = 49150
            },
        ] -> null
      - name                   = "MandelboxesSecurityGroup" -> null
      - owner_id               = "747391415460" -> null
      - revoke_rules_on_delete = false -> null
      - tags                   = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - tags_all               = {
          - "Env"       = "dev"
          - "Name"      = "MandelboxesSecurityGroupdev"
          - "Terraform" = "true"
        } -> null
      - vpc_id                 = "vpc-0f16038d2b2b0ea19" -> null
    }

  # module.us-west-2.module.vpc.aws_default_network_acl.default will be updated in-place
  ~ resource "aws_default_network_acl" "default" {
        id                     = "acl-0f4cc87cd0d7fafb2"
      ~ subnet_ids             = [
          - "subnet-0cd3d195f4b9b7d7c",
        ]
        tags                   = {
            "Env"       = "dev"
            "Name"      = "DefaultNetworkACLdev"
            "Terraform" = "true"
        }
        # (5 unchanged attributes hidden)


        # (2 unchanged blocks hidden)
    }

  # module.us-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup must be replaced
-/+ resource "aws_security_group" "MandelboxesSecurityGroup" {
      ~ arn                    = "arn:aws:ec2:us-west-2:747391415460:security-group/sg-0a26cf6c9ce82dc9f" -> (known after apply)
      ~ id                     = "sg-0a26cf6c9ce82dc9f" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev20220620203205769900000001" -> "MandelboxesSecurityGroup" # forces replacement
      ~ name_prefix            = "MandelboxesSecurityGroupdev" -> (known after apply)
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

Plan: 22 to add, 22 to change, 28 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@MauAraujo MauAraujo marked this pull request as draft June 21, 2022 14:55
@philippemnoel philippemnoel marked this pull request as ready for review June 21, 2022 15:00
@philippemnoel philippemnoel merged commit 1f2795f into dev Jun 21, 2022
@philippemnoel philippemnoel deleted the MauAraujo/revert-security-group-rename branch June 21, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📁 Repo: backend This PR/Issue modifies /backend code 📁 Repo: infrastructure This PR/Issue modifies /infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants