Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Apply suggestion from merged PR
Browse files Browse the repository at this point in the history
Suggestion submitted #3536 (comment), but the PR was auto-merged before it could be applied.
  • Loading branch information
cnunciato authored Oct 25, 2023
1 parent fb39e62 commit 34abf60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Your Pulumi stack must be configured correctly---e.g., using the same AWS region

### Pulumi Import Command

When importing resources via the CLI, there is a specific import syntax definition required for each resource. To see this definition, navigate to the corresponding resource page in the Pulumi registry and take a look at the **Import** section. Using the [AWS S3 Bucket resource](https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucket/#import) as an example, the below code demonstrates how to import an existing AWS S3 bucket named `company-infra-logs` and defines the resource name for your Pulumi program as `infra-logs`:
When importing resources via the CLI, there is a specific import syntax definition required for each resource. To see this definition, navigate to the corresponding resource page in the Pulumi registry and take a look at the **Import** section. Using the [AWS S3 Bucket resource](https://www.pulumi.com/registry/packages/aws/api-docs/s3/bucket/#import) as an example, the following command imports an existing AWS S3 bucket named `company-infra-logs` and defines the resource name for the Pulumi program as `infra-logs`:

```bash
$ pulumi import aws:s3/bucket:Bucket infra-logs company-infra-logs
Expand Down

0 comments on commit 34abf60

Please sign in to comment.