Resource: aws_vpclattice_service_network_service_association

Terraform resource for managing an AWS VPC Lattice Service Network Service Association.

Example Usage

Basic Usage

resource "aws_vpclattice_service_network_service_association" "example" {
  service_identifier         = aws_vpclattice_service.example.id
  service_network_identifier = aws_vpclattice_service_network.example.id
}

Argument Reference

The following arguments are required:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import VPC Lattice Service Network Service Association using the id. For example:

import {
  to = aws_vpclattice_service_network_service_association.example
  id = "snsa-05e2474658a88f6ba"
}

Using terraform import, import VPC Lattice Service Network Service Association using the id. For example:

% terraform import aws_vpclattice_service_network_service_association.example snsa-05e2474658a88f6ba