Skip to content
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

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Commits on Apr 10, 2024

  1. r/aws_redshift_snapshot_copy: new resource

    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
    ```
    jar-b committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    9b4ee1b View commit details
    Browse the repository at this point in the history
  2. r/aws_redshift_cluster: deprecate snapshot_copy

    This argument is deprecated in favor of the new, standalone `aws_redshift_snapshot_copy` resource.
    jar-b committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    9d9c180 View commit details
    Browse the repository at this point in the history