ambitious-window-5003
06/05/2024, 6:55 PMType Name Plan Info
pulumi: pulumi: Stack dev 1 error
- aws:ebs:Volume id import 1 error
Diagnostics:
pulumi:pulumi:Stack (dev):
error: Preview failed: 1 error occurred:
* configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
AWS Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, access disabled to EC2 IMDS via client option, or "AWS_EC2_ METADATA DISABLED" environment variable
Any ideas why this might be happening please?
I have run the import command on the cli to import an ebs volume, specifying the id of the resource. pulumi import aws:ebs/volume:Volume id vol-id
and I am expecting a preview and some ts code that should be generated.
Here's what I expect
Previewing import (dev)
Type Name Plan
+ pulumi:pulumi:Stack dev
= └─ aws:ebs:Volume id import
Resources:
+ 1 to create
= 1 to import
2 changes
Do you want to perform this import?
> yes
no
details
little-cartoon-10569
06/05/2024, 8:47 PMambitious-window-5003
06/06/2024, 3:50 AMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by