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

Add workaround for updating security groups in use #6794

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

MauAraujo
Copy link

@MauAraujo MauAraujo commented Jun 20, 2022

Ticket(s) Closed

  • Closes #

Description
After merging the #6776 PR, the new changes failed to deploy due to some security groups being in use by instances. This behavior has been documented in the terraform aws provider repo, and in this PR I introduce some workarounds mentioned there to update the security groups without needing to recreate them.

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 20, 2022
@MauAraujo MauAraujo marked this pull request as draft June 20, 2022 18:54
@github-actions
Copy link

github-actions bot commented Jun 20, 2022

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.ap-northeast-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-068af3c99c8c82cd9]
module.iam.data.aws_iam_policy_document.WhistEC2DeploymentRolePolicy: Reading...
module.iam.data.aws_iam_policy_document.WhistEC2DeploymentRolePolicy: Read complete after 0s [id=3378534219]
module.s3.aws_s3_bucket.whist-user-app-configs: Refreshing state... [id=whist-user-app-configs-dev]
module.s3.aws_s3_bucket.whist-terraform-state[0]: Refreshing state... [id=whist-terraform-state]
module.s3.aws_s3_bucket.whist-e2e-protocol-test-logs[0]: Refreshing state... [id=whist-e2e-protocol-test-logs]
module.s3.aws_s3_bucket.whist-protocol-dependencies[0]: Refreshing state... [id=whist-protocol-dependencies]
module.s3.aws_s3_bucket.whist-test-assets[0]: Refreshing state... [id=whist-test-assets]
module.s3.aws_s3_bucket.whist-electron-windows: Refreshing state... [id=whist-electron-windows-dev]
module.s3.aws_s3_bucket.whist-electron-macos-arm64: Refreshing state... [id=whist-electron-macos-arm64-dev]
module.iam.aws_iam_group.WhistEngineers[0]: Refreshing state... [id=WhistEngineers]
module.iam.aws_iam_user.GithubActionsUser[0]: Refreshing state... [id=GithubActions]
module.s3.aws_s3_bucket.whist-brand-assets[0]: Refreshing state... [id=whist-brand-assets]
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-dev-secrets[0]: Refreshing state... [id=whist-dev-secrets]
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_group.WhistCI[0]: Refreshing state... [id=WhistCI]
module.iam.aws_iam_group.WhistAdmins[0]: Refreshing state... [id=WhistAdmins]
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.ServiceRoleForComputeOptimizer[0]: Refreshing state... [id=arn:aws:iam::747391415460:role/aws-service-role/compute-optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer]
module.iam.data.aws_iam_policy_document.MFAPolicy: Reading...
module.iam.data.aws_iam_policy_document.MFAPolicy: Read complete after 0s [id=2380769577]
module.iam.aws_iam_user.WhistEC2PassRoleUser: Refreshing state... [id=WhistEC2PassRoledev]
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.aws_iam_group.Whist2FA[0]: Refreshing state... [id=Whist2FA]
module.s3.aws_s3_bucket.whist-electron-windows-base[0]: Refreshing state... [id=whist-electron-windows-base]
module.ap-southeast-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-030e8cdf2773c10a9]
module.ap-southeast-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0a5ee89749609fa5d]
module.ap-southeast-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f7ff1686305c5cab]
module.iam.data.aws_iam_policy_document.PackerAMIBuilderInlinePolicy: Reading...
module.iam.data.aws_iam_policy_document.PackerAMIBuilderInlinePolicy: Read complete after 0s [id=3184250139]
module.us-west-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f16038d2b2b0ea19]
module.us-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-03a7ed0d3076fa64c]
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.eu-west-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-06a6eeba0e7942613]
module.sa-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0036b79872a1e76ff]
module.us-west-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0c6e3f5d813d3cca4]
module.me-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-01e2b401dff701457]
module.ca-central-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-04b596c00ef15b94b]
module.us-east-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-06fbec62baa2614ba]
module.eu-north-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-097137234eb667ecb]
module.ap-northeast-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0f52c86e4792d189f]
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_versioning.whist-user-app-configs-versioning: 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_lifecycle_configuration.whist-user-app-configs-lifecycle: Refreshing state... [id=whist-user-app-configs-dev]
module.ap-northeast-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-04fea1ba4ee0a6fa0]
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.ap-northeast-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-01d87edc81f145213]
module.ap-northeast-3.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0ae9db662bbfe721f]
module.s3.aws_s3_bucket_versioning.whist-terraform-state-versioning[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_public_access_block.whist-terraform-state[0]: Refreshing state... [id=whist-terraform-state]
module.ap-east-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0ebdb998aa79ddd16]
module.eu-west-3.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-07ac59807ac5d3bef]
module.af-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0b5b58c7cb50b157e]
module.iam.aws_iam_group_policy_attachment.EngineeringPolicy["arn:aws:iam::aws:policy/AWSSupportAccess"]: Refreshing state... [id=WhistEngineers-20220620175608654500000004]
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/AmazonEC2FullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608605600000003]
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/AmazonSSMFullAccess"]: Refreshing state... [id=WhistEngineers-20220620175608731400000005]
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_lifecycle_configuration.whist-e2e-protocol-test-logs-lifecycle[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.eu-west-2.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-0b8f9b1548a013c11]
module.iam.aws_iam_user_group_membership.GithubActionsGroupMembership[0]: Refreshing state... [id=terraform-20220620202211440700000001]
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/AmazonEC2FullAccess"]: Refreshing state... [id=WhistCI-2022062017560917530000000b]
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/AmazonVPCFullAccess"]: Refreshing state... [id=WhistCI-20220620175608890900000007]
module.iam.aws_iam_group_policy_attachment.AdminPolicy[0]: Refreshing state... [id=WhistAdmins-20220620175608272700000001]
module.iam.aws_iam_group_policy_attachment.CIPolicy["arn:aws:iam::aws:policy/SecretsManagerReadWrite"]: Refreshing state... [id=WhistCI-2022062017560917040000000a]
module.iam.aws_iam_role.EC2DeploymentRole: Refreshing state... [id=EC2DeploymentRoledev]
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.iam.aws_iam_access_key.WhistEC2PassRoleUserAccessKey: Refreshing state... [id=AKIA24A776SSC2HJPX6M]
module.iam.aws_iam_group_policy.ForceMFA[0]: Refreshing state... [id=Whist2FA:ForceMFA]
module.eu-south-1.module.vpc.aws_vpc.MainVPC: Refreshing state... [id=vpc-05d15fe9593c1447e]
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_public_access_block.whist-test-assets[0]: Refreshing state... [id=whist-test-assets]
module.s3.aws_s3_bucket_public_access_block.whist-electron-windows: Refreshing state... [id=whist-electron-windows-dev]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-windows-encryption: Refreshing state... [id=whist-electron-windows-dev]
module.iam.aws_iam_role.PackerAMIBuilder[0]: Refreshing state... [id=PackerAMIBuilder]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-macos-arm64-encryption: Refreshing state... [id=whist-electron-macos-arm64-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-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_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-dev-secrets[0]: Refreshing state... [id=whist-dev-secrets]
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-fonts[0]: Refreshing state... [id=whist-fonts]
module.us-west-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-04d1642d328e00289]
module.us-west-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0b8d8de6b58ef885b]
module.us-west-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-064e0cf9d22b5eedb]
module.us-west-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-00f35ab9dd9780f14]
module.ap-southeast-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b2445aa3c0494224]
module.ap-southeast-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0abf73e5ebf3dc395]
module.ap-southeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0e7da2f9301a74afb]
module.ap-southeast-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0fe4f55e82617a51f]
module.s3.aws_s3_bucket_server_side_encryption_configuration.whist-electron-windows-base-encryption[0]: Refreshing state... [id=whist-electron-windows-base]
module.s3.aws_s3_bucket_public_access_block.whist-electron-windows-base[0]: Refreshing state... [id=whist-electron-windows-base]
module.us-west-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0f4cc87cd0d7fafb2]
module.us-west-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0ac222f4ab7095f26]
module.us-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0ecfcf716b12c8a2e]
module.us-west-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0cd3d195f4b9b7d7c]
module.ap-southeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0c07151eb26631677]
module.ap-southeast-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0d3f618157c15e1af]
module.ap-southeast-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-07ccaa324b0d21294]
module.ap-southeast-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03e05dec970475190]
module.us-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-02865ffebdb591468]
module.us-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0e29a4bd5bb0915a4]
module.us-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0cf041081c3936bc3]
module.us-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-01fb458379935c191]
module.eu-west-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-00437ba57d1d8fa5f]
module.eu-west-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-05dad9ee17fe72a92]
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-0dd0ad8630bb71026]
module.sa-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03a3cbdc948e21462]
module.sa-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0de400a22a6294bab]
module.sa-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-01e4cfe2221968669]
module.sa-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-04a29e57683192622]
module.ca-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-02acc68aaa4b90526]
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.ca-central-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0defad59912bceb66]
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-00584250bda81fd3b]
module.ap-southeast-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03b5ec27a1c46bcb5]
module.ap-southeast-3.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0c8e2ce58d8339dbd]
module.us-east-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-03bcef0fda793ff29]
module.us-east-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0908f37dbd846bd5e]
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.ap-northeast-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-005937cc6840fd124]
module.eu-central-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-07a90b32c80907dbb]
module.eu-central-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0824cfbf80a1c8c98]
module.eu-central-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0897d35631096b3f4]
module.eu-central-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0ccfed1d21f2b94c3]
module.ap-northeast-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0b17a31da54c749ca]
module.ap-northeast-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-0140ae7480c906863]
module.ap-northeast-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0ddbde939bbf2b419]
module.ap-northeast-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b01739fc9635f9dd]
module.ap-northeast-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-07e2f4d4af2905ebd]
module.ap-northeast-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0696f9c859c38ef80]
module.ap-northeast-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-045c6019edc794d9d]
module.ap-northeast-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-02f876b77c56f9a02]
module.eu-north-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-09e80cb15f8fdd45f]
module.eu-north-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0490bcb9900fcf674]
module.eu-north-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0b190eea92e441f31]
module.ap-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-08864087f5b5173d0]
module.eu-north-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-05f199e0941894b4a]
module.ap-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-014d3ffbb353313d0]
module.ap-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-018f1caf301bba59c]
module.ap-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-094d06842b5f59564]
module.me-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-06686c00f00314219]
module.me-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-089f4a6192d7fe881]
module.me-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-02845cb07005c7831]
module.me-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0841eebe1849ccf68]
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-east-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-04f4889c6cb19ff24]
module.ap-east-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0b984d7bd1335532e]
module.ap-east-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0ed6e5d0fc6f1da32]
module.ap-east-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-085fea011958306b4]
module.eu-west-3.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-07662bdff18d25039]
module.eu-west-3.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-00f6841de0e20f7fa]
module.eu-west-3.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-0a79a3c77b82520b6]
module.us-west-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0cb865924a2d12d00]
module.eu-west-3.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-0e03e05330924f8e2]
module.us-west-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-069b6a6a3704249d3]
module.ap-southeast-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-07a2a9b7dfb4125c4]
module.eu-west-2.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-05afdf3715cd85458]
module.eu-west-2.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0fe40df1aeecfff8b]
module.eu-west-2.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03f4d5664d50ca4e7]
module.eu-west-2.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-06025f1e3b927dc5c]
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.ap-southeast-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0265f2a0f18a460fb]
module.sa-east-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0e860dade3e2128f3]
module.eu-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-090ca50025efac330]
module.eu-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0c8e673e2faa82007]
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.af-south-1.module.vpc.aws_internet_gateway.MainInternetGateway: Refreshing state... [id=igw-03c9844aa82b67044]
module.af-south-1.module.vpc.aws_security_group.MandelboxesSecurityGroup: Refreshing state... [id=sg-0bad8b7cf23608a1f]
module.af-south-1.module.vpc.aws_subnet.DefaultSubnet: Refreshing state... [id=subnet-029b7025d2891fa5d]
module.af-south-1.module.vpc.aws_default_network_acl.default: Refreshing state... [id=acl-03c79b8f51d458679]
module.ca-central-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0561de440037a25bb]
module.us-east-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0444b8e11031ad621]
module.ap-southeast-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0a502f74ef6d0ab17]
module.ap-northeast-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-00c65ffcf3ccf53f3]
module.ap-northeast-2.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-037435d50cc80ad0f]
module.eu-central-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-070d1c79038f596ed]
module.eu-north-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-03aff93651eb3b9cc]
module.iam.aws_iam_policy.WhistEC2PassRoleUserPolicy: Refreshing state... [id=arn:aws:iam::747391415460:policy/WhistEC2PassRoleUserPolicydev]
module.ap-east-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0567e5abf862ebcfd]
module.ap-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-0a87cedaed0e0f174]
module.me-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-04b079326cc6acca6]
module.eu-west-3.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-053c4cbb99a2c65d8]
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.eu-south-1.module.vpc.aws_default_route_table.MainRouteTable: Refreshing state... [id=rtb-02ed578209bfe26af]
module.iam.aws_iam_user_policy_attachment.WhistEC2PassRoleUserPolicyAttachment: Refreshing state... [id=WhistEC2PassRoledev-20220324143819424800000001]

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

