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

Failing to create new Route53 alias record. #545

Closed
naesheim opened this issue Apr 15, 2021 · 3 comments
Closed

Failing to create new Route53 alias record. #545

naesheim opened this issue Apr 15, 2021 · 3 comments
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type)

Comments

@naesheim
Copy link

SUMMARY

Failing to create an alias record for Route53

ISSUE TYPE
  • Bug Report
COMPONENT NAME

Route53

ANSIBLE VERSION

2.10.6

OS / ENVIRONMENT

OSX

STEPS TO REPRODUCE
- hosts: localhost
  tasks:
    - name: add new.mydomain.io
      community.aws.route53:
        zone: mydomain.io
        state: present
        record: new.mydomain.io
        type: A
        value: 
          - <my.cloudfront.net>
        alias: True
        alias_hosted_zone_id : zone_id
EXPECTED RESULTS

Alias A record created.

ACTUAL RESULTS

Values in error message are changed

"error": {
        "code": "InvalidInput",
        "message": "Invalid request: Expected exactly one of [AliasTarget, all of [TTL, and ResourceRecords], or TrafficPolicyInstanceId], but found more than one in Change with [Action=CREATE, Name=new.mydomain.io., Type=A, SetIdentifier=null]",
        "type": "Sender"
    },

When alias : True, I would expect TTL and ResourceRecords be removed from resource_records_set.
TrafficPolicyInstanceId seems to be outside my control.

Hard coding values into /plugins/modules/route53.py and running as python script works.

In advance, Thanks:)

@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) labels Apr 15, 2021
@tremble
Copy link
Contributor

tremble commented Apr 15, 2021

Thanks for taking the time to open this issue.

This issue has been fixed by #502 which has been merged into our current main (development) branch. A fix should be available in the next release.

(duplicate of #434)

@tremble tremble closed this as completed Apr 15, 2021
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this issue May 25, 2022
Add wimnat to the 'ignore' notifications list

SUMMARY
Add wimnat to the 'ignore' notifications list.  As per community.aws PR 778
ISSUE TYPE
n/a
COMPONENT NAME
BOTMETA
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

3 participants