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

dns_zone issue with wrong response #358

Open
tischrei opened this issue Oct 1, 2024 · 0 comments
Open

dns_zone issue with wrong response #358

tischrei opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tischrei
Copy link
Member

tischrei commented Oct 1, 2024

Creating a zone with wrong vpc-name results in wrong output. The playbook is not aborting, instead it runs through:

sample play:

- hosts: localhost
  tasks: 
    - name: Create private zone
      opentelekomcloud.cloud.dns_zone:
        cloud: otc
        name: tinozone2
        state: present
        zone_type: "private"
        router: "vpc-tino"
      register: zone
ok: [localhost] => {
    "changed": false,
    "invocation": {
        "module_args": {
            "api_timeout": null,
            "auth": null,
            "auth_type": null,
            "ca_cert": null,
            "client_cert": null,
            "client_key": null,
            "description": null,
            "email": null,
            "interface": "public",
            "name": "tinozone2",
            "region_name": null,
            "router": "vpc-tino",
            "sdk_log_level": "WARN",
            "sdk_log_path": null,
            "state": "present",
            "timeout": 180,
            "ttl": null,
            "validate_certs": null,
            "wait": true,
            "zone_type": "private"
        }
    },
    "message": "No Router found with name or id: vpc-tino"
}


@tischrei tischrei added the bug Something isn't working label Oct 1, 2024
@tischrei tischrei assigned tischrei and unassigned tischrei Oct 1, 2024
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

1 participant