core.use_cloud_backend¶
This rule should enforce that no local statefile is being used.
Why¶
If you store the state locally (default backend), it will be impossible to run terraform from other computers.
Triggers¶
- No
backendorcloudblock insideterraform backend-block of typelocal
Example¶
Bad¶
or no backend at all
Good¶
Configuration¶
There is currently no configuration flags for that rule, beside the option to enable or disable the rule