driftctl/doc/contributing
Elie f06a426f90
Fix acceptance test issues
- Set all test AZ to us-east-1
- Use terraform overriden env in PreCheck() to ensure mutations are
  executed with read write credentials
- Fix hidden error in aws_instance test (tag creation failure was not
  handled
- Minor fmt fix
2021-01-29 18:36:26 +01:00
..
media 🍾 Initial release 2020-12-09 16:35:26 +01:00
README.md 🍾 Initial release 2020-12-09 16:35:26 +01:00
adding_a_new_resource.md 🍾 Initial release 2020-12-09 16:35:26 +01:00
tests.md Fix acceptance test issues 2021-01-29 18:36:26 +01:00

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 declared Supplier.
  • Remote A remote is a representation of a cloud provider
  • Resource 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.