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

[CBR] Cannot set both backup policy id and replication id #940

Closed
thivr opened this issue May 17, 2023 · 4 comments · Fixed by #960
Closed

[CBR] Cannot set both backup policy id and replication id #940

thivr opened this issue May 17, 2023 · 4 comments · Fixed by #960
Milestone

Comments

@thivr
Copy link

thivr commented May 17, 2023

Terraform Provider Version

1.37.0

Affected Resource(s)

  • flexibleengine_cbr_vault

Issue

A CBR vault can be associated with a backup policy and a replication policy at the same time. However the provider accepts only one string for policy_id:

https://registry.terraform.io/providers/FlexibleEngineCloud/flexibleengine/latest/docs/resources/cbr_vault#policy_id

  • (Optional, String) Specifies a policy to associate with the CBR vault.
@ShiChangkuo
Copy link
Collaborator

A CBR vault can be associated with a backup policy and a replication policy at the same time.

@thivr how do we do this action via console or API? I cannot find it.

@thivr
Copy link
Author

thivr commented May 23, 2023

@ShiChangkuo You can do it using console or API
I did it with the console, using this https://docs.prod-cloud-ocb.orange-business.com/usermanual/cbr/cbr_03_0029.html
With the API, doc is not very detailed bu here we can see that multiple policies can be set at the same time https://docs.prod-cloud-ocb.orange-business.com/api/cbr/AssociateVaultPolicy.html <<< add_policy_ids

@ShiChangkuo ShiChangkuo added this to the v1.39.0 milestone May 24, 2023
@ShiChangkuo
Copy link
Collaborator

ok, I got it and this feature will be released in v1.39.0

@thivr
Copy link
Author

thivr commented May 24, 2023

@ShiChangkuo sounds good, thanks :-)

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 a pull request may close this issue.

2 participants