Skip to content
This repository was archived by the owner on Dec 28, 2017. It is now read-only.
This repository was archived by the owner on Dec 28, 2017. It is now read-only.

Unable to change values #13

@danielmanser

Description

@danielmanser

Hi

I'm unable to change a record, although no exception is raised. On the Route 53 Console, I also still see the old value.

import route53

conn = route53.connect(
    aws_access_key_id='xxx',
    aws_secret_access_key='xxx',
)

zone = conn.get_hosted_zone_by_id('xxx')
for record_set in zone.record_sets:
    if record_set.name == 'test.mydomain.me.':
        print record_set
        record_set.values = ['1.2.3.4']
        print record_set.values
        record_set.save()
        print record_set.values

This is the output:

<AResourceRecordSet: test.mydomain.me.>
['1.2.3.4']
['1.2.3.4']

But it isn't saved. Tried it with very low TTL and also checked in the AWS console. Unfortunately, I don't seem to be able to print record.set.values prior to modification. I'm using route53==1.0 installed with pip, and Python 2.7.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions