Closed 1oglop1 closed 3 years ago
Hi my IDE is reporting non-existing block ports for google_cloud_run_service however it exists here:
ports
google_cloud_run_service
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_service#ports
PyCharm 2020.2.3 (Professional Edition) Build #PY-202.7660.27, built on October 6, 2020
Settings->Plugins
0.7.10
terraform -v
0.13.5
Unknown block type ports
All blocks and sub-blocks should be in the whisper
ports are missing
terraform { required_providers { google = { source = "hashicorp/google" version = ">= 3.47.0" } } required_version = "~> 0.13.5" }
resource google_cloud_run_service "tenant_setup" { project = var.project_id location = var.location name = "${local.name}-setup"
template { spec { service_account_name = google_service_account.terraform.name
containers { image = var.tenant_provisioner_image ports { container_port = var.container_port } } }
} }
2. Hover over `ports`and inspect the false positive
Fixed in 0.7.12
Hi my IDE is reporting non-existing block
ports
forgoogle_cloud_run_service
however it exists here:https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_run_service#ports
Prerequisites
Installation details
PyCharm 2020.2.3 (Professional Edition) Build #PY-202.7660.27, built on October 6, 2020
Settings->Plugins
)0.7.10
terraform -v
)0.13.5
Terraform Configuration Files
Exception
Expected Behavior
All blocks and sub-blocks should be in the whisper
Actual Behavior
ports
are missingSteps to Reproduce
resource google_cloud_run_service "tenant_setup" { project = var.project_id location = var.location name = "${local.name}-setup"
template { spec { service_account_name = google_service_account.terraform.name
} }