From 389566b62ad00560c1f9a3c4fa335a545df7d71a Mon Sep 17 00:00:00 2001 From: Benjamin Morris <93620006+bmorrissirromb@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:13:18 -0700 Subject: [PATCH 1/2] fix partition hardcode --- rdk/template/configRule.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdk/template/configRule.yaml b/rdk/template/configRule.yaml index c5a5ca7..6668852 100644 --- a/rdk/template/configRule.yaml +++ b/rdk/template/configRule.yaml @@ -278,7 +278,7 @@ Resources: - logs:PutLogEvents - logs:DescribeLogStreams Effect: Allow - Resource: "arn:aws:logs:*:*:log-group:/aws/lambda/RDK-Rule-Function*" # Consider scoping to the current account only, if that doesn't break cross-account + Resource: "arn:${AWS::Partition}:logs:*:*:log-group:/aws/lambda/RDK-Rule-Function*" # Consider scoping to the current account only, if that doesn't break cross-account - Sid: "PutConfigEvaluations" Action: - config:PutEvaluations From 12f6dd36a57bc09f2b2d3dda6c3b31ddc7abc720 Mon Sep 17 00:00:00 2001 From: Benjamin Morris Date: Tue, 6 Aug 2024 10:18:24 -0700 Subject: [PATCH 2/2] bump version --- pyproject.toml | 2 +- rdk/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53fbb9b..07b4d56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ # or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. [tool.poetry] name = "rdk" -version = "0.17.12" +version = "0.17.13" description = "Rule Development Kit CLI for AWS Config" authors = [ "AWS RDK Maintainers ", diff --git a/rdk/__init__.py b/rdk/__init__.py index 5d7d9c3..d26265e 100644 --- a/rdk/__init__.py +++ b/rdk/__init__.py @@ -6,4 +6,4 @@ # # or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -MY_VERSION = "0.17.12" +MY_VERSION = "0.17.13"