Skip to content

Commit 2cb0c93

Browse files
committed
there can be more than one fs subnet id
1 parent 75bfab2 commit 2cb0c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hpc_provisioner/src/hpc_provisioner/aws_queries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
register_subnet,
2222
)
2323
from hpc_provisioner.logging_config import LOGGING_CONFIG
24-
from hpc_provisioner.utils import get_fs_sg_id, get_fs_subnet_id
24+
from hpc_provisioner.utils import get_fs_sg_id, get_fs_subnet_ids
2525

2626
logging.config.dictConfig(LOGGING_CONFIG)
2727
logger = logging.getLogger("hpc-resource-provisioner")
@@ -332,7 +332,7 @@ def create_fsx(
332332
FileSystemType="LUSTRE",
333333
StorageCapacity=19200,
334334
StorageType="SSD",
335-
SubnetIds=[get_fs_subnet_id()],
335+
SubnetIds=get_fs_subnet_ids(),
336336
SecurityGroupIds=[get_fs_sg_id()],
337337
Tags=tags,
338338
LustreConfiguration={

0 commit comments

Comments
 (0)