-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
As the title suggests, the simple-uptime-check
module does not have a variable for the custom_content_type
attribute of the google_monitoring_uptime_check_config
resource. The attribute is described here:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/monitoring_uptime_check_config#custom_content_type-1
Without support for this attribute, certain uptime checks are impossible to configure properly when using this module.
Expected behavior
The simple-uptime-check
module has a custom_content_type
variable and uses it as part of the google_monitoring_uptime_check_config
configuration.
Observed behavior
No response
Terraform Configuration
module "uptime-check" {
source = "terraform-google-modules/cloud-operations/google//modules/simple-uptime-check"
version = "~> 0.6"
project_id = "gcp-project-00"
uptime_check_display_name = "my display name"
protocol = "HTTPS"
body = "<base64-encoded JSON here>"
headers = {
"x-my-header" = "my value"
}
monitored_resource = {
monitored_resource_type = "uptime_url"
labels = {
"project_id" = "gcp-project-00"
"host" = ""
}
}
# This should work, but currently does not
content_type = "USER_PROVIDED"
custom_content_type = "application/json"
}
Terraform Version
Terraform v1.5.7
on darwin_arm64
+ provider registry.terraform.io/hashicorp/google v6.49.0
Terraform Provider Versions
provider registry.terraform.io/hashicorp/google v6.49.0
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working