Skip to content

Commit 1d2264a

Browse files
modular-magicianslevenick
authored andcommitted
Mark replication type computed as it no longer comes back from API (#4312) (#2778)
Signed-off-by: Modular Magician <[email protected]>
1 parent 8e0ccf4 commit 1d2264a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/4312.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
sql: fixed a bug in `google_sql_database_instance` that caused a permadiff on `settings.replication_type`
3+
```

google-beta/resource_sql_database_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ settings.backup_configuration.binary_log_enabled are both set to true.`,
340340
Type: schema.TypeString,
341341
Optional: true,
342342
Deprecated: "This property is only applicable to First Generation instances, and First Generation instances are now deprecated.",
343-
Default: "SYNCHRONOUS",
343+
Computed: true,
344344
Description: `This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Replication type for this instance, can be one of ASYNCHRONOUS or SYNCHRONOUS.`,
345345
},
346346
"user_labels": {

0 commit comments

Comments
 (0)