hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

Add new `networking_configuration` to `aws_apprunner_service` #23148

Closed mattkoskela closed 2 years ago

mattkoskela commented 2 years ago

Community Note

Description

On February 8th, AWS Announced custom VPC support for App Runner. This resulted in several Network Configuration options being added to App Runner, including a VPC Connector, Subnets list, and Security Group list.

New or Affected Resource(s)

Potential Terraform Configuration

This could look something like:

resource "aws_apprunner_service" "example" {
  service_name = "example"

  source_configuration {
    ...
  }

  network_configuration {
    vpc_id = vpc.example.id
    name = "Example VPC Connector"
    subnets = [...]
    security_groups = [...]
  }

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

References

mattkoskela commented 2 years ago

Just saw Issue #23090... Closing as duplicate - my bad

github-actions[bot] commented 2 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.