You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with no region (terraformer import aws --resources=s3 --profile=terraform) it discovers that there are 3 S3 buckets by name, but shows the error:
error reading S3 Bucket (my-bucket-name-us-east-1): MissingRegion: could not find region configuration WARN: Fail read resource from provider, wait 300ms before retry
If I pass in the region that the buckets are in, then it doesn't discover anything: terraformer import aws --resources=s3 --profile=terraform --regions=us-east-1 Number of resources for service s3: 0
I believe with no region specified, the default region is global. Trying to specify --regions=global is the same as specifying us-east-1 - no resources found.
I know that terraformer can see the S3 buckets correctly, as it lists the names during the output before the MissingRegion error, but I can't get it to import them correctly.
Is this a bug or am I doing something wrong?
Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Running with no region (
terraformer import aws --resources=s3 --profile=terraform
) it discovers that there are 3 S3 buckets by name, but shows the error:error reading S3 Bucket (my-bucket-name-us-east-1): MissingRegion: could not find region configuration
WARN: Fail read resource from provider, wait 300ms before retry
If I pass in the region that the buckets are in, then it doesn't discover anything:
terraformer import aws --resources=s3 --profile=terraform --regions=us-east-1
Number of resources for service s3: 0
I believe with no region specified, the default region is
global
. Trying to specify--regions=global
is the same as specifyingus-east-1
- no resources found.I know that terraformer can see the S3 buckets correctly, as it lists the names during the output before the
MissingRegion
error, but I can't get it to import them correctly.Is this a bug or am I doing something wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions