petoju / terraform-provider-mysql

Terraform MySQL provider – unofficial fork
https://registry.terraform.io/providers/petoju/mysql
Mozilla Public License 2.0
65 stars 42 forks source link

mysql_global_variable with string value is not handled correctly #22

Closed boltandrke closed 1 year ago

boltandrke commented 1 year ago

Terraform Version

0.14.7

Affected Resource(s)

Terraform Configuration Files

resource "mysql_global_variable" "tidb_auto_analyze_end_time" {
    name  = "tidb_auto_analyze_end_time"
    value = "`7:00 +0300`"
}

Debug Output

Panic Output

Expected Behavior

terraform apply should not change resource and just keep state

Actual Behavior

is working but apply tries to change it every time ~ value = "07:00 +0300" -> "7:00 +0300"

Steps to Reproduce

  1. terraform apply

Important Factoids

References

petoju commented 1 year ago

@boltandrke has this been fixed?

boltandrke commented 1 year ago

Yes, its resolved with latest PR