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

Trove: Add ability to create instance replicas via replica_of parameter #2698

Conversation

piotrkukielka
Copy link

Fixes #2697

Openstack API Ref:
https://docs.openstack.org/api-ref/database/?expanded=create-database-instance-detail#create-database-instance

Merging this PR and #2483 should allow me to create a PR to terraform openstack provider adding availability zone and replication support

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.

@@ -55,6 +55,8 @@ type CreateOpts struct {
Size int
// Specifies the volume type.
VolumeType string
// ID or name of an existing instance to replicate from. Optional.
ReplicaOf string
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why CreateOpts didn't have the JSON tags in the first place.

@piotrkukielka
Copy link
Author

closing in favor of #2877

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.

Trove: Missing replica_of parameter
2 participants