Tenant name is tenant UUID even though Terraform is stating name
-
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:
- Clone the repo.
- Run
docker compose -f fusionauth.docker-compose.yml up -d
. - 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"}
. - Run
terraform -chdir=deployment init -var-file=./dev.tfvars
. - Run
terraform -chdir=deployment plan -var-file=./dev.tfvars
. - Run
terraform -chdir=deployment apply -var-file=./dev.tfvars
. - 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*.
- Open your favorite browser and go to
localhost:9011/admin
. - Enter
admin@admin.com
as email andadminadmin
as your password. - Open the tenants tab and there you have it:
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.