Skip to content

Commit

Permalink
r/aws_securitylake_aws_log_source: Correct documentation for import.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 5, 2024
1 parent 15fe0c0 commit ebcdc1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/r/securitylake_aws_log_source.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ This resource exports no additional attributes.

## Import

In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import AWS log sources using the source name and source version. For example:
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import AWS log sources using the source name. For example:

```terraform
import {
to = aws_securitylake_aws_log_source.example
id = "ROUTE53/1.0"
id = "ROUTE53"
}
```

Using `terraform import`, import AWS log sources using the source name and source version. For example:
Using `terraform import`, import AWS log sources using the source name. For example:

```console
% terraform import aws_securitylake_aws_log_source.example ROUTE53/1.0
% terraform import aws_securitylake_aws_log_source.example ROUTE53
```

0 comments on commit ebcdc1c

Please sign in to comment.