Skip to content

to filter one role out of all #410

Description

@Tavisca-Praveen-Kumar

General information:
As per requirement, I just want to import one role out of all the role present in aws account

  • Operating System: Linux
  • Terracognita version / tag: 0.8.4
  • Did you build Terracognita from sources or did you use the Docker image:
    I have build terracognita from source
    Describe the bug:
    sh-4.2$ terracognita aws --module devops --tfstate terraform.tfstate --aws-default-region us-east-1 -i aws_iam_role --tags 'Name:bnr-common-lambda-dynamic-runner-deploy-stack,Product:plt'
    We are about to remove all content from "devops", are you sure? Yes/No (Y/N):
    Y
    Starting Terracognita with version v0.8.4
    Importing with filters:
    Tags: [{Name bnr-common-lambda-dynamic-runner-deploy-stack} {Product plt}],
    Include: [aws_iam_role],
    Exclude: [],
    Targets: [],
    Importing aws_iam_role [5/1540]^C

A clear and concise description of what the bug is.
why it is importing all the roles present in the account. Since I only want to filter on basis of tag attached in it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions