cycloidio / terracognita

Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
MIT License
2.17k stars 163 forks source link

The `--aws-profile` option doesn't actually exist #404

Open nhooey opened 9 months ago

nhooey commented 9 months ago

General information:

Describe the bug:

The terracognita aws --aws-profile <aws_profile_label> doesn't actually work, and is detected as non-existant.

Log message

$ terracognita aws --aws-profile my_aws_profile resources
Error: unknown flag: --aws-profile

Additional context

This option was supposedly added in 2020: #142.

Partial output of terracognita aws --help:

$ terracognita aws --help
Terracognita reads from AWS and generates hcl resources and/or terraform state

Usage:
  terracognita aws [flags]
  terracognita aws [command]

Available Commands:
  resources   List of all the AWS supported Resources

Flags:
      --aws-profile string                   Name of the Profile to use with the Credentials
nhooey commented 9 months ago

The same issue occurs with --aws-access-key.