Pulumi Insights: Manage Accounts and Scans
Now that you have created a new account you can click on the Accounts page to see a list of all your created accounts, the last update and number of resources discovered.
View Accounts
Here you will notice that Insights automatically created child accounts based on the underlying platform model for each group you decide to enable. Child accounts enable you to control the discovery behavior for each group separately.
For example, AWS enables you to divide you infrastructure into regions and Insights will create separate child accounts for each region you specify. In this case you will see:
- Parent account:
insights-aws-account
- Child account (region):
insights-aws-account/us-central-1
- Child account (region):
insights-aws-account/us-west-1
It’s important to note that if you Scan or Delete the insights-aws-account
account, Pulumi applies this action to all child accounts.
For a detailed explanation and more examples of how child accounts and hierarchies work see the Insights accounts documentation
Manage Accounts
You can manage each by selecting your desired account, where you can see the provider summary, status and history of all scans. This is where you can select the action to manually Scan or Delete Account.
Let’s kick off the scan for the new account you created.
After you select the insights-aws-account
account, choose the Scan action and click Scan
View Account discovery progress
Pulumi Insights will kick off a scan across each child account / region in parallel and as reasources are discovered you will begin to see a status of the number of resources known to Pulumi.
As each account scan completes, you will see a checkmark and status update per account. The scan duration will depend on the number of resources for each account, however as soon as they are discovered you can begin to explore insights and do not have to wait for the entire discovery to finish.
Let’s introduce the Pulumi Resource Explorer for your newly discovered resources and learn how to draw insights about your cloud infrastructure.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.