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

c7n-org generate-config subcommand #2420

Open
kapilt opened this issue May 19, 2018 · 7 comments
Open

c7n-org generate-config subcommand #2420

kapilt opened this issue May 19, 2018 · 7 comments

Comments

@kapilt
Copy link
Collaborator

kapilt commented May 19, 2018

With all providers now supporting generating config we should look at incorporating this directly into c7n-org instead of the adhoc scripts that are currently in the c7n-org repo directory.

@justinhauer
Copy link
Contributor

@kapilt is this still a current issue? Just wondering if it's stale as of creation date of 5/19/2018

@kapilt
Copy link
Collaborator Author

kapilt commented Mar 15, 2019

its still current, we have the separate scripts for each provider for generating the config, but the issue is about making that a dedicated subcommand of the c7n-org cli

@jainankurp
Copy link

@kapilt Can you provide more guidance on running c7n-org against multiple subscriptions in Azure. I looked at the documentation but it doesn't look that you have any example about it.

@justinhauer
Copy link
Contributor

@jainankurp its pretty easy to do if you're running it locally, you just provide the service principal credentials. I wasn't able to run c7n org via azure functions successfully - but you can target your policy towards a management group, just make sure your subscriptions are in the management group you target. Check out the document here: https://cloudcustodian.io/docs/azure/configuration/hostingoptions.html#management-groups-support .... I would admit though this document would be hard to find if you didn't know where to look in the Azure section of the docs..

@jainankurp
Copy link

@justinhauer thanks for reply. I am able to execute it locally using service principal.
However, i tried to run it using Azure Functions but it's not working.
I wish if there would be more documentation and examples available to get this working via Azure Functions.

@mo-saeed
Copy link

mo-saeed commented Sep 4, 2019

@kapilt Any updates on that ?

@rachgupt
Copy link

Is there any update on this . How do we use managed identities on multiple subscriptions on Azure? Is there any example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants