Skip to content

Commit

Permalink
Create restore.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
collabnix authored Jul 15, 2023
1 parent fa5b6b9 commit 1856d62
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions beginners/rds-restore/restore.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# restore.tf

# Define the restored RDS instance
resource "aws_db_instance" "restored_example" {
engine = "mysql"
instance_class = "db.t3.micro"
allocated_storage = 20
storage_type = "gp2"
identifier = "restored-rds-instance"
username = "admin"
password = "password"
publicly_accessible = false

# Other RDS configuration settings...

# Specify the snapshot ID to restore from
snapshot_identifier = "<snapshot-id>"
}

0 comments on commit 1856d62

Please sign in to comment.