-
Notifications
You must be signed in to change notification settings - Fork 2
Steampipe-sync #16
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
base: main
Are you sure you want to change the base?
Steampipe-sync #16
Conversation
Description ----------- `steampipe` may be used as a resource-provider for a myriad of cloud services. This first pass will target resources from: `aws`, `azure`, `gcp`, `github`, and `tfe` (Terraform Cloud).
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary
steampipe may be used as a resource-provider for a myriad of cloud services. This first pass will target resources from:
aws
,azure
,gcp
,github
, andtfe
(Terraform Cloud).Usage Tutorial
This tutorial assumes familiarity with steampipe. This tutorial may also serve as a usage flow if steampipe is configured with some plugins and connections.
Listing Providers
All Providers
Initially, ctrlplane will not have any registered resource providers.
ctrlc
can show you all possible resource provider connections by looking at your steampipe configurations. Since noid
will be present in the response, you can infer that no resource provider connections are registered.Registered providers
By default
ctrlc sync steampipe list
will show only those provider connections that are registered.In the above the
id
refers to the resource provider id in ctrlplane. For each of the registered resource provider connections above, ctrlplane expects to receive resources from steampipe.The
connection-name
,connection-type
andresource-type
refer tosteampipe
configurations.The
connection-type
is a short name mapping to plugins defined in steampipe hub. Supported connection-types linked to their plugins:The
connection-name
maps to the connection insteampipe
. It will work with both plugin or aggregator connections (see steampipe docs). However, we also provide an*
alias to refer to all connections for a plugin as an added convenience.The
resource-type
maps to thesteampipe
table with it's prefix removed. In the example above:kubernetes
and resource-typenamespace
, it maps to steampipe tablekubernetes_namespace
.aws
and resource-typeeks_cluster
, it maps to steampipe tableaws_eks_cluster
.gcp
and resource-typekubernetes-cluster
, it maps to steampipe tablegcp_kubernetes_cluster
.