Elastic Beanstalk

Implementation details for API elasticbeanstalk

Coverage Overview

Elastic Beanstalk is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
AbortEnvironmentUpdate
ApplyEnvironmentManagedAction
AssociateEnvironmentOperationsRole
CheckDNSAvailability
ComposeEnvironments
CreateApplication✔️pro✔️✔️✔️✔️Show Tests
CreateApplicationVersion✔️pro✔️✔️✔️Show Tests
CreateConfigurationTemplate✔️pro✔️✔️✔️Show Tests
CreateEnvironment✔️pro✔️✔️✔️Show Tests
CreatePlatformVersion
CreateStorageLocation
DeleteApplication✔️pro✔️✔️✔️✔️Show Tests
DeleteApplicationVersion✔️pro✔️✔️✔️Show Tests
DeleteConfigurationTemplate✔️pro✔️✔️✔️Show Tests
DeleteEnvironmentConfiguration✔️pro✔️Show Tests
DeletePlatformVersion
DescribeAccountAttributes
DescribeApplicationVersions✔️pro✔️✔️✔️Show Tests
DescribeApplications✔️pro✔️✔️✔️✔️Show Tests
DescribeConfigurationOptions
DescribeConfigurationSettings✔️pro✔️✔️✔️Show Tests
DescribeEnvironmentHealth
DescribeEnvironmentManagedActionHistory
DescribeEnvironmentManagedActions
DescribeEnvironmentResources
DescribeEnvironments✔️pro✔️✔️✔️Show Tests
DescribeEvents
DescribeInstancesHealth
DescribePlatformVersion
DisassociateEnvironmentOperationsRole
ListAvailableSolutionStacks
ListPlatformBranches
ListPlatformVersions
ListTagsForResource
RebuildEnvironment
RequestEnvironmentInfo
RestartAppServer
RetrieveEnvironmentInfo
SwapEnvironmentCNAMEs
TerminateEnvironment✔️pro✔️✔️✔️Show Tests
UpdateApplication✔️pro✔️Show Tests
UpdateApplicationResourceLifecycle
UpdateApplicationVersion✔️pro✔️Show Tests
UpdateConfigurationTemplate
UpdateEnvironment✔️pro✔️Show Tests
UpdateTagsForResource
ValidateConfigurationSettings

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the execution of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateApplication

Parameters: ApplicationName
  • LocalStack Pro
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200
    • test_manage_applications LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_applications HTTP Status Code: 200
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200
Parameters: ApplicationName, Description
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

CreateApplicationVersion

Parameters: ApplicationName, Description, SourceBundle, VersionLabel
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: ApplicationName, VersionLabel
  • LocalStack Pro
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200

CreateConfigurationTemplate

Parameters: ApplicationName, Description, SolutionStackName, TemplateName
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

CreateEnvironment

Parameters: ApplicationName, CNAMEPrefix, Description, EnvironmentName, OptionSettings, SolutionStackName, VersionLabel
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: ApplicationName, EnvironmentName
  • LocalStack Pro
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200

DeleteApplication

Parameters: ApplicationName
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200
    • test_manage_applications LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_applications HTTP Status Code: 200
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200

DeleteApplicationVersion

Parameters: ApplicationName, VersionLabel
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200

DeleteConfigurationTemplate

Parameters: ApplicationName, TemplateName
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

DeleteEnvironmentConfiguration

Parameters: ApplicationName, EnvironmentName
  • LocalStack Pro
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200

DescribeApplicationVersions

Parameters: ApplicationName
  • LocalStack Pro
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200
Parameters: ApplicationName, VersionLabels
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

DescribeApplications

Parameters: ApplicationNames
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_manage_applications LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_applications HTTP Status Code: 200

DescribeConfigurationSettings

Parameters: ApplicationName, TemplateName
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

DescribeEnvironments

Parameters: ApplicationName, EnvironmentNames
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200
Parameters: EnvironmentNames
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

TerminateEnvironment

Parameters: EnvironmentName
  • LocalStack Pro
    • test_application_with_version_and_environment LocalStack Pro: tests/aws/services/cloudformation/resources/test_elasticbeanstalk.py::test_application_with_version_and_environment HTTP Status Code: 200 AWS validated Snapshot Tested

UpdateApplication

Parameters: ApplicationName, Description
  • LocalStack Pro
    • test_manage_applications LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_applications HTTP Status Code: 200

UpdateApplicationVersion

Parameters: ApplicationName, Description, VersionLabel
  • LocalStack Pro
    • test_manage_application_versions LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_application_versions HTTP Status Code: 200

UpdateEnvironment

Parameters: ApplicationName, Description, EnvironmentName
  • LocalStack Pro
    • test_manage_environments LocalStack Pro: tests/aws/services/elasticbeanstalk/test_elasticbeanstalk.py::TestElasticBeanstalk::test_manage_environments HTTP Status Code: 200