Skip to content

Commit

Permalink
correct the reference to account for boundary policies
Browse files Browse the repository at this point in the history
  • Loading branch information
dgraeber committed Dec 9, 2024
1 parent ca53f44 commit 62af053
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a Ch

### Fixes
- correct archive extraction when there is only one nested path (issue 749)
- force proper resolution of boundary permissions

## v5.0.0 (2024-08-16)

Expand Down
2 changes: 1 addition & 1 deletion seedfarmer/models/manifests/_deployment_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def get_region_seedfarmer_bucket(
def get_permission_boundary_arn(self, target_account: str, target_region: str) -> Optional[str]:
permissions_boundary_name = self.get_parameter_value(
"permissionsBoundaryName",
account_alias=target_account,
account_id=target_account,
region=target_region,
)
return (
Expand Down
2 changes: 1 addition & 1 deletion seedfarmer/models/transfer/_module_deploy_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, **kwargs: Any) -> None:
_module = cast(ModuleManifest, self.deployment_manifest.get_module(self.group_name, self.module_name))

pba = self.deployment_manifest.get_permission_boundary_arn(
target_account=cast(str, _module.target_account),
target_account=cast(str, _module.get_target_account_id()),
target_region=cast(str, _module.target_region),
)
codebuild_image = self.deployment_manifest.get_region_codebuild_image(
Expand Down

0 comments on commit 62af053

Please sign in to comment.