hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.52k stars 4.6k forks source link

Support for Java_21 for azurerm_spring_cloud_java_deployment #26061

Open justinp-kr opened 3 months ago

justinp-kr commented 3 months ago

Is there an existing issue for this?

Community Note

Description

Add Java 21 support for Azure Spring Cloud deployment

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

azurerm_spring_cloud_java_deployment

Potential Terraform Configuration

resource "azurerm_spring_cloud_java_deployment" "my_service_deployment" {
  name                = "my-service-deployment"
  spring_cloud_app_id = azurerm_spring_cloud_app.my_service.id
  instance_count      = 1
  jvm_options         = "-XX:+PrintGC"

  quota {
    cpu    = "1"
    memory = "1Gi"
  }

  runtime_version = "Java_21"

  environment_variables = {}
}

References

https://github.com/hashicorp/terraform-provider-azurerm/issues/15814

https://learn.microsoft.com/en-us/cli/azure/spring/app/deployment?view=azure-cli-latest

Chambras commented 3 months ago

Hi @justinp-kr great suggestion. I can work on that!!!

Tom-Van-Asch commented 2 weeks ago

@Chambras when will this be available?