terraform-linters / tflint-ruleset-azurerm

TFLint ruleset for terraform-provider-azurerm
Mozilla Public License 2.0
116 stars 24 forks source link

The rule for IP Address type on Container Instances does not accept None #233

Closed je-sidestuff closed 1 year ago

je-sidestuff commented 1 year ago

The ruleset for IP Address type on container instances does not allow none. https://github.com/terraform-linters/tflint-ruleset-azurerm/blob/v0.20.0/docs/rules/azurerm_container_group_invalid_ip_address_type.md

The official documentation indicates this option is supported. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/container_group#ip_address_type

wata727 commented 1 year ago

Thank you for reporting this. This seems to be an extended attribute on the provider. https://github.com/hashicorp/terraform-provider-azurerm/blob/v3.43.0/internal/services/containers/container_group_resource.go#L71