rubrikinc / terraform-azure-polaris-cloud-native_subscription

MIT License
1 stars 2 forks source link

Cloud Native Protection can now be added without Exocompute #2

Closed johan3141592 closed 7 months ago

johan3141592 commented 7 months ago

Description

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.

Related Issue

https://github.com/rubrikinc/terraform-azure-polaris-cloud-native_subscription/issues/1

How Has This Been Tested?

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!