-
Notifications
You must be signed in to change notification settings - Fork 132
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
IdentityProviderConfig changes force a lifecycle_destroy #850
Comments
this issue we need to fix in upjet ? |
@haarchri yes, I believe it should be enforced there or at the XP level. Opened here to track the precise issue we encountered. |
Related issue crossplane/upjet#78 |
The same happens also for kinesis Stream resource. |
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as |
any update? |
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as |
/fresh |
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as |
This issue is being closed since there has been no activity for 14 days since marking it as |
What problem are you facing?
Changes made to a
IdentityProviderConfig
causes the resource to be stuck in alifecycle_destroy
state. The resource should either be immutable or allow the recreation (which is currently against the XRM spec):Causes a
lifecycle_destroy
error:message: 'observe failed: cannot run plan: plan failed: Instance cannot be destroyed Resource aws_eks_identity_provider_config.use1-icp-internal-dev-rapid has lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed. To avoid this error and continue with the plan, either disable lifecycle.prevent_destroy or reduce the scope of the plan using the -target flag.'
ForceNew
<provider https://github.com/hashicorp/terraform-provider-aws/blob/f4b691325088fb6c4e7b3ae331884b3e681ff52f/internal/service/eks/identity_provider_config.go#L75C7-L75C7>How could Official AWS Provider help solve your problem?
Resources should check for
ForceNew
fields and either reject changes, or allow the user the option to recreate/destroy.The text was updated successfully, but these errors were encountered: