Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does SLD support multiple cloud provider when operates resource on multiple cloud in one tf config ? #224

Closed
dehengxu opened this issue Dec 27, 2023 · 9 comments · Fixed by #225 or #227
Assignees
Labels
enhancement New feature or request

Comments

@dehengxu
Copy link

dehengxu commented Dec 27, 2023

May be is select multiple Squad in SLD

@dehengxu
Copy link
Author

May I inject GCP, Azure Squad in one custom squad configuration?

@D10S0VSkY-OSS
Copy link
Owner

Hi @dehengxu,
You cannot use multiple squads in a Terraform deployment, but you can use multiple accounts in a squad using a custom type account. For GCP, I haven't had the chance to verify this. You can check out https://stackoverflow.com/questions/62491106/how-to-store-gcp-service-account-json-in-a-terrafrom-variable.

I'll try to test it and let you know ASAP. If you do it before me, please share it. P.S.: In the upcoming releases, it will be possible to add more than one account per squad (Work in Progress).
Regards

@dehengxu
Copy link
Author

dehengxu commented Dec 27, 2023

May be I have missunderstand, do you mean SLD one squad stand for one cloud provider ?

PS:

I need create k8s svc on multiple cloud providers and with same service name, ns, private dns ..., I have tried, in one terraform configuration which could use mulitple cloud providers to create resource, and it makes task simple and powerfull if SLD supported in future.

@D10S0VSkY-OSS
Copy link
Owner

Hi @dehengxu
A 'squad' and 'environment' typically represents an account in AWS, a subscription in Azure, or a project in GCP. Generally, the accounts | subscription | project are associated with a squad (team) and an environment, for example, dev | pre | pro. Right now, SLD only supports one-to-one, except for 'custom' since you can pass it any parameters you want, so you can pass several accounts. Although, we will soon release a feature that will support the possibility of adding more accounts, even from different cloud providers
Regards

@dehengxu
Copy link
Author

Awaiting new features

@D10S0VSkY-OSS D10S0VSkY-OSS self-assigned this Dec 28, 2023
@D10S0VSkY-OSS D10S0VSkY-OSS added the enhancement New feature or request label Dec 28, 2023
@D10S0VSkY-OSS D10S0VSkY-OSS pinned this issue Dec 28, 2023
@D10S0VSkY-OSS D10S0VSkY-OSS linked a pull request Dec 31, 2023 that will close this issue
@dehengxu
Copy link
Author

dehengxu commented Jan 5, 2024

Thanks very much for your work

@dehengxu
Copy link
Author

After looking up documents of cloud providers, Azure GCP support bind one ServiceAccount(Some equivalant concept between clouds) to multiple subscriptions or projects.

@D10S0VSkY
Copy link

Hi @dehengxu ,
mmm, interesting, could you share that documentation?
Regards

@dehengxu
Copy link
Author

https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-cli#assign-role-examples

I missremembered :(, it's only cross multiple subscritpions in one cloud provider ServicePrincipal, not cross multiple providers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants