Azure / terraform-azurerm-avm-res-storage-storageaccount

This Terraform module is designed to create Azure Storage Accounts and its related resources, including blob containers, queues, tables, and file shares. It also supports the creation of a storage account private endpoint which provides secure and direct connectivity to Azure Storage over a private network.
https://registry.terraform.io/modules/Azure/avm-res-storage-storageaccount
MIT License
19 stars 27 forks source link

[AVM Module Issue]: "An argument named "https_traffic_only_enabled" is not expected here." #141

Closed captainhook closed 1 month ago

captainhook commented 1 month ago

Check for previous/existing GitHub issues

Issue Type?

Bug

(Optional) Module Version

0.2.2

(Optional) Correlation Id

No response

Description

I am getting the following error since 0.2.2:

│ Error: Unsupported argument
│
│   on .terraform\modules\storage-prod\main.tf line 14, in resource "azurerm_storage_account" "this":
│   14:   https_traffic_only_enabled        = var.https_traffic_only_enabled
│
│ An argument named "https_traffic_only_enabled" is not expected here.

Is anyone else seeing this on 0.2.2?

chinthakaru commented 1 month ago

@captainhook Thanks for reaching out. What is your AzureRM provider version? This flag has been changed since V 3.114.0.

captainhook commented 1 month ago

@chinthakaru apologies, that's one of the first things I should have checked :) All ok on 3.114.0!