You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
With current implementation all roles/data bags items/envs should be specified inside .tf file.
This mean that to use it you have to move all roles/data bags items/envs inside .tf file, but in many cases these roles/data bags items/envs are stored in repositories and better approach (or additional available) is to read from file, with file() interpolation function.
This issue was originally opened by @partamonov as hashicorp/terraform#4581. It was migrated here as part of the provider split. The original body of the issue is below.
With current implementation all roles/data bags items/envs should be specified inside .tf file.
This mean that to use it you have to move all roles/data bags items/envs inside .tf file, but in many cases these roles/data bags items/envs are stored in repositories and better approach (or additional available) is to read from file, with file() interpolation function.
chef_data_bag_item
-> content_file "file('path/to/data_bag_item.json')"chef_environment
-> content_file, should discard all other attributeschef_role
-> content_file, should discard all other attributesAlso for
chef_data_bag_item
we can usetemplate_file
to get content, but it's better to add this to documentation example.The text was updated successfully, but these errors were encountered: