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

fix(vm-scanning): Fix conditionals for modular #49

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

ravinadhruve10
Copy link
Contributor

@ravinadhruve10 ravinadhruve10 commented Nov 5, 2024

For modular installs, the current set of conditionals on which agentless WIF backend resource to create, incorrectly chooses AWS for GCP backends. Fixing the conditionals for modular installs.

Testing done :-

  • GCP single project with VM agentless-scanning installs on AWS Backends - 🟢 with TF apply install
  • GCP single project with VM agentless-scanning installs on GCP Backends - 🟢 with TF apply install

Note: this PR needs to be tested properly.

@ravinadhruve10 ravinadhruve10 requested a review from a team as a code owner November 5, 2024 20:25
Copy link
Contributor

@haresh-suresh haresh-suresh left a comment

Choose a reason for hiding this comment

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

LGTM

For future, maybe should consider renaming the cloud_id datasource param to be more explicit for AWS vs GCP

But this should help unblock the issue in us4. Also we will need to verify that this does not cause any regression in AWS while fixing the GCP regions installs.

@ravinadhruve10 ravinadhruve10 merged commit bb8b7c5 into master Nov 6, 2024
8 checks passed
@ravinadhruve10 ravinadhruve10 deleted the fix/vm-scan-module branch November 6, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants