Skip to content

Support for PHP 8.5 in azurerm_linux_web_app application stack #33185

Description

@pb30

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

Description

Azure App Service now offers PHP 8.5 as a blessed runtime for Linux web apps (announcement), but the provider's validation for site_config.application_stack.php_version still tops out at 8.4:

Error: expected site_config.0.application_stack.0.php_version to be one of ["7.4" "8.0" "8.1" "8.2" "8.3" "8.4"], got 8.5

Reproduced against provider v5.2.0 (and v4.81.0).

This is the PHP 8.5 twin of #30278 (PHP 8.4), which was resolved by #30281.

New or Affected Resource(s)/Data Source(s)

  • azurerm_linux_web_app
  • azurerm_linux_web_app_slot

Potential Terraform Configuration

resource "azurerm_linux_web_app" "example" {
  # ...
  site_config {
    application_stack {
      php_version = "8.5"
    }
  }
}

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions