aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.11k stars 54 forks source link

Breaking Change in AWS::GuardDuty::IPSet: Name wasn't required, but is now #1871

Closed benbridts closed 7 months ago

benbridts commented 8 months ago

Name of the resource

AWS::GuardDuty::IPSet

Resource Name

No response

Issue Description

Previously (it's hard to say for how long, but at least until 2023-03-30 according to the Wayback Machine, the Name property in AWS::GuardDuty::IPSet was optional (Required: No). Currently that isn't the case anymore (Required: Yes).

This makes it impossible to deploy existing templates to new stacks, or edit templates without adding the Name property

Expected Behavior

Name should not be required

Observed Behavior

Name is required

Test Cases

I have this resource deployed in an existing stack:

TrustedIpList:
  Type: AWS::GuardDuty::IPSet
  Properties:
    Activate: true
    DetectorId: !Ref Detector
    Format: TXT
    Location: !Sub https://s3.amazonaws.com/${ConfigBucket}/${TrustedIpListPath}

Other Details

No response