Skip to content

Commit

Permalink
fix: 🐛 only check rds mismatch if terraform is erroring
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria committed Sep 24, 2024
1 parent 3d7a12e commit 9e3ccf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/environment/environmentApply.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (a *Apply) applyTerraform() (string, error) {

outputTerraform, err := a.Applier.TerraformInitAndApply(a.Options.Namespace, tfFolder)

if a.Options.IsPipeline {
if a.Options.IsPipeline && err != nil {
versionDescription, filenames, updateErr := checkRdsAndUpdate(err.Error(), tfFolder)

if updateErr != nil {
Expand Down

0 comments on commit 9e3ccf0

Please sign in to comment.