-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Unable to restore Snapshot into new Redshift cluster with different configuration #11367
Comments
I confirm that this is probably a Terraform bug as i tried today to create manually in the AWS console a new cluster based on the Snapshot. The Redshift was created successfully as expected. |
Any news about this issue ? |
Any update on this? I'm not getting an error message, but when i choose to restore from a snapshot, it is using the snapshot cluster's number_of_instances, instead of the one i set in the terraform config. |
Confirming, I'm seeing the same issues here as well. In addition the complaint regarding 'due to technical limitations' is a red herring as it is not an AWS limitation, only a terraform limitation. |
Hey y'all 👋 Thank you for taking the time to file this, and for the additional discussion around it. Given that there's been a number of Terraform and AWS provider releases since the last update, can anyone confirm whether you're still experiencing this behavior? |
Hi Justin, I can confirm this is still happening with the latest version of the provider. |
This functionality has been released in v4.9.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This issue was originally opened by @hdryx as hashicorp/terraform#23720. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi,
This is maybe a bug in Terraform when using Redshift. I have created a Snapshot of a Redshift cluster having this config : 8 nodes of dc2.large
Now i'm trying to restore the snapshot into a new cluster with a different config : 2 nodes of dc2.8xlarge but i'm getting this error :
Error: InvalidParameterValue: Snapshot cluster-redshift-dev-snapshot-manual-18122019 does not fit into cluster of node type dc2.8xlarge with 8 node(s) due to technical limitations. Try to restore to a cluster with a different node configuration.
status code: 400, request id: f7b03b91-223e-11ea-b863-2593ae69f79f
Terraform Version
0.12.18
Terraform Configuration Files
Debug Output
Crash Output
Error: InvalidParameterValue: Snapshot cluster-redshift-dev-snapshot-manual-18122019 does not fit into cluster of node type dc2.8xlarge with 8 node(s) due to technical limitations. Try to restore to a cluster with a different node configuration.
status code: 400, request id: f7b03b91-223e-11ea-b863-2593ae69f79f
Actual Behavior
I was excepecting the creation of a new cluster with the Snapshot restored;
Steps to Reproduce
terraform init
terraform apply
It looks like that Terraform is trying the apply the value of number_of_nodes stored in the Snapshot instead the value passed to the module.
The text was updated successfully, but these errors were encountered: