Skip to content

Unexpected attribute: An attribute named "vnet_image_pull_enabled" is not expected here #2075

@jbeaven2

Description

@jbeaven2

Extension Version

2.34.5

VS Code Version

Image

Operating System

Windows 10

Terraform Version

1.12.2

Steps to Reproduce

resource "azurerm_linux_web_app" "example" {
name = "example"
resource_group_name = test
location = test
service_plan_id = azurerm_service_plan.example.id

vnet_image_pull_enabled = false

site_config {}
}

Expected Behavior

No lint error

Actual Behavior

Lint error is highlighted

Terraform Configuration

resource "azurerm_linux_web_app" "example" {
  name                = "example"
  resource_group_name = test
  location            = test
  service_plan_id     = azurerm_service_plan.example.id

  vnet_image_pull_enabled = false

  site_config {}
}

Project Structure

azdo_repo/
├── main.tf
├── providers.tf
├── variables.tf
├── modules/../
├── env/
│   ├── env.tfvars
└── pipelines/.yaml

Gist

No response

Anything Else?

The azurerm Terraform provider version does not support the "vnet_image_pull_enabled" argument on the "azurerm_linux_web_app" resource.

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions