mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Add region to ansible-test AWS cloud config. (#30733)
* Add region to ansible-test AWS cloud config. * Fix .gitignore for ansible-test cloud config.
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
aws_access_key: @ACCESS_KEY
|
||||
aws_secret_key: @SECRET_KEY
|
||||
security_token: @SECURITY_TOKEN
|
||||
aws_region: @REGION
|
||||
# aliases for backwards compatibility with older integration test playbooks
|
||||
ec2_access_key: '{{ aws_access_key }}'
|
||||
ec2_secret_key: '{{ aws_secret_key }}'
|
||||
ec2_region: '{{ aws_region }}'
|
||||
|
||||
@@ -68,6 +68,7 @@ class AwsCloudProvider(CloudProvider):
|
||||
ACCESS_KEY=credentials['access_key'],
|
||||
SECRET_KEY=credentials['secret_key'],
|
||||
SECURITY_TOKEN=credentials['session_token'],
|
||||
REGION='us-east-1',
|
||||
)
|
||||
|
||||
config = self._populate_config_template(config, values)
|
||||
|
||||
Reference in New Issue
Block a user