NetApp / terraform-provider-netapp-cloudmanager

Terraform provider to create NetAPP OCCM instances, CVO resources, volumes, snapshots, ... in Azure, AWS, GCP.
Mozilla Public License 2.0
17 stars 27 forks source link

Infrastructure Encryption argument for Azure Storage Account needed in Cloud Manager provider #144

Open krishna7028 opened 1 year ago

krishna7028 commented 1 year ago

Team,

We were trying to deploy, Connector/CVO resources in azure using terraform cloud manager provider 22.12.0(latest in TF registry),however due to policy violation I was unable to apply the code,

Message="The template deployment failed because of policy violation. Please see details for more information."Please create all Storage Accounts with Infrastructure Encryption enabled.'

Our Company recently applied azure policy at company(tenant) level to have Infrastructure encryption enabled for all storage accounts, due to security compliance.

Upon checking, Cloud manager 22.12.0 provider doesn't have this argument to specify in TF code, in both cloumanger connector & CVO resources.. Please help to update this argument, from cloudmanager provider so we can update the code and try deploying Connector/CVO instance.

Argument:

**[infrastructure_encryption_enabled = True/False]

Regards,Sathish

krishna7028 commented 1 year ago

Hi Team,

Could you please help get an update here, Awaiting for your response,

Regards,Sathish

lonico commented 1 year ago

We made a mistake in linking this to issue #145. Sorry for the delay.

We discussed this internally. The conclusion is that you have two ways to define a Storage Account when deploying a connector:

  1. create the Storage Account before hand, and reference the existing SA using the storage_account parameter.
  2. let our provider create the SA when creating the connector.

We want to keep method 2 as simple as possible. If anything else is required, it is better to create a customized SA in Azure first, and reference it when creating the container.

krishna7028 commented 1 year ago

Thanks Ionico,

Apologizes for late response, QQ,I am understanding, this is only for connector and not for CVO right?

Is there a way, can we achieve the same for CVO deployment, Please update ,thanks.

Regards,Sathish