Hi all,

I am using Ansible 1.9.2 and when I was in 
/usr/local/lib/python2.7/dist-packages/ansible/modules/core/cloud/amazon 
and grep for region or ec2_url I did not see any real mention of either 
these in the codes.

grep 'ec2_url\|region' ec2_group.py
  region:
      - the EC2 region to use
    region: eu-west-1a

These are there but parts of the documentation.

ec2_group description='Allow hadoop access from outside of AWS' 
vpc_id=vpc-xxxxxx region=us-gov-west-1 name=ext-hadoop-gov 
aws_access_key=xxx aws_secret_key=xxxx

or

ec2_group description='Allow hadoop access from outside of AWS' 
vpc_id=vpc-xxxxxxx ec2_url=https://ec2.us-gov-west-1.amazonaws.com 
name=ext-hadoop-gov aws_access_key=xxx aws_secret_key=xxx

I ran into a problem where I am trying to use ec2_group to manage security 
groups in gov cloud us-gov-west-1 region and does not matter whether I 
specified region or/and ec2_url nothing seems to work.
I used the same role to manage security groups in us-east-1 and us-west-2 
and things worked without any issue.

Reading the man page gave me the impression that you can use either these.  
Has anybody gotten this to work with us-gov-west-1 region?

Thank you very much,
Steven.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c3172fe4-71fb-4275-92a7-3a77291bd1ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to