Skip to content

Commit

Permalink
expose iam_role_name through compute construct
Browse files Browse the repository at this point in the history
rpmcginty committed Jul 12, 2024
1 parent 4da2eca commit 0a39933
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aibs_informatics_cdk_lib/constructs_/service/compute.py
Original file line number Diff line number Diff line change
@@ -59,6 +59,7 @@ def __init__(
buckets: Optional[Iterable[s3.Bucket]] = None,
file_systems: Optional[Iterable[Union[efs.FileSystem, efs.IFileSystem]]] = None,
mount_point_configs: Optional[Iterable[MountPointConfiguration]] = None,
instance_role_name: Optional[str] = None,
instance_role_policy_statements: Optional[List[iam.PolicyStatement]] = None,
**kwargs,
) -> None:
@@ -69,6 +70,7 @@ def __init__(
batch_name,
self.env_base,
vpc=vpc,
instance_role_name=instance_role_name,
instance_role_policy_statements=instance_role_policy_statements,
)

0 comments on commit 0a39933

Please sign in to comment.