From 4a272991803b5c8762ba1cbbf0a97e3c696fc6b2 Mon Sep 17 00:00:00 2001 From: Vandita Patidar Date: Sun, 2 Aug 2026 12:06:23 -0700 Subject: [PATCH] correcting integ tests --- .../templates/combination/api_with_binary_media_types.yaml | 2 -- .../combination/api_with_endpoint_configuration.yaml | 2 -- .../combination/api_with_endpoint_configuration_dict.yaml | 2 -- .../templates/combination/api_with_method_settings.yaml | 2 -- .../templates/combination/api_with_resource_refs.yaml | 2 -- .../combination/function_with_alias_and_event_sources.yaml | 2 -- .../resources/templates/combination/function_with_api.yaml | 2 -- .../templates/combination/intrinsics_code_definition_uri.yaml | 2 -- .../templates/combination/intrinsics_serverless_api.yaml | 4 ---- .../single/api_with_custom_domain_security_policy_edge.yaml | 2 -- .../api_with_custom_domain_security_policy_regional.yaml | 2 -- .../templates/single/api_with_domain_ipaddresstype.yaml | 2 -- .../templates/single/api_with_endpoint_access_mode.yaml | 2 -- .../resources/templates/single/api_with_ipaddresstype.yaml | 2 -- integration/resources/templates/single/basic_api.yaml | 2 -- .../resources/templates/single/basic_api_with_tags.yaml | 2 -- 16 files changed, 34 deletions(-) diff --git a/integration/resources/templates/combination/api_with_binary_media_types.yaml b/integration/resources/templates/combination/api_with_binary_media_types.yaml index 793c0b13b9..9d9dc92790 100644 --- a/integration/resources/templates/combination/api_with_binary_media_types.yaml +++ b/integration/resources/templates/combination/api_with_binary_media_types.yaml @@ -17,8 +17,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} BinaryMediaTypes: diff --git a/integration/resources/templates/combination/api_with_endpoint_configuration.yaml b/integration/resources/templates/combination/api_with_endpoint_configuration.yaml index 765a8f27eb..5741b31c33 100644 --- a/integration/resources/templates/combination/api_with_endpoint_configuration.yaml +++ b/integration/resources/templates/combination/api_with_endpoint_configuration.yaml @@ -13,8 +13,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod EndpointConfiguration: {Ref: Config} DefinitionUri: ${definitionuri} diff --git a/integration/resources/templates/combination/api_with_endpoint_configuration_dict.yaml b/integration/resources/templates/combination/api_with_endpoint_configuration_dict.yaml index bda5cf8881..9628eb0e13 100644 --- a/integration/resources/templates/combination/api_with_endpoint_configuration_dict.yaml +++ b/integration/resources/templates/combination/api_with_endpoint_configuration_dict.yaml @@ -10,8 +10,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod EndpointConfiguration: Type: REGIONAL diff --git a/integration/resources/templates/combination/api_with_method_settings.yaml b/integration/resources/templates/combination/api_with_method_settings.yaml index 12d66499db..95d72c2a6b 100644 --- a/integration/resources/templates/combination/api_with_method_settings.yaml +++ b/integration/resources/templates/combination/api_with_method_settings.yaml @@ -6,8 +6,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} MethodSettings: [{LoggingLevel: INFO, MetricsEnabled: true, DataTraceEnabled: true, diff --git a/integration/resources/templates/combination/api_with_resource_refs.yaml b/integration/resources/templates/combination/api_with_resource_refs.yaml index 490f815c1d..1dc292af5f 100644 --- a/integration/resources/templates/combination/api_with_resource_refs.yaml +++ b/integration/resources/templates/combination/api_with_resource_refs.yaml @@ -8,8 +8,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} diff --git a/integration/resources/templates/combination/function_with_alias_and_event_sources.yaml b/integration/resources/templates/combination/function_with_alias_and_event_sources.yaml index 8e396430d2..ea68464396 100644 --- a/integration/resources/templates/combination/function_with_alias_and_event_sources.yaml +++ b/integration/resources/templates/combination/function_with_alias_and_event_sources.yaml @@ -86,8 +86,6 @@ Resources: ExistingRestApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Dev DefinitionUri: ${definitionuri} diff --git a/integration/resources/templates/combination/function_with_api.yaml b/integration/resources/templates/combination/function_with_api.yaml index 548667cfe4..2166721b65 100644 --- a/integration/resources/templates/combination/function_with_api.yaml +++ b/integration/resources/templates/combination/function_with_api.yaml @@ -8,8 +8,6 @@ Resources: ExistingRestApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Dev DefinitionUri: ${definitionuri} diff --git a/integration/resources/templates/combination/intrinsics_code_definition_uri.yaml b/integration/resources/templates/combination/intrinsics_code_definition_uri.yaml index fc7e8f61d5..2ce7242263 100644 --- a/integration/resources/templates/combination/intrinsics_code_definition_uri.yaml +++ b/integration/resources/templates/combination/intrinsics_code_definition_uri.yaml @@ -30,8 +30,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: FancyName DefinitionUri: Bucket: diff --git a/integration/resources/templates/combination/intrinsics_serverless_api.yaml b/integration/resources/templates/combination/intrinsics_serverless_api.yaml index 4d0caa4c9a..d7aa06c785 100644 --- a/integration/resources/templates/combination/intrinsics_serverless_api.yaml +++ b/integration/resources/templates/combination/intrinsics_serverless_api.yaml @@ -90,8 +90,6 @@ Resources: Type: AWS::Serverless::Api Condition: TrueCondition Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Ref: MyStageName DefinitionUri: @@ -109,8 +107,6 @@ Resources: Type: AWS::Serverless::Api Condition: FalseCondition Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Ref: MyStageName DefinitionUri: diff --git a/integration/resources/templates/single/api_with_custom_domain_security_policy_edge.yaml b/integration/resources/templates/single/api_with_custom_domain_security_policy_edge.yaml index 3fc1d902d7..b12ed721ff 100644 --- a/integration/resources/templates/single/api_with_custom_domain_security_policy_edge.yaml +++ b/integration/resources/templates/single/api_with_custom_domain_security_policy_edge.yaml @@ -10,8 +10,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} EndpointConfiguration: diff --git a/integration/resources/templates/single/api_with_custom_domain_security_policy_regional.yaml b/integration/resources/templates/single/api_with_custom_domain_security_policy_regional.yaml index a8c05704f9..4799cc90f5 100644 --- a/integration/resources/templates/single/api_with_custom_domain_security_policy_regional.yaml +++ b/integration/resources/templates/single/api_with_custom_domain_security_policy_regional.yaml @@ -10,8 +10,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} EndpointConfiguration: diff --git a/integration/resources/templates/single/api_with_domain_ipaddresstype.yaml b/integration/resources/templates/single/api_with_domain_ipaddresstype.yaml index 5a359c7234..8c2c5377ba 100644 --- a/integration/resources/templates/single/api_with_domain_ipaddresstype.yaml +++ b/integration/resources/templates/single/api_with_domain_ipaddresstype.yaml @@ -11,8 +11,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} Domain: diff --git a/integration/resources/templates/single/api_with_endpoint_access_mode.yaml b/integration/resources/templates/single/api_with_endpoint_access_mode.yaml index 64fa3b2550..40b1cb3279 100644 --- a/integration/resources/templates/single/api_with_endpoint_access_mode.yaml +++ b/integration/resources/templates/single/api_with_endpoint_access_mode.yaml @@ -10,8 +10,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} SecurityPolicy: !Ref SecurityPolicyValue diff --git a/integration/resources/templates/single/api_with_ipaddresstype.yaml b/integration/resources/templates/single/api_with_ipaddresstype.yaml index d7042f94cc..26f17d0ea0 100644 --- a/integration/resources/templates/single/api_with_ipaddresstype.yaml +++ b/integration/resources/templates/single/api_with_ipaddresstype.yaml @@ -7,8 +7,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: Prod DefinitionUri: ${definitionuri} EndpointConfiguration: diff --git a/integration/resources/templates/single/basic_api.yaml b/integration/resources/templates/single/basic_api.yaml index dc0ca32b1a..1d726f625a 100644 --- a/integration/resources/templates/single/basic_api.yaml +++ b/integration/resources/templates/single/basic_api.yaml @@ -6,8 +6,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: MyNewStageName DefinitionUri: ${definitionuri} Metadata: diff --git a/integration/resources/templates/single/basic_api_with_tags.yaml b/integration/resources/templates/single/basic_api_with_tags.yaml index fda952c2ef..4af4987f70 100644 --- a/integration/resources/templates/single/basic_api_with_tags.yaml +++ b/integration/resources/templates/single/basic_api_with_tags.yaml @@ -6,8 +6,6 @@ Resources: MyApi: Type: AWS::Serverless::Api Properties: - Auth: - DefaultAuthorizer: AWS_IAM StageName: my-new-stage-name DefinitionUri: ${definitionuri} Tags: