Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasbleijendaal/terraform-xml-merger
https://github.com/thomasbleijendaal/terraform-xml-merger
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasbleijendaal/terraform-xml-merger
- Owner: ThomasBleijendaal
- Created: 2023-08-15T18:13:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-17T20:03:38.000Z (12 months ago)
- Last Synced: 2024-05-29T17:12:20.275Z (4 months ago)
- Language: C#
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Apim Terraform
Additions to make cicd for API Management better.
## TODO
- [ ] named values support (separate provider that first checks if the named value exists) -> postfixed named values probably not the best
- [ ] named values + depends on important for policy deployment -> dynamic postfixed named values will resolve catch-22, so solution has merit
- [x] white space in policy xml causes changes, which should be avoided
- [ ] named value deletion is very catch-22## Xml Merger Terraform Provider
Merges xml policies into bigger files, so xml policies can be composed of fragments,
without relying on policy fragments.### Environment variables
- `TF_XML_POLICIES_FOLDER`: Folder to scan for xml fragments.
- `TF_XML_BASE_POLICY`: Path to base xml file to merge fragments into.### Variable format
`%{A-Z_}:{a-z}`: Name of variable (`EXAMPLE_VARIABLE`) followed by type (`bool|int|string`): (`%EXAMPLE_VARIABLE:bool%`).
Variables will be parsed and added to terraform schema.
### XDT details
Read [this](https://learn.microsoft.com/en-us/previous-versions/aspnet/dd465326(v=vs.110)).
## OpenApi Merger
Merges multiple OpenApi json files into single files, so API Management api version sets
can be composed of multiple backends.