On the documentation, the resource, discord_server has an argument of system_channel_id. The documentation states that this is optional.
If this value isn't assigned, when running terraform apply the following error is generated.
│ Error: Failed to edit server: systemChannelID can not be 0
│
│ with discord_server.my_server,
│ on main.tf line 23, in resource "discord_server" "my_server":
│ 23: resource discord_server my_server {
Addationally, the Discord setting in the client itself it can be turned off at any time, but that isn't possible due to the above error.
On the documentation, the resource,
discord_server
has an argument ofsystem_channel_id
. The documentation states that this is optional.If this value isn't assigned, when running
terraform apply
the following error is generated.Addationally, the Discord setting in the client itself it can be turned off at any time, but that isn't possible due to the above error.
https://registry.terraform.io/providers/aequasi/discord/latest/docs/resources/server