rubrikinc / terraform-azure-polaris-cloud-native_subscription

MIT License
1 stars 2 forks source link

Not possible to add a subscription with only Cloud Native Protection #1

Closed johan3141592 closed 7 months ago

johan3141592 commented 7 months ago

Expected Behavior Setting enable_exocompute to false and not specifying exocompute_details should add the subscription for Cloud Native Protection only.

Current Behavior The polaris_azure_subscription resource fails to be created because regions, of the exocompute parameter, is an empty list. Specifying exocompute_details but keeping enable_exocompute as false leads to the subscription being added with the Exocompute feature turned on, but the principal missing permissions for Exocompute and no Exocompute configuration being created.

DamaniN commented 7 months ago

Fix #2 provided by @johan3141592