MyPureCloud/terraform-provider-genesyscloud

Attribute message_column of sms_config for resource genesyscloud_outbound_messagingcampaign should not be required

Closed this issue · 1 comments

Right now, attribute message_column of sms_config block in resource genesyscloud_outbound_messagingcampaign is Required. Problem is, GC requires either message_column or content_template_id, not both at the same time.

But because message_column is required, it's not possible to specify content_template_id. If you specify both there will be below error:

Error: Failed to create outbound messagingcampaign Campaign error: API Error: 400 - Only one of the messaging options should be set - messageColumn or contentTemplateId (efc3267f-6f43-4f4d-9339-8ffae03b8e33)

Fixed in #1013