Skip to content

Commit 95ef2f4

Browse files
DennisTraubDennis Traub
andauthored
Hotfix: Bedrock Studio Bootstrapper (awsdocs#6483)
Hotfix Co-authored-by: Dennis Traub <[email protected]>
1 parent dd0ea53 commit 95ef2f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/example_code/bedrock/scenarios/bedrock_studio_bootstrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def __init__(self, region="us-east-1", config=None):
163163

164164
self._kms_key_arn = None
165165
self._iam_client = self._session.client("iam")
166+
self._permission_boundary_policy_name = "DataZoneBedrockPermissionsBoundary"
166167

167168
def run(self):
168169
logger.info("=" * 80)
@@ -333,7 +334,6 @@ def _create_permission_boundary(self):
333334
logger.info("Step 3: Create Permission Boundary.")
334335
logger.info("-" * 80)
335336

336-
self._permission_boundary_policy_name = "DataZoneBedrockPermissionsBoundary"
337337
logger.info(f"Creating permission boundary: '{self._permission_boundary_policy_name}'...")
338338

339339
try:

0 commit comments

Comments
 (0)