mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 18:03:06 -06:00
Create dynamic inventory for AWS autoscaling groups
This commit is contained in:
16
inv/atl_cluster_aws_ec2.yml
Normal file
16
inv/atl_cluster_aws_ec2.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
## Creates an inventory from your application cluster autoscaling group
|
||||
## You need to provide the following environment variables
|
||||
# AWS_ACCESS_KEY_ID
|
||||
# AWS_SECRET_ACCESS_KEY
|
||||
#
|
||||
# Replace "your_autoscaling_group" with the name of the EC2 autoscaling group your application cluster is running in
|
||||
# Replace "your deployment region" with the AWS region your cluster is running in
|
||||
# The Ansible controller node will need to have SSH access to the autoscaling group so ensure its private key is authorised and there
|
||||
# the security group allows SSH connection
|
||||
|
||||
plugin: aws_ec2
|
||||
|
||||
filters:
|
||||
tag:aws:autoscaling:groupName: your_autoscaling_group
|
||||
regions:
|
||||
- your_deployment_region
|
||||
Reference in New Issue
Block a user