terracognita icon indicating copy to clipboard operation
terracognita copied to clipboard

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

Open nhooey opened this issue 1 year ago • 1 comments

General information:

  • Operating System: Mac OS Sonoma 14.1.1
  • Terracognita version / tag: 0.8.4
  • Did you build Terracognita from sources or did you use the Docker image: Homebrew

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 avatar Dec 05 '23 04:12 nhooey

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

nhooey avatar Dec 05 '23 04:12 nhooey