Skip to content

Commit

Permalink
Merge pull request #37144 from yob/export-docs
Browse files Browse the repository at this point in the history
Improve import docs for aws_bcmdataexports_export resource
  • Loading branch information
johnsonaj committed May 1, 2024
2 parents 1b9552b + 0aa4476 commit a44832e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/r/bcmdataexports_export.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ This resource exports the following attributes in addition to the arguments abov

## Import

In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import BCM Data Exports Export using the `example_id_arg`. For example:
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import BCM Data Exports Export using the export ARN. For example:

```terraform
import {
to = aws_bcmdataexports_export.example
id = "export-id-12345678"
id = "arn:aws:bcm-data-exports:us-east-1:123456789012:export/CostUsageReport-9f1c75f3-f982-4d9a-b936-1e7ecab814b7"
}
```

Using `terraform import`, import BCM Data Exports Export using the `export_arn`. For example:
Using `terraform import`, import BCM Data Exports Export using the export ARN. For example:

```console
% terraform import aws_bcmdataexports_export.example export-id-12345678
% terraform import aws_bcmdataexports_export.example arn:aws:bcm-data-exports:us-east-1:123456789012:export/CostUsageReport-9f1c75f3-f982-4d9a-b936-1e7ecab814b7
```

0 comments on commit a44832e

Please sign in to comment.