checkov icon indicating copy to clipboard operation
checkov copied to clipboard

feat(terraform): Add provider address to resources

Open ChanochShayner opened this issue 1 year ago • 0 comments

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

  • If the provider is not defined, use the default provider.
  • If the provider is explicitly defined in the resource, use that provider.
  • If the provider is defined in the module, use that provider.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] I have added tests that prove my feature, policy, or fix is effective and works
  • [x] New and existing tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

ChanochShayner avatar May 07 '24 08:05 ChanochShayner