Skip to content

Provide better testing coverage for serialization of AWS resource type schemas #10

@willdavsmith

Description

@willdavsmith

Summary

We have identified multiple gaps in the AWS Bicep type generator which cause the output Bicep representation to be incomplete or broken. The number of resources affected so far by this class of issues is indeterminate, and these types of issues can cause the affected resources to be broken (cause the Bicep VSCode extension to crash).

Examples

https://github.com/project-radius/radius/issues/4971
https://github.com/project-radius/radius/issues/4973

Solution

We should do some investigation to determine what key types (e.g. oneOf) can exist in the AWS resource type schemas that are causing the generator to not serialize the Bicep types properly. We should also write regression tests for each of these that we find.

Definition of Done

This is up for debate. We could have tests for all of the major resources, and additional regression tests for any issues found during the investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions