BREAKING CHANGE: Making settings more precise #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introducing BREAKING CHANGEs to the cloudwash:
auth
should focus on authentication credentials for connection with cloud provider, thecriteria
should focus on criteria to delete the resource also the criteria could be defined per resource type and finally, the exception is the exception for resource type to skip the resource deletion and that is also per resource type based.e.g
azure.yaml.template
file should be renamed toazure.yaml
for cloudwash to read the credentials fromconf/azure.yaml
for azure resources cleanup.EC2
is renamed toAWS
in theswach
command as well in settings file, so now users has to rename their command and settings. The aws cleanup will have more than EC2 cleanup support , hence this change.UNASSIGNED
setting value to False.settings.yaml
andconf
directory YAMLs giving higher priority tosettings.yaml
always.skipped_vms
formatting to show the actual list than theskipped_vms
string.Change and Impact on You:
export CLEANUP_GCE__SERVICE_ACCOUNT
now should be exported as ``export CLEANUP_GCE__AUTH__SERVICE_ACCOUNT`.swach aws --all
- The setting file also renamed to aws from ec2, please change that.cloudwash
from 2 different versions earlier.