Skip to content

Commit

Permalink
Added delete protection.
Browse files Browse the repository at this point in the history
  • Loading branch information
lreimer committed Oct 29, 2024
1 parent 32b3961 commit 291b8f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/de/qaware/demo/PulumiJava.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ static DatabaseInstance setupPostgresDatabase(Context ctx) {

var postgresInstance = new DatabaseInstance("pulumi-java-postgres-db",
DatabaseInstanceArgs.builder()
.deletionProtection(false)
.region(region)
.databaseVersion("POSTGRES_14")
.settings(DatabaseInstanceSettingsArgs.builder()
Expand Down

0 comments on commit 291b8f7

Please sign in to comment.