Estou com erro na subnet , porem esta correta , por... | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por Adriano

1 semana, 4 dias atrás Adriano

Estou com erro na subnet , porem esta correta , porque estou pegando a padrão , segue em os logs

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: <Response><Errors><Error><Code>InvalidSubnetID.NotFound</Code><Message>The subnet ID 'subnet-0c4ad7f74ecda3474' does not exist</Message></Error></Errors><RequestID>7832b454-a55e-43c8-a1d5-f3da15247f6e</RequestID></Response> fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1605797009.737041-268091429670442/AnsiballZ_ec2.py\", line 102, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1605797009.737041-268091429670442/AnsiballZ_ec2.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1605797009.737041-268091429670442/AnsiballZ_ec2.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible.modules.cloud.amazon.ec2', init_globals=None, run_name='__main__', alter_sys=True)\n File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_ec2_payload_yngdjuay/ansible_ec2_payload.zip/ansible/modules/cloud/amazon/ec2.py\", line 1721, in <module>\n File \"/tmp/ansible_ec2_payload_yngdjuay/ansible_ec2_payload.zip/ansible/modules/cloud/amazon/ec2.py\", line 1705, in main\n File \"/tmp/ansible_ec2_payload_yngdjuay/ansible_ec2_payload.zip/ansible/modules/cloud/amazon/ec2.py\", line 1007, in create_instances\n File \"/usr/local/lib/python3.8/dist-packages/boto/vpc/__init__.py\", line 1152, in get_all_subnets\n return self.get_list('DescribeSubnets', params, [('item', Subnet)])\n File \"/usr/local/lib/python3.8/dist-packages/boto/connection.py\", line 1186, in get_list\n raise self.ResponseError(response.status, response.reason, body)\nboto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response><Errors><Error><Code>InvalidSubnetID.NotFound</Code><Message>The subnet ID 'subnet-0c4ad7f74ecda3474' does not exist</Message></Error></Errors><RequestID>7832b454-a55e-43c8-a1d5-f3da15247f6e</RequestID></Response>\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1

1 Respostas