hystax / optscale

FinOps and cloud cost optimization tool. Supports AWS, Azure, GCP, Alibaba Cloud and Kubernetes.

Home Page:https://hystax.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add environment locked

tguisep opened this issue · comments

Hello,

Any good reason to not allow more environments ?

https://github.com/hystax/optscale/blob/integration/rest_api/rest_api_server/handlers/v2/cloud_account.py#L123-L124

I mean, if I change this code, do I need to expect issues ?

Thomas.

Hi Thomas,

Environment cloud account is designed to be a single one at the moment. You can trace the logic starting from here - https://github.com/hystax/optscale/blob/6f7b64c7d8c57dee5793aa0d2b46241be1c7f7ca/rest_api/rest_api_server/controllers/environment_resource.py#L75C1-L75C1

Ok, thanks.

Well, I ll not touch it at the moment :)