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

aws: data lifecycle manager #17

Merged
merged 1 commit into from
Feb 1, 2021
Merged

Conversation

PsyanticY
Copy link
Contributor

No description provided.

@PsyanticY
Copy link
Contributor Author

@adisbladis Would you have a look at this pr, I am aware that it is conflicting but i would like to update it after checking your comments.

"ruleInterval",
"dlmName",
]
dlm_diff = [k for k in dlm_keys if getattr(self, k) != config[k]]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tewfik-ghariani the only remaining issue is here error: Value of type "AwsDataLifecycleManagerOptions" is not indexable

Copy link
Contributor

@tewfik-ghariani tewfik-ghariani Jan 29, 2021

Choose a reason for hiding this comment

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

getattr(config,k ) or something like "config.get(k)"

@PsyanticY
Copy link
Contributor Author

For the flack8 error if I fix it black check will fail

@tewfik-ghariani
Copy link
Contributor

It should be possible to use in-line ignoring

# noqa: E231

Ref : https://flake8.pycqa.org/en/latest/user/violations.html#in-line-ignoring-errors

, accessKeyId ? "testing"
, ...
}:
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please set the network attribute in the example file

network.description = "AWS DLM Testing";

Otherwise the evaluation would fail

error: attribute 'network' missing, at /home/tewfikghariani/.cache/pypoetry/virtualenvs/nixops-aws-oxCLMhSo-py3.8/lib/python3.8/site-packages/nix/eval-machine-info.nix:51:26
warning: evaluation of the deployment specification failed; status info may be incorrect

Copy link
Contributor

@tewfik-ghariani tewfik-ghariani left a comment

Choose a reason for hiding this comment

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

Thanks @PsyanticY !

@AmineChikhaoui AmineChikhaoui merged commit dbbaa1b into NixOS:master Feb 1, 2021
@PsyanticY PsyanticY deleted the dlm branch February 1, 2021 17:52
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.

3 participants