Skip to content

Commit

Permalink
[u] Fix: Noisy alarm from EC2 for CreateNetworkInterface during initi…
Browse files Browse the repository at this point in the history
…al deploy (#5363, PR #5442)
  • Loading branch information
achave11-ucsc committed Aug 4, 2023
2 parents 06112d0 + fa07015 commit 65f7ff0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions UPGRADING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==========================

Expand Down
4 changes: 4 additions & 0 deletions terraform/shared/shared.tf.json.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
]))
]) + '}'
),
Expand Down

0 comments on commit 65f7ff0

Please sign in to comment.