diff --git a/backend/dataall/core/environment/api/types.py b/backend/dataall/core/environment/api/types.py index 791516173..020c217f0 100644 --- a/backend/dataall/core/environment/api/types.py +++ b/backend/dataall/core/environment/api/types.py @@ -136,6 +136,11 @@ type=gql.Ref('Organization'), resolver=get_parent_organization, ), + gql.Field( + name='networks', + type=gql.ArrayType(gql.Ref('Vpc')), + resolver=resolve_vpc_list, + ) ], ) diff --git a/frontend/src/services/graphql/Environment/listValidEnvironments.js b/frontend/src/services/graphql/Environment/listValidEnvironments.js index 74f9191e7..753e0690c 100644 --- a/frontend/src/services/graphql/Environment/listValidEnvironments.js +++ b/frontend/src/services/graphql/Environment/listValidEnvironments.js @@ -17,6 +17,11 @@ export const listValidEnvironments = ({ filter }) => ({ name label } + networks { + VpcId + privateSubnetIds + publicSubnetIds + } } } }