Skip to content

Commit

Permalink
chore: update aws change mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Nov 11, 2024
1 parent 5739193 commit b467199
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/aws/ci/test-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
region:
- eu-west-1
9 changes: 8 additions & 1 deletion charts/aws/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: $schema=./values.schema.json
nameOverride: ""
fullnameOverride: ""
labels: {}
Expand Down Expand Up @@ -67,8 +68,11 @@ transform:
mapping:
- filter: change.change_type == 'TerminateInstances'
action: delete
- filter: config_type == 'AWS::IAM::User' && change.change_type == 'diff' && change.summary == 'PasswordLastUsed'
type: Login
exclude:
- change_type in ['AttachNetworkInterface', 'CreateNetworkInterface', 'DeregisterInstancesFromLoadBalancer', 'RegisterInstancesWithLoadBalancer']
- change_type in ['AttachNetworkInterface', 'CreateNetworkInterface', 'DeregisterInstancesFromLoadBalancer', 'RegisterInstancesWithLoadBalancer','DetachLoadBalancerFromSubnets']
- change_type == 'diff' && summary in ['AvailableIpAddressCount', 'ApproximateNumberOfMessages', 'RunningTasksCount', 'PendingTasksCount','ApproximateNumberOfMessagesNotVisible']
relationship:
# EKS Cluster to Kubernetes Cluster & Kubernetes Node
- filter: config_type == 'AWS::EKS::Cluster'
Expand Down Expand Up @@ -100,3 +104,6 @@ transform:
- filter: config_type == 'AWS::Region'
expr: |
[{"type": "AWS::AvailabilityZoneID", "labels": {"region": name}}].toJSON()
retention:
changes: []

0 comments on commit b467199

Please sign in to comment.