Made it possible to add a subscription with only Cloud Native Protection by setting enable_exocompute to false and not specifying exocompute_details.
Note, an additional polaris_azure_subscription was added and a count parameter was added to both of them. This changes the resource instance address which means existing state will need to be manually migrated using the terraform state mv command when the module is updated. See https://developer.hashicorp.com/terraform/cli/commands/state/mv for details.
Ran terraform fmt for module which updated the formatting of some of the *.tf files.
Added subscription with only Cloud Native Protection:
enable_cloud_native_protection = true.
enable_exocompute = false.
execompute_details not specified, so using default value of {}.
Added subscription with Cloud Native Protection and Exocompute:
enable_cloud_native_protection = true.
enable_exocompute = true.
execompute_details set to a valid details object.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG file accordingly for the version that this merge modifies.
Description
Made it possible to add a subscription with only Cloud Native Protection by setting
enable_exocompute
tofalse
and not specifyingexocompute_details
.Note, an additional
polaris_azure_subscription
was added and acount
parameter was added to both of them. This changes the resource instance address which means existing state will need to be manually migrated using theterraform state mv
command when the module is updated. See https://developer.hashicorp.com/terraform/cli/commands/state/mv for details.Ran
terraform fmt
for module which updated the formatting of some of the*.tf
files.Related Issue
https://github.com/rubrikinc/terraform-azure-polaris-cloud-native_subscription/issues/1
How Has This Been Tested?
enable_cloud_native_protection = true
.enable_exocompute = false
.execompute_details
not specified, so using default value of{}
.enable_cloud_native_protection = true
.enable_exocompute = true
.execompute_details
set to a valid details object.Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist:
Go over all the following points, and put an
x
in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!