Resource: aws_apprunner_connection

Manages an App Runner Connection.

Example Usage

resource "aws_apprunner_connection" "example" {
  connection_name = "example"
  provider_type   = "GITHUB"

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

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 Connections using the connection_name. For example:

import {
  to = aws_apprunner_connection.example
  id = "example"
}

Using terraform import, import App Runner Connections using the connection_name. For example:

% terraform import aws_apprunner_connection.example example