How can I redeploy again ? the same resource?

Is there a command to redeploy the same terraform resource

Yes, you can ‘destroy’ the resource and then run ‘apply’ again.

If you want another instance of the resource, then you’ll need to add another instance in the Terraform configuration.

terraform taint is the key:

If you do that, Terraform will no longer be managing the original resource instance, so keep that in mind.

1 Like