-
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
AWS Neptune Cluster from snapshot #23601
Comments
Going for a short holiday, back on monday, but I'll happily look into this. |
I'm also having issues with creating a cluster from the snapshot. I'm recreating the cluster from a snapshot and it fails on cluster creation with the following error:
The same code works without specifying a snapshot identifier. |
@kastlbo given the error you reported, it would be worthwhile to check the Neptune engine version used for the snapshot and try using the same engine version in the new cluster. |
Same problem here - when I try to create Neptune-Cluster from an existing snapshot it runs into Error "InvalidDBClusterStateFault: Cannot modify engine version without a healthy primary instance in DB cluster:" For sure, engine version of snapshot and engine verion of the newly created cluster are the same. |
@bschaatsbergen, @justinretzolk do you see any chance to get this fixed quite soon? It is identified as bug since march and is stopping us to write and test desaster recovery code for DB |
Hey @wolli-lenzen 👋 Thank you for checking in on this. Unfortunately, I'm not able to provide an estimate on when this will be looked into due to the potential of shifting priorities (we prioritize work by count of ":+1:" reactions, as well as a few other things). For more information on how we prioritize, check out out prioritization guide. |
Terraform version: 1.2.3
---- update ---- After above error cluster on AWS console showing with status
Also when I show plan after last apply without any change, it's always replacing the cluster and we are in endless loop of cluster re-creation. Check below plan.
@bschaatsbergen @justinretzolk can you guys please check this on priority? As this is showstopper for us and many others. If there is a way to make this high priority let us know we will like to do that. Thanks in advance for your guidance. |
Any update on this issue guys? |
trying to restore snapshot using terraform and always ending up with DBClusterRoleAlreadyExists error. |
Wish this would get some attention. This is a non-starter for production environments. I see @danielcweber has raised pull request #25982, can it be merged? |
We are experiencing the same issue. Is there any update on this? |
The same issue. Are there any updates? |
Same issue with provisioning neptune from snapshot like @georgedivya have. Any updates around it? |
Make sure you upvote the proposed PR #25982 if it works for you. |
Having the same issue here...what is the status of this solution? |
This coupled with this #15563 makes the user experience for terraform pretty poor |
Any updates on this? This issue completely breaks our DR pipeline |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Version 1.1.6
Provider 3.74.4. (Use this provider because we are having issues with s3 buckets with the newer provider)
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
I can't include configuration as I work for a company that would call it a security violation.
Debug Output
Panic Output
Expected Behavior
A neptune cluster should be created from a snapshot when you add in the snapshot_identifier tag.
Actual Behavior
Errors and won't create the cluster.
Steps to Reproduce
We use a custom module built off of the resource listed above. I am having troubles creating a neptune cluster from a snapshot. Each time i run with the snapshot identifier it will fail:
The documentation for this resource says that you can create the cluster from the snapshot by adding in the snapshot_identifier tag. But it doesn't work as advertised. I have tried checking the terraform without the identifier and the cluster is created without any problems. I have read the issue board and i don't see anyone else with this problem. I did see some talk about encryption being the problem but it really didn't apply to neptune.
To reproduce just create a snapshot and try to get the terraform to create it.
terraform apply
Important Factoids
All terraform is run in a ci/cd pipeline using TFE.
References
The text was updated successfully, but these errors were encountered: