rubrikinc / terraform-provider-polaris

Terraform provider for the Polaris platform
MIT License
2 stars 9 forks source link

Support all Azure object types in assign_sla resource #92

Closed DamaniN closed 3 months ago

DamaniN commented 8 months ago

Is your feature request related to a problem? Please describe.

The assign_sla resource in the provider is unable to assign individual Azure object types like Azure VMs, Azure SQL, and Azure MI to SLA domains.

Further, the assign_sla resource cannot assign resource groups, subscriptions, or Azure SQL servers to SLA domains.

These limitations make it so that the provider cannot be used to fully configure Azure environments in some cases.

Describe the solution you'd like

Add the above-mentioned object types and their containers to the assign_sla resource. An even better solution would be to make the assign_sla resource be able to add any RSC object via keywords that are passed to the APIs. In this way, the provider is not hard-coded for only specific objects. As RSC has additional objects added, the assign_sla resource would automatically get these new objects.

Describe alternatives you've considered

None

Additional context

None

johan3141592 commented 3 months ago

Hi @DamaniN, there is no assign_sla resource in the RSC (Polaris) TF provider. Does this refer to the CDM TF provider (https://github.com/rubrikinc/terraform-provider-rubrik)?

DamaniN commented 3 months ago

@johan3141592, it seems that I conflated the Rubrik provider with this Polaris provider. The Rubrik provider does have an assign_sla resource.

This RFE really should have said that the provider needs the ability to create SLA domains and configure them for AWS and Azure backups. I'll close this request and add a new one for that.

DamaniN commented 3 months ago

Looks like you created #134 for this RFE @johan3141592, thanks!