From 5d289ecec2c1d3231c92f709f8cfd0e773738bcf Mon Sep 17 00:00:00 2001 From: julialawrence Date: Mon, 17 Jun 2024 12:22:22 +0100 Subject: [PATCH 1/2] Adding London region to Bedrock --- examples/iam_policy.json | 3 ++- iam_builder/templates.py | 3 ++- tests/expected_policy/all_config.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/iam_policy.json b/examples/iam_policy.json index 4833616..9e4f014 100644 --- a/examples/iam_policy.json +++ b/examples/iam_policy.json @@ -339,7 +339,8 @@ "StringEquals": { "aws:RequestedRegion": [ "eu-central-1", - "eu-west-3" + "eu-west-3", + "eu-west-2" ] } } diff --git a/iam_builder/templates.py b/iam_builder/templates.py index 6b553b9..7536642 100755 --- a/iam_builder/templates.py +++ b/iam_builder/templates.py @@ -160,7 +160,8 @@ "StringEquals": { "aws:RequestedRegion": [ "eu-central-1", - "eu-west-3" + "eu-west-3", + "eu-west-2" ] } } diff --git a/tests/expected_policy/all_config.json b/tests/expected_policy/all_config.json index b5e8058..f048efd 100644 --- a/tests/expected_policy/all_config.json +++ b/tests/expected_policy/all_config.json @@ -323,7 +323,8 @@ "StringEquals": { "aws:RequestedRegion": [ "eu-central-1", - "eu-west-3" + "eu-west-3", + "eu-west-2" ] } } From 8d5b8391d5b894a750ec0f81b1ec3e23606d2431 Mon Sep 17 00:00:00 2001 From: julialawrence Date: Mon, 17 Jun 2024 12:27:29 +0100 Subject: [PATCH 2/2] Updating version --- CHANGELOG.md | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d331c9b..22825be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v4.7.0 + +- Add London region for Amazon Bedrock + ## v4.6.0 - Add Amazon Bedrock permissions diff --git a/pyproject.toml b/pyproject.toml index 3e3cf6c..810720d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iam_builder" -version = "4.6.0" +version = "4.7.0" description = "A lil python package to generate iam policies" authors = ["Karik Isichei "] license = "MIT"