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

AWS::CloudFront::AnycastIpList - [BUG] - Invalid request provided #2222

Open
t0yv0 opened this issue Dec 27, 2024 · 0 comments
Open

AWS::CloudFront::AnycastIpList - [BUG] - Invalid request provided #2222

t0yv0 opened this issue Dec 27, 2024 · 0 comments
Labels

Comments

@t0yv0
Copy link

t0yv0 commented Dec 27, 2024

Name of the resource

Other

Resource Name

AWS::CloudFront::AnycastIpList

Issue Description

Failing to provision an AWS::CloudFront::AnycastIpList resource with InvalidRequest without a helpful diagnostic message explaining what is unexpected with my configuration.

Expected Behavior

AWS::CloudFront::AnycastIpList provisions or gracefully fails explaining what is wrong with the configuration.

Observed Behavior

        {
            "StackId": "arn:aws:cloudformation:us-west-2:616138583583:stack/anton-test-anycastiplist-2-b/9fa0fac0-c480-11ef-bae1-0ae2e4a91c7f",
            "EventId": "AnycastIpList-CREATE_FAILED-2024-12-27T18:30:21.422Z",
            "StackName": "anton-test-anycastiplist-2-b",
            "LogicalResourceId": "AnycastIpList",
            "PhysicalResourceId": "",
            "ResourceType": "AWS::CloudFront::AnycastIpList",
            "Timestamp": "2024-12-27T18:30:21.422000+00:00",
            "ResourceStatus": "CREATE_FAILED",
            "ResourceStatusReason": "Resource handler returned message: \"Invalid request provided: AWS::CloudFront::AnycastIpList\" (RequestToken: d2f6e4dd-da9d-cb23-4e87-5dbb44bab39b, HandlerErrorCode: InvalidRequest)",
            "ResourceProperties": "{\"IpCount\":\"1\",\"Name\":\"MyAnycastIpList\"}"
        },

Test Cases

Using this CloudFormation template:

AWSTemplateFormatVersion: '2010-09-09'
Description: CloudFormation template for AnycastIpList

Resources:
  AnycastIpList:
    Type: AWS::CloudFront::AnycastIpList
    Properties:
      Name: MyAnycastIpList
      IpCount: 1

Outputs:
  AnycastIpListId:
    Description: The ID of the Anycast IP List
    Value: !Ref AnycastIpList

Other Details

No response

@t0yv0 t0yv0 added the bug label Dec 27, 2024
@t0yv0 t0yv0 changed the title AWS::CloudFront::AnycastIpList - [BUG] - AWS::CloudFront::AnycastIpList - [BUG] - Invalid request provided Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant