Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert all singleton lists in the MR APIs to embedded objects
- Terraform configuration blocks, even if they have a MaxItems constraint of 1, are (almost) always generated as lists. We now generate the lists with a MaxItems constraint of 1 as embedded objects in our MR APIs. - This also helps when updating or patching via SSA the (previously list) objects. The merging strategy implemented by SSA requires configuration for associative lists and converting the singleton lists into embedded objects removes the configuration need. Signed-off-by: Alper Rifat Ulucinar <[email protected]>
- Loading branch information