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

Fixes to make trial run work #18

Merged
5 commits merged into from
Dec 12, 2022
Merged

Fixes to make trial run work #18

5 commits merged into from
Dec 12, 2022

Conversation

ghost
Copy link

@ghost ghost commented Dec 8, 2022

These fixes were required to make the trail run work, and get to the point where VMs and snapshots were being taken on AWS.

This change ensures that when running on AWS we can create the required
resources we need to perform a scan.
@ghost ghost force-pushed the fixes_for_trial branch 2 times, most recently from b52cf08 to 2851afd Compare December 8, 2022 14:17
AWS requires the user data to be base64 encoded, this commit ensures
that we encode the cloud-init data before passing it to the AWS client
ScanScope is an interface containing a pointer passed to the provider,
the orcestrator was turning this into a pointer to an interface to a
pointer which was preventing the provider from unwrapping it correctly.
Unless we tag the volume with VMClarity the AWS permissions will prevent
us from creating it, this is a requirement because we are also prevented
from deleting volumes if they don't have the Owner tag so that we can't
break user's systems.
Unless these fields are accessible from outside the package its not
possible to create a ScanScope with a tag selector because you can only
create empty tag structs.
@ghost ghost merged commit 938f7ad into main Dec 12, 2022
@ghost ghost deleted the fixes_for_trial branch December 12, 2022 14:56
This pull request was closed.
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.

None yet

2 participants