diff --git a/src/deployml/templates/gcp/cloud_run/main.tf.j2 b/src/deployml/templates/gcp/cloud_run/main.tf.j2 index 45bd45c..7ff3a7b 100644 --- a/src/deployml/templates/gcp/cloud_run/main.tf.j2 +++ b/src/deployml/templates/gcp/cloud_run/main.tf.j2 @@ -97,6 +97,7 @@ module "cloud_sql_postgres" { {% endif %} {% endfor %} {% endfor %} +{% if not (stage_name == "model_monitoring" and tool.name == "grafana") %} module "{{ stage_name }}_{{ tool.name }}" { source = "./modules/{{ tool.name }}/cloud/{{ cloud }}/{{ deployment_type }}" count = var.enable_{{ stage_name }}_{{ tool.name }} && var.{{ stage_name }}_{{ tool.name }}_service_name != "" ? 1 : 0 @@ -184,6 +185,7 @@ module "{{ stage_name }}_{{ tool.name }}" { create_bigquery_dataset = var.feast_create_bigquery_dataset {% endif %} } +{% endif %} {% endfor %} {% endfor %}