Skip to content

Commit

Permalink
Use account_type in Azure azure_rm_storageaccount
Browse files Browse the repository at this point in the history
The change in #437 to use azure_rm_storageaccount to create the ADLS
Gen2 storage account used a deprecated property `type` to specify the
storage account type. In this PR we change that to `account_type`.
  • Loading branch information
arvindshmicrosoft committed Nov 23, 2023
1 parent 8688ab0 commit fe69049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/azure/tasks/create_adlsgen2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@
line: "instance_volumes_adls = {{ InstanceVolumes|join(',') }}"

# Not registering variable because storage values are not visible immediately
- name: Create ADLS Gen2 storage account using REST API
- name: Create ADLS Gen2 storage account
azure.azcollection.azure_rm_storageaccount:
state: present
resource_group: "{{ resource_group }}"
name: "{{ item.split('@')[1].split('.')[0] }}"
type: "{{ adls_storage_type }}"
account_type: "{{ adls_storage_type }}"
kind: "StorageV2"
is_hns_enabled: True
location: "{{ location }}"
Expand Down

0 comments on commit fe69049

Please sign in to comment.