Skip to content

Commit

Permalink
cleanup and API update
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed May 13, 2024
1 parent 1c54e4f commit 378e9bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:

- name: Login azure
run: |
#az login --service-principal -u '${{ secrets.ARM_CLIENT_ID }}' -p '${{ secrets.ARM_CLIENT_SECRET }}' --tenant '${{ secrets.ARM_TENANT_ID }}'
az login -i
az account set -s ${{ secrets.ARM_SUBSCRIPTION_ID }}
echo "local user: $(whoami)"
Expand Down
6 changes: 3 additions & 3 deletions bicep/anf.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ param serviceLevel string
param sizeGB int


resource anfAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = {
resource anfAccount 'Microsoft.NetApp/netAppAccounts@2023-07-01' = {
name: 'azhop-${resourcePostfix}'
location: location

Expand All @@ -29,7 +29,7 @@ resource anfAccount 'Microsoft.NetApp/netAppAccounts@2022-05-01' = {
} : {}
}

resource anfPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01' = {
resource anfPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2023-07-01' = {
name: 'anfpool-${resourcePostfix}'
location: location
parent: anfAccount
Expand All @@ -39,7 +39,7 @@ resource anfPool 'Microsoft.NetApp/netAppAccounts/capacityPools@2022-05-01' = {
}
}

resource anfHome 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2022-05-01' = {
resource anfHome 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes@2023-07-01' = {
name: 'anfhome'
location: location
parent: anfPool
Expand Down

0 comments on commit 378e9bb

Please sign in to comment.