We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform v1.3.3 azurestack v1.0.0
I can use resource azurerm_network_interface_security_group_association to associate nic and nsg, but unable to do so in azurestack.
azurerm_network_interface_security_group_association
when trying the following definition, I get error
An argument named "network_security_group_id" is not expected here.
resource "azurestack_network_interface" "nics" { for_each = { for nic in var.nics : nic.id => nic } name = each.value.name location = data.azurestack_resource_group.rgs[each.value.resource_group_name].location resource_group_name = data.azurestack_resource_group.rgs[each.value.resource_group_name].name network_security_group_id = azurestack_network_security_group.nsgs[each.value.nsg_resource_id].id ip_configuration { name = each.value.ip_configs[0].name subnet_id = each.value.ip_configs[0].subnet_resource_id private_ip_address_allocation = each.value.ip_configs[0].private_ip_address_allocation public_ip_address_id = each.value.ip_configs[0].public_ip_address_resource_id } }
The text was updated successfully, but these errors were encountered:
#206 adds the required resource, along with a couple of its close relatives.
Sorry, something went wrong.
Hi, any update on this? I just hit the same problem
No branches or pull requests
Community Note
Terraform (and AzureStack Provider) Version
terraform v1.3.3
azurestack v1.0.0
I can use resource
azurerm_network_interface_security_group_association
to associate nic and nsg, but unable to do so in azurestack.when trying the following definition, I get error
The text was updated successfully, but these errors were encountered: