App Runner
Terraform module to create AWS App Runner resources
Inputs
40
access_iam_role_descriptionoptionalstringDescription of the role
nullaccess_iam_role_nameoptionalstringName to use on IAM role created
nullaccess_iam_role_pathoptionalstringIAM role path
nullaccess_iam_role_permissions_boundaryoptionalstringARN of the policy that is used to set the permissions boundary for the IAM role
nullaccess_iam_role_policiesoptionalmap(string)IAM policies to attach to the IAM role
{}access_iam_role_use_name_prefixoptionalboolDetermines whether the IAM role name (`iam_role_name`) is used as a prefix
trueauto_scaling_configuration_arnoptionalstringARN of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration
nullauto_scaling_configurationsoptionalanyMap of auto-scaling configuration definitions to create
{}connectionsoptionalanyMap of connection definitions to create
{}createoptionalboolDetermines whether resources will be created (affects all resources)
truecreate_access_iam_roleoptionalboolDetermines whether an IAM role is created or to use an existing IAM role
falsecreate_custom_domain_associationoptionalboolDetermines whether a Custom Domain Association will be created
falsecreate_ingress_vpc_connectionoptionalboolDetermines whether a VPC ingress configuration will be created
falsecreate_instance_iam_roleoptionalboolDetermines whether an IAM role is created or to use an existing IAM role
truecreate_serviceoptionalboolDetermines whether the service will be created
truecreate_vpc_connectoroptionalboolDetermines whether a VPC Connector will be created
falsedomain_nameoptionalstringThe custom domain endpoint to association. Specify a base domain e.g., `example.com` or a subdomain e.g., `subdomain.example.com`
""enable_observability_configurationoptionalboolDetermines whether an X-Ray Observability Configuration will be created and assigned to the service
trueenable_www_subdomainoptionalboolWhether to associate the subdomain with the App Runner service in addition to the base domain. Defaults to `true`
nullencryption_configurationoptionalanyThe encryption configuration for the service
{}health_check_configurationoptionalanyThe health check configuration for the service
{}ingress_vpc_endpoint_idoptionalstringThe ID of the VPC endpoint that is used for the VPC ingress configuration
""ingress_vpc_idoptionalstringThe ID of the VPC that is used for the VPC ingress configuration
""instance_configurationoptionalanyThe instance configuration for the service
{}instance_iam_role_descriptionoptionalstringDescription of the role
nullinstance_iam_role_nameoptionalstringName to use on IAM role created
nullinstance_iam_role_pathoptionalstringIAM role path
nullinstance_iam_role_permissions_boundaryoptionalstringARN of the policy that is used to set the permissions boundary for the IAM role
nullinstance_iam_role_policiesoptionalmap(string)IAM policies to attach to the IAM role
{}instance_iam_role_use_name_prefixoptionalboolDetermines whether the IAM role name (`iam_role_name`) is used as a prefix
trueinstance_policy_statementsoptionalanyA map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage
{}network_configurationoptionalanyThe network configuration for the service
{}observability_configurationoptionalanyThe observability configuration for the service
{}private_ecr_arnoptionalstringThe ARN of the private ECR repository that contains the service image to launch
nullservice_nameoptionalstringThe name of the service
""source_configurationoptionalanyThe source configuration for the service
{}tagsoptionalmap(string)A map of tags to add to all resources
{}vpc_connector_nameoptionalstringThe name of the VPC Connector
""vpc_connector_security_groupsoptionallist(string)The security groups to use for the VPC Connector
[]vpc_connector_subnetsoptionallist(string)The subnets to use for the VPC Connector
[]All 40 are optional — the module deploys with none of them set.
Outputs
24
access_iam_role_arnThe Amazon Resource Name (ARN) specifying the IAM role
access_iam_role_nameThe name of the IAM role
access_iam_role_unique_idStable and unique string identifying the IAM role
auto_scaling_configurationsMap of attribute maps for all autoscaling configurations created
connectionsMap of attribute maps for all connections created
custom_domain_association_certificate_validation_recordsA set of certificate CNAME records used for this domain name
custom_domain_association_dns_targetThe App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name. Attribute only available if resource created (not imported) with Terraform
custom_domain_association_idThe `domain_name` and `service_arn` separated by a comma (`,`)
instance_iam_role_arnThe Amazon Resource Name (ARN) specifying the IAM role
instance_iam_role_nameThe name of the IAM role
instance_iam_role_unique_idStable and unique string identifying the IAM role
observability_configuration_arnARN of this observability configuration
observability_configuration_latestWhether the observability configuration has the highest `observability_configuration_revision` among all configurations that share the same `observability_configuration_name`
observability_configuration_revisionThe revision of the observability configuration
observability_configuration_statusThe current state of the observability configuration. An `INACTIVE` configuration revision has been deleted and can't be used. It is permanently removed some time after deletion
service_arnThe Amazon Resource Name (ARN) of the service
service_idAn alphanumeric ID that App Runner generated for this service. Unique within the AWS Region
service_statusThe current state of the App Runner service
service_urlA subdomain URL that App Runner generated for this service. You can use this URL to access your service web application
vpc_connector_arnThe Amazon Resource Name (ARN) of VPC connector
vpc_connector_revisionThe revision of VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name
vpc_connector_statusThe current state of the VPC connector. If the status of a connector revision is INACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted
vpc_ingress_connection_arnThe Amazon Resource Name (ARN) of the VPC Ingress Connection
vpc_ingress_connection_domain_nameThe domain name associated with the VPC Ingress Connection resource
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.