-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
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
Incorrect Terraform code sample using list of blocks #112899
Comments
@dumitrux |
@dumitrux |
@dumitrux Thanks. This is a change in a recent AzureRM provider version. The example works as-is when you follow the tutorial and use version 3.27.0 of the provider. I'll submit a version update shortly - it might take a a bit of time to get updated. #please-close |
@dumitrux The updated PR has been merged, which means that our docs should update (I think within about 24 hours) :) |
It has been updated! |
Issue
There is an error in the Terraform
app-service.tf
code sample.The
ip_restriction
andheaders
are lists of mapsFix
As per the Terraform documentation, the
ip_restriction
andheaders
can be one or more blocks.Therefore, the code sample should look like this:
I have tested and the first option does not work with
terraform_1.5.4
andazurerm_3.67.0
, the second one works.Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: