Hello, is it possible to create deployment mode override for tag definitions?
I have the mode=prod active. I have tag provider plc_data. In other modes, the plc’s aren’t connected, so I want to change the paths to the prod’s OPC connection.
at http://localhost:8088/app/services/tags I created the prod override, but that only created config/resources/prod/ignition/tag-provider/plc_data directory structure. I would expect that the config/resources/prod/ignition/tag-definition/plc_data will be also created from the config/resources/core/ignition/tag-definition/plc_data structure.
Is there a way to do this? Can I just copy the directory? Is it safe?
Deployment modes are an overlay on the base resource configuration defined in (generally) the 'core' resource collection:
You can copy resources from core to a deployment mode at any time, you'll just have to re-scan your config directory afterwards if you do it while the gateway is running.
But conceptually it's important to only copy the specific paths/resources you actually want to override in the deployment mode, not absolutely everything, or you're giving up most of the benefit of the inheritance cascade.