Terraform will perform the following actions:

  # module.iam.aws_iam_user.GithubActionsUser[0] will be updated in-place
  # (moved from module.iam.aws_iam_user.GithubActionsUser)
  ~ resource "aws_iam_user" "GithubActionsUser" {
      + force_destroy = false
        id            = "GithubActions"
      ~ name          = "GitHubActions" -> "GithubActions"
      ~ tags          = {
          + "Env"       = "dev"
          + "Name"      = "GithubActions"
          + "Terraform" = "true"
        }
      ~ tags_all      = {
          + "Env"       = "dev"
          + "Name"      = "GithubActions"
          + "Terraform" = "true"
        }
        # (3 unchanged attributes hidden)
    }

  # module.iam.aws_iam_user_group_membership.GithubActionsGroupMembership has moved to module.iam.aws_iam_user_group_membership.GithubActionsGroupMembership[0]
    resource "aws_iam_user_group_membership" "GithubActionsGroupMembership" {
        id     = "terraform-20220620202211440700000001"
        # (2 unchanged attributes hidden)
    }

  # 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-0bad8b7cf23608a1f" -> (known after apply)
      ~ id                     = "sg-0bad8b7cf23608a1f" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroupdev" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0ebdb998aa79ddd16"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-04fea1ba4ee0a6fa0"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0f52c86e4792d189f"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-068af3c99c8c82cd9"
    }

  # 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-094d06842b5f59564" -> (known after apply)
      ~ id                     = "sg-094d06842b5f59564" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-030e8cdf2773c10a9"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0a5ee89749609fa5d"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0f7ff1686305c5cab"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-04b596c00ef15b94b"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-05334bb49e19fdf54"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-097137234eb667ecb"
    }

  # 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-0c8e673e2faa82007" -> (known after apply)
      ~ id                     = "sg-0c8e673e2faa82007" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-06a6eeba0e7942613"
    }

  # 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-0fe40df1aeecfff8b" -> (known after apply)
      ~ id                     = "sg-0fe40df1aeecfff8b" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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-07662bdff18d25039" -> (known after apply)
      ~ id                     = "sg-07662bdff18d25039" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-01e2b401dff701457"
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0036b79872a1e76ff"
    }

  # 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-01fb458379935c191" -> (known after apply)
      ~ id                     = "sg-01fb458379935c191" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-06fbec62baa2614ba"
    }

  # 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-00f35ab9dd9780f14" -> (known after apply)
      ~ id                     = "sg-00f35ab9dd9780f14" -> (known after apply)
      ~ name                   = "MandelboxesSecurityGroup" -> (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev" # forces replacement
      ~ owner_id               = "747391415460" -> (known after apply)
        tags                   = {
            "Env"       = "dev"
            "Name"      = "MandelboxesSecurityGroupdev"
            "Terraform" = "true"
        }
        # (6 unchanged attributes hidden)
    }

  # 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 will be created
  + resource "aws_security_group" "MandelboxesSecurityGroup" {
      + arn                    = (known after apply)
      + 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."
      + 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
            },
        ]
      + id                     = (known after apply)
      + 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
            },
        ]
      + name                   = (known after apply)
      + name_prefix            = "MandelboxesSecurityGroupdev"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + tags_all               = {
          + "Env"       = "dev"
          + "Name"      = "MandelboxesSecurityGroupdev"
          + "Terraform" = "true"
        }
      + vpc_id                 = "vpc-0c6e3f5d813d3cca4"
    }

Plan: 22 to add, 23 to change, 7 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 ready for review June 20, 2022 18:58
@MauAraujo MauAraujo merged commit 96c8c11 into dev Jun 20, 2022
@MauAraujo MauAraujo deleted the MauAraujo/dont-recreate-security-groups branch June 20, 2022 20:30
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.

1 participant