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

Allow toggling of autosync per service #47

Closed
simcap opened this issue Feb 17, 2017 · 0 comments
Closed

Allow toggling of autosync per service #47

simcap opened this issue Feb 17, 2017 · 0 comments

Comments

@simcap
Copy link
Contributor

simcap commented Feb 17, 2017

awless syncs automatically cloud resources (across services) locally as RDF graphs.

At the moment the auto-sync run as such:

  • pre and post awless run command
  • pre and post awless create, delete, ... (template one-liners) commands
  • pre awless show command

Note that a manual sync (per service if chosen) can be done via awless sync.

Although the sync fetches in parallel, we might want to ignore some services and therefore not automatically resolve their resources.

Examples:

  • You might want to work and administrate solely your infra, access and queuing services while ignoring huge amount of resources on your storage service.
  • You might not have rights to access every cloud service, hence triggering some errors while fetching resources.

In the config we will flush by default:

infra.autosync = true
storage.autosync = true
access.autosync = true
...

Disabling an auto-sync is therefore now just awless config set storage.autosync false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants