From 8d8aa1b6fbee751c97070e930b449f0b7c1ac0f9 Mon Sep 17 00:00:00 2001 From: Sean Cavanaugh Date: Wed, 11 Nov 2026 14:24:59 -0500 Subject: [PATCH] Preserve additive aws-test-sg rules across Create VPC re-runs. Stop purging inbound security group rules so Deploy Cloud Stack after Deploy Shared Services no longer strips Mattermost/Gitea/Kafka ports. Co-authored-by: Cursor --- cloud/create_vpc.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cloud/create_vpc.yml b/cloud/create_vpc.yml index 5b96c62cf..42de1430e 100644 --- a/cloud/create_vpc.yml +++ b/cloud/create_vpc.yml @@ -59,12 +59,17 @@ purpose: "{{ aws_purpose_tag }}" register: aws_gateway + # purge_rules defaults to true; keep false so Deploy Cloud Stack and Deploy + # Shared Services can run in either order. Mattermost (8065), Gitea (3000/80/8080), + # and Kafka (9095) add ports with purge_rules: false — a second Create VPC must + # not strip those rules from the shared aws-test-sg. - name: Create security group internal amazon.aws.ec2_security_group: state: present name: "{{ aws_sg_name }}" region: "{{ create_vm_aws_region }}" description: Inbound WinRM and RDP, http for demo servers and internal AD ports + purge_rules: false rules: - proto: tcp ports: