aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

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

Open
#2,222 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Research direction

No repository file or test entry point is named. Start by reproducing the provided CloudFormation template and reviewing the CREATE_FAILED event for AWS::CloudFront::AnycastIpList. Done means either the resource provisions successfully with the documented properties or the failure identifies the invalid configuration clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.