Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New VPCLattice resource for Access log subscription: aws_vpclattice_access_log_subscription #30896

Merged
Prev Previous commit
Next Next commit
Fix terrafmt errors in documentation.
  • Loading branch information
ewbankkit committed May 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 8ab6423461c20a4155a808e454cfa2d0d6b40460
17 changes: 4 additions & 13 deletions website/docs/r/vpclattice_access_log_subscription.html.markdown
Original file line number Diff line number Diff line change
@@ -16,18 +16,17 @@ Terraform resource for managing an AWS VPC Lattice Service Network or Service Ac

```terraform
resource "aws_vpclattice_access_log_subscription" "example" {
resource_identifier = "aws_vpclattice_service_network.example.id"
destination_arn = "aws_s3.bucket.arn"
resource_identifier = aws_vpclattice_service_network.example.id
destination_arn = aws_s3.bucket.arn
}
```

## Argument Reference

The following arguments are required:

* `resource_identifier` - (Required) The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.

* `destination_arn` - (Required) Amazon Resource Name (ARN) of the log destination.
* `resource_identifier` - (Required) The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.

## Attributes Reference

@@ -39,17 +38,9 @@ In addition to all arguments above, the following attributes are exported:
* `resource_arn` - Amazon Resource Name (ARN) of the service network or service.
* `destination_arn` - Amazon Resource Name (ARN) of the log destination.

## Timeouts

[Configuration options](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts):

* `create` - (Default `60m`)
* `update` - (Default `180m`)
* `delete` - (Default `90m`)

## Import

VPC Lattice Access Log Subscription can be imported using the `example_id_arg`, e.g.,
VPC Lattice Access Log Subscription can be imported using the access log subscription ID, e.g.,

```
$ terraform import aws_vpclattice_access_log_subscription.example rft-8012925589