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
After #78 added support for collection data sources (by automatically creating a root SetNested or Set attribute), we decided to automatically set the name of the attribute to be the same as the data source name.
This may not be desired if the data source name has multiple words like aws_secretsmanager_secrets.
Possible solutions
Adjust the attribute name to split on underscore and take the last word
Add a configuration option to the generator config to allow a custom name:
Background
After #78 added support for collection data sources (by automatically creating a root
SetNested
orSet
attribute), we decided to automatically set the name of the attribute to be the same as the data source name.This may not be desired if the data source name has multiple words like
aws_secretsmanager_secrets
.Possible solutions
Example
The text was updated successfully, but these errors were encountered: