driftctl/docs
William Beuil fc64d24ad4
Remove duplicate doc files, update root README and re-organize docs folder
2021-03-03 11:41:28 +01:00
..
media Remove duplicate doc files, update root README and re-organize docs folder 2021-03-03 11:41:28 +01:00
README.md Remove duplicate doc files, update root README and re-organize docs folder 2021-03-03 11:41:28 +01:00
new-resource.md Remove duplicate doc files, update root README and re-organize docs folder 2021-03-03 11:41:28 +01:00
testing.md Remove duplicate doc files, update root README and re-organize docs folder 2021-03-03 11:41:28 +01:00

README.md

Developer guide

This directory contains some documentation about the driftctl codebase, aimed at readers who are interested in making code contributions.

Core concepts

driftctl uses Terraform providers besides cloud providers SDK to retrieve data.

Resource listing is done using cloud providers SDK. Resource details retrieval is done by calling terraform providers with gRPC.

Terminology

  • Scanner is used to scan multiple cloud providers and return a set of resources, it calls all declared Supplier
  • Remote is a representation of a cloud provider
  • Resource is an abstract representation of a cloud provider resource (e.g. S3 bucket, EC2 instance, etc ...)
  • ResourceSupplier is used to list resources from a given type on a given remote and return a resource list, it should exist only one ResourceSupplier per resource