From fa0701565919c2f9b01f0428552c6aaeadd92b4a Mon Sep 17 00:00:00 2001 From: Daniel Sotirhos Date: Tue, 1 Aug 2023 15:54:35 -0700 Subject: [PATCH] [u] Fix: Noisy alarm from EC2 for CreateNetworkInterface during initial deploy (#5363) --- UPGRADING.rst | 10 ++++++++++ terraform/shared/shared.tf.json.template.py | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/UPGRADING.rst b/UPGRADING.rst index b55e0ffbc..8e154e14c 100644 --- a/UPGRADING.rst +++ b/UPGRADING.rst @@ -20,6 +20,16 @@ reverted. This is all fairly informal and loosely defined. Hopefully we won't have too many entries in this file. +#5363 Noisy alarm from EC2 for CreateNetworkInterface during initial deploy +=========================================================================== + +Operator +~~~~~~~~ + +Manually deploy the ``shared`` component of any main deployment just before +pushing the merge commit to the GitLab instance in that deployment. + + #5408 Prepare for vacation ========================== diff --git a/terraform/shared/shared.tf.json.template.py b/terraform/shared/shared.tf.json.template.py index d3049085c..ddaf5f060 100644 --- a/terraform/shared/shared.tf.json.template.py +++ b/terraform/shared/shared.tf.json.template.py @@ -75,6 +75,10 @@ def paren(s: str) -> str: '$.eventSource != "elasticloadbalancing.amazonaws.com"', '$.eventName != "DescribeTargetGroupAttributes"', '$.userIdentity.invokedBy != "inspector2.amazonaws.com"', + ])), + paren(' || '.join([ + '$.eventSource != "ec2.amazonaws.com"', + '$.eventName != "CreateNetworkInterface"', ])) ]) + '}' ),