I am creating a tf module to abstract some of the launch darkly configuration in terraform.
I have defined one of my modules variables as feature_flags
which essentially is a map
of launchdarkly_feature_flag
resources.
At the moment I am to manually provide type safety to this variable, however I was wondering if there was a way of passing a type from the launchdarkly_provider.
# now | # expected
|
| variable "feature_flags" {
variable "feature_flags" { | type = map(launchdarkly_feature_flags)
type = map(any) | }
} |