[BUG] Can't use configuration to overwrite global policy.
See original GitHub issueRelease version
v4.1.2
Describe the bug
We have our CORS config setup in the global policy of our APIM instance which is different across 3 separate environments. Hence we need to be able to change this between each environment however the following doesn’t seem to work:
apimServiceName: "{apimName}"
policies:
name: "policy"
properties:
value: "{policy}"
This configuration seemingly gets ignored.
Expected behavior
For the global policy to be replaced with whatever {policy} is set to
Actual behavior
The config file is ignored and the policy.xml is pushed.
Reproduction Steps
Use this as your configuration:
apimServiceName: "{apimName}"
policies:
name: "policy"
properties:
value: "{policy}"
Issue Analytics
- State:
- Created 5 months ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
5506-X in packet tracer can't configure global policy ...
I've just come across this issue myself, what I found worked was deleting the global policy on there, then remaking it using the...
Read more >Can I override domain group policy with local ...
There are always way to hack around central policies if you have local admin access - at a minimum you can make your...
Read more >Applying Group Policy troubleshooting guidance
This error code might indicate that the DNS configuration is incorrect. To correct timeout issues, use the nslookup tool to confirm _ldap._tcp.< ...
Read more >I tried to change a git config, but it won't change. Instead it ...
Git supports both local and global configurations. Local configurations take precedence over global. See file:/home/me/.gitconfig ...
Read more >Cannot Change Adapter settings
The following error will show up: Windows cannot access the specified device, path, or file. You may not have the appropriate permission to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@guythetechie I tried it and it works. Thank you.
@yaterchatter - We unfortunately don’t support overriding fragments either. That said, would a solution like this work?