Inputs
General
Controls if resources should be created (affects nearly all resources).
Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration.
A map of tags to add to all resources.
Application
The name of the application.
The type of application you want to start, such as
spark or hive.Release label for the Amazon EMR release.
Map of release label filters used to look up a release label. Each entry accepts
application (optional string) and prefix (optional string).The CPU architecture of an application. Valid values are
ARM64 or X86_64. Default value is X86_64.The configuration for an application to automatically start on job submission. Accepts:
enabled(optional bool)
The configuration for an application to automatically stop after a certain amount of time being idle. Accepts:
enabled(optional bool)idle_timeout_minutes(optional number)
The image configuration applied to all worker types. Accepts:
image_uri(string, required)
The capacity to initialize when the application is created. Each entry accepts:
initial_capacity_type(string, required)initial_capacity_config(optional object) withworker_countandworker_configuration(containingcpu,memory, and optionaldisk)
Enables the interactive use cases to use when running an application. Accepts:
livy_endpoint_enabled(optional bool)studio_enabled(optional bool)
Configuration block for job-level cost allocation. Accepts:
enabled(optional bool)
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time. No new resources will be created once any one of the defined limits is hit. Accepts:
cpu(string, required)memory(string, required)disk(optional string)
The network configuration for customer VPC connectivity. Accepts:
security_group_ids(optional list(string), default: [])subnet_ids(optional list(string))
The monitoring configuration for the application. Accepts nested blocks for:
cloudwatch_logging_configuration— withenabled,log_group_name,log_stream_name_prefix,encryption_key_arn, andlog_typesmanaged_persistence_monitoring_configuration— withenabledandencryption_key_arnprometheus_monitoring_configuration— withremote_write_urls3_monitoring_configuration— withlog_uriandencryption_key_arn
The runtime configuration for the application. Each object accepts:
classification(string, required)properties(optional map(string))
The scheduler configuration for the application. Accepts:
max_concurrent_runs(optional number)queue_timeout_minutes(optional number)
Security group
Determines whether the security group is created.
Name to use on security group created.
Determines whether the security group name (
security_group_name) is used as a prefix.Description of the security group created.
A map of additional tags to add to the security group created.
Security group ingress rules to add to the security group created. Each rule accepts
cidr_ipv4, cidr_ipv6, description, from_port, to_port, ip_protocol, prefix_list_id, referenced_security_group_id, name, and tags.Security group egress rules to add to the security group created. Each rule accepts the same fields as ingress rules.
Outputs
Application
Amazon Resource Name (ARN) of the application.
ID of the application.
Security group
Amazon Resource Name (ARN) of the security group.
ID of the security group.