Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add small quirks for new resource providers #10818

Merged
merged 1 commit into from
May 17, 2024

Conversation

pinzon
Copy link
Member

@pinzon pinzon commented May 14, 2024

Motivation

This PR adds changes to allow the correct deployment of WAFv2 resource providers. These resources physical ids are composed like: Name|Id|Scope.

Also, trying to use the scaffolding tool to generate the files for WAFv2::WebACL throws a RecursionError.

Changes

  • CFn quirks added for WAFv2 resources
  • Scaffolding changes for correct WebACL scaffolding

@pinzon pinzon added the semver: patch Non-breaking changes which can be included in patch releases label May 14, 2024
Copy link

github-actions bot commented May 14, 2024

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 35m 49s ⏱️ +16s
2 941 tests ±0  2 640 ✅ ±0  301 💤 ±0  0 ❌ ±0 
2 943 runs  ±0  2 640 ✅ ±0  303 💤 ±0  0 ❌ ±0 

Results for commit 52f67f3. ± Comparison against base commit 3c4c463.

♻️ This comment has been updated with latest results.

@pinzon pinzon force-pushed the feat/cfn/quirks-for-wafv2-resources branch from 7d344bf to 52f67f3 Compare May 14, 2024 18:43
@pinzon pinzon marked this pull request as ready for review May 15, 2024 15:18
Copy link
Contributor

@simonrw simonrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the quirks here.

Regarding the scaffolding: I'm happy to include this fix for now as the resulting type is valid, though not very helpful. I think we should fix the self.resolve_type_of_property though to be complete.

@simonrw
Copy link
Contributor

simonrw commented May 17, 2024

update: it looks like the spec is incomplete. There is no #/definitions/Rule definition in the file!

@pinzon
Copy link
Member Author

pinzon commented May 17, 2024

Alright, I'll go ahead with the merge. We can fix or add a better handling for that later.

@pinzon pinzon merged commit 437c249 into master May 17, 2024
30 checks passed
@pinzon pinzon deleted the feat/cfn/quirks-for-wafv2-resources branch May 17, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants