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 module #335

Open
flwitten opened this issue May 5, 2024 · 0 comments
Open

dns_zone module #335

flwitten opened this issue May 5, 2024 · 0 comments

Comments

@flwitten
Copy link

flwitten commented May 5, 2024

Hi everyone,

If I'm running e.g.

- name: Create private zones
  opentelekomcloud.cloud.dns_zone:
    name:        "example.com."
    state:       present
    zone_type:   private
    router:      "{{ vpc_info.vpc.id }}"
    description: Test Private Zone
    ttl:         300
    email:       [email protected]

The DNS-Privatezone is created. That works, but If I run the playbook again it's not returning an OK as expected but an error.

fatal: [localhost]: FAILED! => 
{
	"changed": false,
	"extra_data": 
		{
			"data": null, 
			"details": "This VPC has already been associated with the zone. Zone ID:******************.", 
			"response": "{\"code\":\"DNS.0212\",\
			"message\":\"This VPC has already been associated with the zone. Zone ID:*******************.\"}"}, 
			"msg": "This VPC has already been associated with the zone. Zone ID:************.: Client Error for url: https://dns.eu-de.otc.t-systems.com/v2/zones, This VPC has already been associated with the zone. Zone ID:***************."}

Is this the expected behaviour?

Thank you in advance,
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant