From 35c20a2c34ad0f78a2ba406dec12d4ded5fab81a Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Thu, 2 Nov 2023 14:59:59 -0700 Subject: [PATCH] Add in LoadBalancerArn to LoadBalancerV2Arn --- src/cfnlint/data/CloudSpecs/us-east-1.json | 5 ++++- src/cfnlint/data/ExtendedSpecs/all/03_value_types.json | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/cfnlint/data/CloudSpecs/us-east-1.json b/src/cfnlint/data/CloudSpecs/us-east-1.json index be4eafd218..7b33d2d848 100644 --- a/src/cfnlint/data/CloudSpecs/us-east-1.json +++ b/src/cfnlint/data/CloudSpecs/us-east-1.json @@ -254123,6 +254123,7 @@ }, "EC2MarketType": { "AllowedValues": [ + "capacity-block", "spot" ] }, @@ -255813,7 +255814,9 @@ } }, "LoadBalancerV2Arn": { - "GetAtt": {}, + "GetAtt": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": "LoadBalancerArn" + }, "Ref": { "Parameters": [ "String" diff --git a/src/cfnlint/data/ExtendedSpecs/all/03_value_types.json b/src/cfnlint/data/ExtendedSpecs/all/03_value_types.json index 63a88c382b..9817426870 100644 --- a/src/cfnlint/data/ExtendedSpecs/all/03_value_types.json +++ b/src/cfnlint/data/ExtendedSpecs/all/03_value_types.json @@ -292,7 +292,9 @@ } }, "LoadBalancerV2Arn": { - "GetAtt": {}, + "GetAtt": { + "AWS::ElasticLoadBalancingV2::LoadBalancer": "LoadBalancerArn" + }, "Ref": { "Parameters": [ "String"