# Terraform apply fails on: 409 Conflict: That action name has already been taken

**URL:** <https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [February 17, 2025, 11:04am UTC](https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287 "2025-02-17T11:04:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbolek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mbolek/32/60249_2.png) [@mbolek](https://community.auth0.com/u/mbolek)\
**Post date:** [February 17, 2025, 11:04am UTC](https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287/1 "2025-02-17T11:04:20Z")

</div>

I have many resources in terraform files that I have been able to successfully apply via `terraform apply`. I successfully applied them several times last week, even when I changed some of the actions. Today I’m getting errors on some of the resources: `409 Conflict: This action name is already in use`. Yes, action exists but I expected to not be created but replaced in-place. I don’t know what to do about it and why it can’t update in-place the action it’s targeting.

I’m using auth0 provider version 1.12.0 and Terraform version 1.10.5

P.S I was trying to add terraform tag but couldn’t find one.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [February 17, 2025, 8:20pm UTC](https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287/3 "2025-02-17T20:20:54Z")

</div>

Hi, @mbolek

Terraform is trying to create a new action with the same name, which is not possible. I’d suggest deleting the action and trying to create it again, or try to create the same action, but under a different name.

If you have any other questions, let us know.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![mbolek](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mbolek/32/60249_2.png) [@mbolek](https://community.auth0.com/u/mbolek)\
**Post date:** [February 18, 2025, 2:51pm UTC](https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287/4 "2025-02-18T14:51:31Z")

</div>

Hi @vlad.murarasu. Thanks for your reply, although that was not the issue in this case.

The problem was that my colleague and I were executing `terraform apply` from our own computers, so we weren’t sharing terraform state. I solved it by using AWS S3 backend for terraform state.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 4, 2025, 2:51pm UTC](https://community.auth0.com/t/terraform-apply-fails-on-409-conflict-that-action-name-has-already-been-taken/182287/5 "2025-03-04T14:51:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
