From 0f82e4f00bc6e6da625aa4bc04d17ee1e43bb4d3 Mon Sep 17 00:00:00 2001 From: Lennart Rommeiss <61516567+lenderom@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:25:51 +0200 Subject: [PATCH] fix: update go snapshots and maintainer (#1055) * feat: splitup the policy creation if too many parameters are created for one policy Signed-off-by: lennartrommeiss * fix: create a function for improved readability Signed-off-by: lennartrommeiss * feat: smaller returnData Signed-off-by: lennartrommeiss * fix: no i in loop is needed Signed-off-by: lennartrommeiss * fix: update go snapshots and add to maintainers Signed-off-by: lennartrommeiss --------- Signed-off-by: lennartrommeiss --- MAINTAINERS.md | 1 + .../__snapshots__/handler_parameter_yaml_multi_test.snap | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index cc2245bd..06b8de23 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -4,3 +4,4 @@ This page lists all active maintainers of this repository in alphabetical order. [markussiebert](https://github.com/markussiebert) [thomaskrause](https://github.com/obirah) [thomasgeese](https://github.com/zh32) +[lennartrommeiss](https://github.com/lenderom) diff --git a/lambda/__snapshots__/handler_parameter_yaml_multi_test.snap b/lambda/__snapshots__/handler_parameter_yaml_multi_test.snap index 594e4c69..98e007eb 100755 --- a/lambda/__snapshots__/handler_parameter_yaml_multi_test.snap +++ b/lambda/__snapshots__/handler_parameter_yaml_multi_test.snap @@ -47,8 +47,8 @@ main.putParameterValueInputNotSecure{ >>>syncSopsToSecretsmanager arn:aws:arn:custom:sopssync:eu-central-1:123456789012:parameter/testsecret map[string]interface {}{ - "ParameterName[0]": "/foo/bar/key1", - "ParameterName[1]": "/foo/bar/key2", + "Count": int(2), + "Prefix": "/", } nil --- @@ -101,8 +101,8 @@ main.putParameterValueInputNotSecure{ >>>syncSopsToSecretsmanager arn:aws:arn:custom:sopssync:eu-central-1:123456789012:parameter/testsecret map[string]interface {}{ - "ParameterName[0]": "_foo.bar.key1", - "ParameterName[1]": "_foo.bar.key2", + "Count": int(2), + "Prefix": "_", } nil ---