Octopus Variables can be set up on a project, where the values can be scoped based on various things; but not Tenants.
They can also be set up as Project Template variables, which then requires a value to be supplied for each combination of environment and tenant (but not scoped in any other way).
They can also be set up as a Library Variable Set, which can contain variables directly, or define Variable Templates, which allows you to define variables whose values will be defined per Tenant (but not scoped in any other way).
It’s this last one that this issue relates to. We are trying to define some variables whose values will vary per Tenant; but are not affected by anything else. So we created a new Library Variable Set, added a Variable Template to it for one variable; and then added the Variable set to the project in question (which is currently only linked to a single tenant in Live; but there are soon going to be 3 - hence the need for the variable).
Once we have done, this, the “Tenants” page correctly shows the orange warning triangle to represent that we haven’t filled in the value for one of the Tenants that the project is associated with.
So we click-through, following the orange triangle to the place where we need to fill in the value for the newly-added variable. But when we try to save it, we get the error message given in the title: “You can’t modify Common Variables because you don’t have access to all projects and/or all environments this tenant is connected to.”
I know that other projects are using this Tenant and I don’t have access to those projects; but the thing is that none of those projects are using this Library Variable Set (I know, because I just created it). Is this fixed in a more recent version? Or is there some way of working around this? Please help.
We’re using v2018.12.1