Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: AWS region configured value disregarded #18

Closed
przsus opened this issue Aug 8, 2024 · 0 comments
Closed

[BUG]: AWS region configured value disregarded #18

przsus opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@przsus
Copy link
Contributor

przsus commented Aug 8, 2024

Summary

Execution of playbook aws/full_deploy_and_configure.yml fails at gathering information on VPC if the user doesn't have the default region set at AWS config. The value of region configured at aws/aws_sdwan_config.yml is disregarded by this task.

Logs and external information

TASK [cisco.sdwan_deployment.aws_network_infrastructure : Check if VPC info is not empty] ***********************************************************************************************************************
ok: [localhost] => {
    "changed": false,
    "msg": "All assertions passed"
}

TASK [cisco.sdwan_deployment.aws_network_infrastructure : Set aws_vpc and aws_vpc_id facts] *********************************************************************************************************************
ok: [localhost]

TASK [cisco.sdwan_deployment.aws_network_infrastructure : Gather information about any VPC subnet within VPC with ID] *******************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "The amazon.aws.ec2_vpc_subnet_info module requires a region and none was found in configuration, environment variables or module parameters"}

PLAY RECAP ******************************************************************************************************************************************************************************************************
localhost                  : ok=26   changed=0    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0

Reproduction script

ansible-playbook playbooks/aws/full_deploy_and_configure.yml

Issue Severity

Low: It annoys me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants