Retrieve information about an Elastic Beanstalk Application.
data "aws_elastic_beanstalk_application" "example" {
name = "example"
}
output "arn" {
value = data.aws_elastic_beanstalk_application.example.arn
}
output "description" {
value = data.aws_elastic_beanstalk_application.example.description
}
name
- (Required) Name of the applicationThis data source exports the following attributes in addition to the arguments above:
id
- Name of the applicationarn
- ARN of the application.description
- Short description of the applicationApplication version lifecycle (appversion_lifecycle
) supports the nested attribute containing.
service_role
- ARN of an IAM service role under which the application version is deleted. Elastic Beanstalk must have permission to assume this role.max_count
- Maximum number of application versions to retain.max_age_in_days
- Number of days to retain an application version.delete_source_from_s3
- Specifies whether delete a version's source bundle from S3 when the application version is deleted.