ff72de8e77
Co-authored-by: William BEUIL <william.beuil@cloudskiff.com> Co-authored-by: Martin GUIBERT <martin@cloudskiff.com> |
||
---|---|---|
.. | ||
media | ||
README.md | ||
adding_a_new_resource.md | ||
tests.md |
README.md
Developer guide
Core concepts
Driftctl uses Terraform providers besides cloud providers SDK to retrieve data. Resource listing is done using cloud providers SDK, then resource details retrieval is done by calling the terraform provider with gRPC.
Terminology
Scanner
Scanner is used to scan multiples cloud providers and return a set of resources. It calls every declaredSupplier
.Remote
A remote is a representation of a cloud providerResource
A resource is an abstract representation of a cloud provider resource (e.g. S3 bucket, EC2 instance, etc ...)ResourceSupplier
It should exist only one ResourceSupplier per resource. A ResourceSupplier is used to list resources from a given type on a given remote and return a resource list.