FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Tenant name is tenant UUID even though Terraform is stating name

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    1
    1
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kasir-barati
      last edited by

      Hi dear community,

      I have this monorepo in which I am using FusionAuth, so far so good; I can start FusionAuth service with Docker and everything but one small issue is bugging me, why tenant name is the UUID which I am giving as dev env when I applying my terraform script. So weird and unreasonable.

      Steps to reproduce:

      1. Clone the repo.
      2. Run docker compose -f fusionauth.docker-compose.yml up -d.
      3. Run curl --connect-timeout 5 --retry 5 --retry-delay 5 --retry-all-errors -f http://0.0.0.0:9011/api/status and wait for it to return {status: "OK"}.
      4. Run terraform -chdir=deployment init -var-file=./dev.tfvars.
      5. Run terraform -chdir=deployment plan -var-file=./dev.tfvars.
      6. Run terraform -chdir=deployment apply -var-file=./dev.tfvars.
      7. OPTIONAL: if you like to see the custom theme configured with terraform you need to reapply the same plan; just run the last command once more*.
      8. Open your favorite browser and go to localhost:9011/admin.
      9. Enter admin@admin.com as email and adminadmin as your password.
      10. Open the tenants tab and there you have it:
        37497f0f-2b3d-49d1-9e93-5f091d42f5c9-image.png

      Super important: I said that step 7 is optional, what I was trying to communicate with that was that it does not make a difference whether you apply the same planned terraform once or more than one time, the result stays the same.

      Any help would be more than welcome 😄.

      *This is also another mystery that is inviting me to the world of unknow to discover why and how is Terraform configuring Custom theme that I need to reapply to see my custom theme. Though it is unrelated to the topic of this post.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post