In terraform azurerm I cant reference resource in both develop and production stacks, how can i solve this?
I have this setup in terraform. I have a container registry defined in production environment and som clusters defined in both production and develop environment. I have to different state files for develop and production. I want to connect the same azure container registry in production to clusters in both prod and dev like this.