Skip to content

Commit

Permalink
r/aws_db_snapshot_copy: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed May 14, 2022
1 parent 06d995f commit e2fb346
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
44 changes: 0 additions & 44 deletions internal/service/rds/snapshot_copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,47 +162,3 @@ resource "aws_rds_db_snapshot_copy" "test" {
target_db_snapshot_identifier = "%[1]s-target"
}`, rName))
}

//func testAccAwsRdsDbSnapshotCopyConfigWithRegions(rInt int) string {
// return fmt.Sprintf(`provider "aws" {
// region = "us-west-2"
// alias = "uswest2"
//}
//
//provider "aws" {
// region = "us-west-1"
// alias = "uswest1"
//}
//
//resource "aws_db_instance" "bar" {
// provider = "aws.uswest2"
// allocated_storage = 10
// engine = "MySQL"
// engine_version = "5.6.35"
// instance_class = "db.t2.micro"
// name = "baz"
// password = "barbarbarbar"
// username = "foo"
//
// maintenance_window = "Fri:09:00-Fri:09:30"
//
// backup_retention_period = 0
//
// parameter_group_name = "default.mysql5.6"
//
// skip_final_snapshot = true
//}
//
//resource "aws_db_snapshot" "test" {
// provider = "aws.uswest2"
// db_instance_identifier = aws_db_instance.bar.id
// db_snapshot_identifier = "testsnapshot%d"
//}
//
//resource "aws_db_snapshot_copy" "test" {
// provider = "aws.uswest1"
// source_db_snapshot_identifier = aws_db_snapshot.test.db_snapshot_arn
// target_db_snapshot_identifier = "testsnapshot%d"
// source_region = "us-west-2"
//}`, rInt, rInt)
//}
2 changes: 1 addition & 1 deletion website/docs/r/rds_db_snapshot_copy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ subcategory: "RDS (Relational Database)"
layout: "aws"
page_title: "AWS: aws_rds_db_snapshot"
description: |-
Manages an RDS database instance snapshot copy.
Manages an RDS database instance snapshot copy.
---

# Resource: aws_db_snapshot
Expand Down

0 comments on commit e2fb346

Please sign in to comment.