While creating a user resource using the site24x7_user resource in the Site24x7 Terraform provider, the parameters sms_provider_id and call_provider_id within the mobile_settings block are not being set correctly. Despite specifying the values, the provider does not apply these settings.
terraform {
required_version = ">= 1.3.9, < 1.6"
required_providers {
site24x7 = {
source = "site24x7/site24x7"
version = ">= 1.0.90"
}
}
}
resource "site24x7_user" "user1" {
display_name = "John Smith"
email_address = "john.smith@example.com"
mobile_settings = {
country_code = "**"
mobile_number = "************"
sms_provider_id = "2" # The parameter is not set.]
call_provider_id = "1" # The parameter is not set.]
}
---
}
While creating a user resource using the
site24x7_user
resource in the Site24x7 Terraform provider, the parameterssms_provider_id
andcall_provider_id
within themobile_settings
block are not being set correctly. Despite specifying the values, the provider does not apply these settings.