GoogleCloudPlatform/terraform-google-secured-data-warehouse

Add an output value to denote the type of blueprint

ankurdua opened this issue · 4 comments

Finalize a way for getting the type of blueprint (ENTERPRISE_GCS_BLUEPRINT, BQ_DW_BLUEPRINT ...) from the terraform plan output file. An output value from the root module is preferred but we are open to exploring other options too if that cannot happen. The final approach should be applicable to future blueprints a well so it should not depend on presence of some specific type of asset.

@ankurdua What is the use case of this? I don't think this should be an output. Could you open an internal bug so we can discuss more options.

@bharathkkb More details in b/205855837 .

As internally decided, we want to move forward with adding an output field for this.
The value of the field needs to be same as the module name provided in provide_meta

module_name = "blueprints/terraform/terraform-google-secured-data-warehouse/v1.0.0"

Thanks @ankurdua, feel free to send a PR