Skip to content

Commit

Permalink
✨ Add autoMinorVersionUpgrade to rds instance
Browse files Browse the repository at this point in the history
Migrate #1435 to v9

Fixes #1473

Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus committed Sep 20, 2023
1 parent c2a13a0 commit 58c4552
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ private aws.rds.dbinstance @defaults("arn") {
securityGroups []aws.ec2.securitygroup
// Current state of this database
status string
// Indicates whether minor version patches are applied automatically
autoMinorVersionUpgrade bool
}


Expand Down
1 change: 1 addition & 0 deletions providers/aws/resources/aws_rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func (a *mqlAwsRds) getDbInstances(conn *connection.AwsConnection) []*jobpool.Jo
"engine": llx.StringData(convert.ToString(dbInstance.Engine)),
"securityGroups": llx.ArrayData(sgs, types.Resource("aws.ec2.securitygroup")),
"status": llx.StringData(convert.ToString(dbInstance.DBInstanceStatus)),
"autoMinorVersionUpgrade": llx.BoolData(dbInstance.AutoMinorVersionUpgrade),
})
if err != nil {
return nil, err
Expand Down

0 comments on commit 58c4552

Please sign in to comment.