Skip to content

Convert aws_profiles from string to list so that we can have multiple aws accounts for dynamic inventory #116

Description

@Akasurde

From @dhikrahashim on Jul 28, 2020 05:37

SUMMARY

We have "aws_ec2" plugin for dynamic inventory, suppose if we have multiple AWS accounts we need to create inventory for each AWS account. If the aws_profile parameter is "list" type we need only one inventory playbook to fetch the inventories. We can use "with_items" or "loop" I guess

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION
plugin: aws_ec2
aws_profile:
  - new-relic-aws
  - splunk-aws
  - application-aws
  - database-aws

Copied from original issue: ansible/ansible#70928

Activity

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

Metadata

Metadata

Assignees

Labels

affects_2.10featureThis issue/PR relates to a feature requestinventoryinventory plugin

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions