Open japtain-cack opened 8 months ago
Disregard, after further investigation, these are private zones, and the docs for boto3_route53 are different in this regard vs the boto_route53. I was assuming, incorrectly, that the private zone attribute was optional.
boto_route53 states: If using split_dns, specify if this is the private zone. boto3_route53 states: Set to True if the resource record should be in a private zone, False if public.
So, after specifically setting PrivateZone
to True
, seems to have resolved the issue.
Description
I believe we've encountered a bug with
boto3_route53.rr_present
and related states/modules. It seems the function that returns the hosted zone data is potentially not parsing it properly; from what I can tell. Pillars are being passed in properly and we double and triple checked the zoneID is correct.Also, we still have to have
boto
installed even though this is aboto3
module/state. This state was broken until we includedboto
as a dependency.Setup
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior state:
pillars:
logs:
Expected behavior DNS records are updated.
Screenshots If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.) master ```yaml sudo salt --versions-report Salt Version: Salt: 3006.5 Python Version: Python: 3.10.13 (main, Nov 15 2023, 04:34:27) [GCC 11.2.0] Dependency Versions: cffi: 1.14.6 cherrypy: unknown dateutil: 2.8.1 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.2 libgit2: 1.7.1 looseversion: 1.0.2 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.2 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 22.0 pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.9.8 pygit2: 1.13.1 python-gnupg: 0.4.8 PyYAML: 6.0.1 PyZMQ: 23.2.0 relenv: 0.14.2 smmap: Not Installed timelib: 0.2.4 Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: amzn 2 locale: utf-8 machine: x86_64 release: 4.14.330-250.540.amzn2.x86_64 system: Linux version: Amazon Linux 2 ``` minion: ```yaml sudo salt-call --versions-report Salt Version: Salt: 3006.5 Python Version: Python: 3.10.13 (main, Nov 15 2023, 04:34:27) [GCC 11.2.0] Dependency Versions: cffi: 1.14.6 cherrypy: 18.6.1 dateutil: 2.8.1 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.2 libgit2: Not Installed looseversion: 1.0.2 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.2 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 22.0 pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.9.8 pygit2: Not Installed python-gnupg: 0.4.8 PyYAML: 6.0.1 PyZMQ: 23.2.0 relenv: 0.14.2 smmap: Not Installed timelib: 0.2.4 Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: amzn 2 locale: utf-8 machine: x86_64 release: 4.14.327-246.539.amzn2.x86_64 system: Linux version: Amazon Linux 2 ```Additional context Add any other context about the problem here.