-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/aws_redshift_snapshot_copy: new resource #36810
Conversation
Community NoteVoting for Prioritization
For Submitters
|
82f790f
to
612b918
Compare
This resource will allow practitioners to manage Amazon Redshift cluster snapshot copy configurations with Terraform. This standalone resource will replace the optional `snapshot_copy` block within the `aws_redshift_cluster` resource, allowing snapshot copy configurations to be managed independent of the parent cluster. ```console % make testacc PKG=redshift TESTS=TestAccRedshiftSnapshotCopy_ ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.21.8 test ./internal/service/redshift/... -v -count 1 -parallel 20 -run='TestAccRedshiftSnapshotCopy_' -timeout 360m --- PASS: TestAccRedshiftSnapshotCopy_disappears_Cluster (411.83s) --- PASS: TestAccRedshiftSnapshotCopy_disappears (420.58s) --- PASS: TestAccRedshiftSnapshotCopy_retentionPeriod (422.03s) --- PASS: TestAccRedshiftSnapshotCopy_basic (423.97s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/redshift 429.531s ```
612b918
to
4673418
Compare
This argument is deprecated in favor of the new, standalone `aws_redshift_snapshot_copy` resource.
4673418
to
9d9c180
Compare
Re-running acceptance tests after making the cluster % make testacc PKG=redshift TESTS=TestAccRedshiftSnapshotCopy_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/redshift/... -v -count 1 -parallel 20 -run='TestAccRedshiftSnapshotCopy_' -timeout 360m
=== RUN TestAccRedshiftSnapshotCopy_basic
=== PAUSE TestAccRedshiftSnapshotCopy_basic
=== RUN TestAccRedshiftSnapshotCopy_disappears
=== PAUSE TestAccRedshiftSnapshotCopy_disappears
=== RUN TestAccRedshiftSnapshotCopy_disappears_Cluster
=== PAUSE TestAccRedshiftSnapshotCopy_disappears_Cluster
=== RUN TestAccRedshiftSnapshotCopy_retentionPeriod
=== PAUSE TestAccRedshiftSnapshotCopy_retentionPeriod
=== CONT TestAccRedshiftSnapshotCopy_basic
=== CONT TestAccRedshiftSnapshotCopy_disappears_Cluster
=== CONT TestAccRedshiftSnapshotCopy_disappears
=== CONT TestAccRedshiftSnapshotCopy_retentionPeriod
--- PASS: TestAccRedshiftSnapshotCopy_disappears_Cluster (402.67s)
--- PASS: TestAccRedshiftSnapshotCopy_disappears (410.17s)
--- PASS: TestAccRedshiftSnapshotCopy_basic (412.49s)
--- PASS: TestAccRedshiftSnapshotCopy_retentionPeriod (423.15s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/redshift 428.643s |
This functionality has been released in v5.45.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This resource will allow practitioners to manage Amazon Redshift cluster snapshot copy configurations with Terraform. This standalone resource will replace the optional
snapshot_copy
block within theaws_redshift_cluster
resource, allowing snapshot copy configurations to be managed independent of the parent cluster.The
snapshot_copy
argument within theaws_redshift_cluster
resource is now deprecated.Relations
Closes #36637
References
Output from Acceptance Testing