diff --git a/pulsar/resource_pulsar_namespace_test.go b/pulsar/resource_pulsar_namespace_test.go index 1e2b7a2..aa49c73 100644 --- a/pulsar/resource_pulsar_namespace_test.go +++ b/pulsar/resource_pulsar_namespace_test.go @@ -536,13 +536,13 @@ resource "pulsar_namespace" "test" { namespace_config { anti_affinity = "anti-aff" - max_consumers_per_subscription = "50" + is_allow_auto_update_schema = false + max_consumers_per_subscription = "50" max_consumers_per_topic = "50" max_producers_per_topic = "50" message_ttl_seconds = "86400" - replication_clusters = ["standalone"] - is_allow_auto_update_schema = false - offload_threshold_size_in_mb = "100" + offload_threshold_size_in_mb = "100" + replication_clusters = ["standalone"] } dispatch_rate { diff --git a/types/types.go b/types/types.go index 18a3296..aeac316 100644 --- a/types/types.go +++ b/types/types.go @@ -25,15 +25,15 @@ type ( // configurable features of the Pulsar Namespace Entity via Terraform NamespaceConfig struct { AntiAffinity string - ReplicationClusters []string + IsAllowAutoUpdateSchema bool MaxConsumersPerTopic int MaxProducersPerTopic int MaxConsumersPerSubscription int MessageTTLInSeconds int - SchemaValidationEnforce bool - SchemaCompatibilityStrategy string - IsAllowAutoUpdateSchema bool OffloadThresholdSizeInMb int + ReplicationClusters []string + SchemaCompatibilityStrategy string + SchemaValidationEnforce bool } SplitNS struct {