diff --git a/src/aibs_informatics_cdk_lib/constructs_/service/compute.py b/src/aibs_informatics_cdk_lib/constructs_/service/compute.py index b0bf225..8ac7759 100644 --- a/src/aibs_informatics_cdk_lib/constructs_/service/compute.py +++ b/src/aibs_informatics_cdk_lib/constructs_/service/compute.py @@ -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, )