Skip to content

Commit

Permalink
update ignore props
Browse files Browse the repository at this point in the history
  • Loading branch information
baoduy committed Apr 18, 2024
1 parent e0169c0 commit 90beb63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/MySql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,18 @@ export default ({
mode: isPrd ? "ZoneRedundant" : "Disabled",
standbyAvailabilityZone: "3",
},
availabilityZone: "1",
availabilityZone: isPrd ? "3" : "1",
},
{
dependsOn,
protect: lock,
ignoreChanges: ["serverName", "administratorLogin", "dataEncryption"],
ignoreChanges: [
"serverName",
"highAvailability",
"availabilityZone",
"administratorLogin",
"dataEncryption",
],
},
);

Expand Down
10 changes: 8 additions & 2 deletions src/Postgresql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,18 @@ export default ({
backupRetentionDays: 7,
},
highAvailability: { mode: isPrd ? "ZoneRedundant" : "Disabled" },
//availabilityZone: isPrd ? 3 : 1,
availabilityZone: isPrd ? "3" : "1",
},
{
dependsOn,
protect: lock,
ignoreChanges: ["serverName", "administratorLogin", "dataEncryption"],
ignoreChanges: [
"serverName",
"highAvailability",
"availabilityZone",
"administratorLogin",
"dataEncryption",
],
},
);

Expand Down

0 comments on commit 90beb63

Please sign in to comment.