Resource: aws_apprunner_auto_scaling_configuration_version

Manages an App Runner AutoScaling Configuration Version.

Example Usage

resource "aws_apprunner_auto_scaling_configuration_version" "example" {
  auto_scaling_configuration_name = "example"

  max_concurrency = 50
  max_size        = 10
  min_size        = 2

  tags = {
    Name = "example-apprunner-autoscaling"
  }
}

Argument Reference

The following arguments supported:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import App Runner AutoScaling Configuration Versions using the arn. For example:

import {
  to = aws_apprunner_auto_scaling_configuration_version.example
  id = "arn:aws:apprunner:us-east-1:1234567890:autoscalingconfiguration/example/1/69bdfe0115224b0db49398b7beb68e0f"
}

Using terraform import, import App Runner AutoScaling Configuration Versions using the arn. For example:

% terraform import aws_apprunner_auto_scaling_configuration_version.example "arn:aws:apprunner:us-east-1:1234567890:autoscalingconfiguration/example/1/69bdfe0115224b0db49398b7beb68e0f