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

ec_deployment: Add snapshot settings #620

Merged
merged 2 commits into from
Apr 19, 2023

Conversation

pascal-hofmann
Copy link
Contributor

Description

Add basic snapshot and snapshot repository configuration to ec_deployment resource.

Related Issues

#602

Motivation and Context

In Elastic Cloud Enterprise snapshot settings can be configured via the ECE UI / REST API. This PR adds the same functionality to the ec_deployment resource.

How Has This Been Tested?

  • Unit tests for the new attributes have been added.
  • Additional manual tests against our local dev ECE instance were performed.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improves code quality but has no user-facing effect)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Readiness Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed - Existing tests were already broken. Can't run all tests because of missing credentials for EC SaaS.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@pascal-hofmann
Copy link
Contributor Author

pascal-hofmann commented Apr 14, 2023

@dimuon @tobio This PR goes hand in hand with #613.

I'll start working on a data source for snapshot repositories now. With this I think the snapshot support in this provider will be in a very good shape. ➡️ I just figured that we don't need this right now, so I will skip this.

@pascal-hofmann pascal-hofmann force-pushed the ec_deployment-with-snapshots branch from d5814bf to b3a0a92 Compare April 19, 2023 07:41
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

Code LGTM. Just need some time to test this one against local ECE. Thanks for these improvements @pascal-hofmann!

@tobio
Copy link
Member

tobio commented Apr 19, 2023

jenkins test this

@tobio tobio merged commit 014f412 into elastic:master Apr 19, 2023
@pascal-hofmann pascal-hofmann deleted the ec_deployment-with-snapshots branch April 19, 2023 18:46
@pascal-hofmann
Copy link
Contributor Author

@tobio Thanks for the quick review and merge. Is there already a planned release date for 0.7.0?

@tobio
Copy link
Member

tobio commented Apr 27, 2023

Not at the moment, there's a couple of other issues on the 0.7 milestone left to do.

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