Closed GilTeraSky closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
740fc83
) 25.57% compared to head (2480186
) 25.58%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it: This PR includes the Terraform Resource implementation for the Custom IAM role.
Which issue(s) this PR fixes
Additional information a. In the read function I implemented a fix for API inconsistencies which include: a.1 MatchExpression (AggregationRule) doesn't return from the API, therefore I implemented a merge between the response and the tf data to avoid changes but keeping new data from response (if exists). a.2 Sometimes the order of the array returning for the Resources is not the same but containing the same data, therefore I implemented a merge between the response and the tf data to avoid changes but keeping new data from response (if exists). b. I implemented a schema validation during the plan phase to make sure resources or url_paths (Exactly one) exist in each of the Rules provided.
Special notes for your reviewer