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

MyCurTable unable to be deleted with Terraform #251

Open
MieladNiekzad opened this issue Nov 18, 2024 · 1 comment
Open

MyCurTable unable to be deleted with Terraform #251

MieladNiekzad opened this issue Nov 18, 2024 · 1 comment

Comments

@MieladNiekzad
Copy link

Everytime I do a terraform apply to update the CID dashboard to its newest version e.g. 4.0.4 --> 4.0.5

module "cid_dashboards" {
source = "github.com/aws-samples/aws-cudos-framework-deployment//terraform-modules/cid-dashboards?ref=4.0.4"
}

The cloudformation stack that it updates fails in terms of the update because it is unable to delete the MyCurTable. Deleting it manually causes Terraform state to break, and the only solution I have right now is to delete the entire stack, then redeploy the entire stack -- which is not really a solution.

@iakov-aws
Copy link
Contributor

There is a parameter CurVersion that indicates if CUR 1 is needed or not Also there is an additional parameter KeepLeacyCur to indicate if CUR1 is not used but still we do not need to delete it. If you keep thses parameters as CurVersion=1 OR KeepLegacyCur=yes it should not delete.

wonder what is the error message, why it fails to delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants