From 737118cce08914f27528b3a193bfda8defe6c01c Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Mon, 30 Sep 2024 14:39:04 +0100 Subject: [PATCH 1/3] Update schema Signed-off-by: Jacob Woffenden --- .devcontainer/devcontainer-lock.json | 6 +++--- iam_builder/schemas/iam_schema.json | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json index e10235c..c9cf595 100644 --- a/.devcontainer/devcontainer-lock.json +++ b/.devcontainer/devcontainer-lock.json @@ -1,9 +1,9 @@ { "features": { "ghcr.io/devcontainers/features/python:1": { - "version": "1.6.1", - "resolved": "ghcr.io/devcontainers/features/python@sha256:d449aea663ea23ac4a7968719d5920dd57128f0429cd8e216849d5afe67651fb", - "integrity": "sha256:d449aea663ea23ac4a7968719d5920dd57128f0429cd8e216849d5afe67651fb" + "version": "1.6.4", + "resolved": "ghcr.io/devcontainers/features/python@sha256:046a904b940e1793327369f57f4b0a7d89febbdd9e77086a70feffdfa564f888", + "integrity": "sha256:046a904b940e1793327369f57f4b0a7d89febbdd9e77086a70feffdfa564f888" } } } \ No newline at end of file diff --git a/iam_builder/schemas/iam_schema.json b/iam_builder/schemas/iam_schema.json index 614b1d5..797c795 100644 --- a/iam_builder/schemas/iam_schema.json +++ b/iam_builder/schemas/iam_schema.json @@ -8,6 +8,10 @@ "description": "The role name of the airflow job", "type": "string" }, + "external_iam_role": { + "description": "The ARN of an external IAM role to assume", + "type": "string" + }, "athena": { "description": "Athena configuration", "additionalProperties": false, @@ -90,4 +94,4 @@ "type": "integer" } } -} \ No newline at end of file +} From 65817292d346a6f9690f800d9725b07609033f46 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Mon, 30 Sep 2024 14:48:27 +0100 Subject: [PATCH 2/3] Bump version to 4.9.0-rc1 in pyproject.toml Signed-off-by: Jacob Woffenden --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 12105fd..ec4c8a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iam_builder" -version = "4.8.0" +version = "4.9.0-rc1" description = "A lil python package to generate iam policies" authors = ["Karik Isichei "] license = "MIT" From d71d013b4f171e31f83d429ecf7c91fea189ec13 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Mon, 30 Sep 2024 14:56:00 +0100 Subject: [PATCH 3/3] Update version proper and README Signed-off-by: Jacob Woffenden --- CHANGELOG.md | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fd08d..6178e37 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.9.0 + +- Add `external_iam_role` to allow Airflow Pulumi tests to pass + ## v4.8.0 - Updates standard athena policy to add 'glue:GetTableVersions' diff --git a/pyproject.toml b/pyproject.toml index ec4c8a5..1410fc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "iam_builder" -version = "4.9.0-rc1" +version = "4.9.0" description = "A lil python package to generate iam policies" authors = ["Karik Isichei "] license = "MIT"