-
Notifications
You must be signed in to change notification settings - Fork 41
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
SAAS-28325: Enhance Host Assurance Policy Implementation and Testing & Improve GitHub Actions workflow for Terraform testing #294
Conversation
Shani Erman seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
…Framework Primary Changes: - Implement comprehensive data source acceptance testing framework - Restructure resource configuration to align with API specifications - Deprecate root-level 'enforce' field in favor of policy_settings.enforce - Set 'enabled' field to computed-only to match API behavior Technical Improvements: 1. Testing Infrastructure: - Add systematic test coverage for data source operations - Implement both basic and full configuration test scenarios - Add negative test cases for error handling validation 2. Resource Modifications: - Migrate enforcement configuration to policy_settings block - Update field computability to prevent state drift - Enhance attribute validation logic 3. Documentation: - Add detailed usage examples - Update technical specifications - Include migration guide for breaking changes 4. Code Quality: - Improve error handling - Enhance code organization - Standardize testing patterns Validation: - Executed full acceptance test suite - Confirmed API response handling - Validated state management Related: SAAS-28325
bc30f4c
to
6a848ce
Compare
1a4329a
to
18802bb
Compare
18802bb
to
1e603c1
Compare
eec955d
to
1949ecb
Compare
cabca52
to
e27557f
Compare
e27557f
to
6a848ce
Compare
18a52ef
to
8753a92
Compare
8753a92
to
dc3c98c
Compare
dc3c98c
to
d875c60
Compare
d875c60
to
3e1e533
Compare
3e1e533
to
156e4b9
Compare
156e4b9
to
1e1e893
Compare
terraform-provider-aquasec
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shani-aqua
Please remove it, i would also consider adding to .gitignore to avoid future commits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
f42e04c
to
f501591
Compare
Major changes: - Change from pull_request_target to pull_request to ensure tests run with PR's workflow version - Update checkout action from v2.3.3 to v4 for better security and performance - Add max-parallel: 1 to matrix strategy to run Terraform version tests sequentially - Update Terraform versions to test against: - Remove '0.13.7' - Add '0.14.11' and '1.5.3' - Clean up workflow structure and naming for better clarity - Rename job from "Matrix Test" to "Test Terraform {version}" - Remove redundant comments - Consistent formatting throughout the file These changes ensure tests run sequentially for each Terraform version while maintaining the ability to easily add/remove versions through the matrix config. The workflow now runs more reliably and uses the correct version from PR branches.
f501591
to
fda163b
Compare
…Framework
Primary Changes:
Technical Improvements:
Testing Infrastructure:
Resource Modifications:
Documentation:
Code Quality:
Validation:
Related: SAAS-28325