However the root level module does not allow you to set the values for read_data_events or write_data_events - they are hard coded to true so whatever value is passed via the bucket_configs variable is actually ignored when bucket is getting created.
2 options:
Expose read_data_events and write_data_events in the root level module and allow the bucket submodule to set them
In https://github.com/terraform-ibm-modules/terraform-ibm-cos/blob/main/modules/buckets/variables.tf the
bucket_configs
variable has the following section:However the root level module does not allow you to set the values for
read_data_events
orwrite_data_events
- they are hard coded totrue
so whatever value is passed via thebucket_configs
variable is actually ignored when bucket is getting created.2 options:
read_data_events
andwrite_data_events
in the root level module and allow the bucket submodule to set thembucket_configs
variable.Same issue goes for
metrics_monitoring
: