From 8749e5cc9c6a1bd499e20656864e91194fafb9e7 Mon Sep 17 00:00:00 2001 From: jamesstottmoj Date: Mon, 11 Mar 2024 12:10:47 +0000 Subject: [PATCH] fixed error in name --- controlpanel/api/cluster.py | 2 +- tests/api/fixtures/aws.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controlpanel/api/cluster.py b/controlpanel/api/cluster.py index 510e386a6..a7972adfb 100644 --- a/controlpanel/api/cluster.py +++ b/controlpanel/api/cluster.py @@ -199,7 +199,7 @@ class User(EntityResource): } READ_INLINE_POLICIES = f"{settings.ENV}-read-user-roles-inline-policies" - BEDROCK_POLICY_NAME = "anaytial-platform-bedrock-integration" + BEDROCK_POLICY_NAME = "analytical-platform-bedrock-integration" ATTACH_POLICIES = [ READ_INLINE_POLICIES, diff --git a/tests/api/fixtures/aws.py b/tests/api/fixtures/aws.py index 2a751ff86..d3d3e3e59 100644 --- a/tests/api/fixtures/aws.py +++ b/tests/api/fixtures/aws.py @@ -131,7 +131,7 @@ def airflow_prod_policy(iam): @pytest.fixture(autouse=True) def bedrock_policy(iam): result = iam.meta.client.create_policy( - PolicyName="anaytial-platform-bedrock-integration", + PolicyName="analytical-platform-bedrock-integration", PolicyDocument=json.dumps( { "Version": "2012-10-17",