infrablocks / ruby_terraform

A simple Ruby wrapper for invoking terraform commands.
MIT License
109 stars 33 forks source link

Syntax error with example parameter backend_configs #55

Closed arick closed 11 months ago

arick commented 2 years ago

The reference to the parameter, 'backend_config' (singular) was, at best, confusing. Within the context of passing parameters to a Terraform command, the singular form is wrong. The parameter that is actually supported by ruby_terraform is 'backend_configs' (plural).

tobyclemson commented 11 months ago

Hi @arick,

The reasoning here was that you provide one configuration map to the RubyTerraform method, under the key backend_config and under the hood it expands into many --backend-config command line switches.

I'm going to close this PR as the naming is as intended.

Thanks, Toby