aws / aws-lambda-dotnet

Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Apache License 2.0
1.58k stars 478 forks source link

deploy-serverless returns error: Failed to create CloudFormation change set: No updates are to be performed. #790

Closed darwin-cjessen closed 3 years ago

darwin-cjessen commented 3 years ago

Description

When attempting to deploy a ASPNET API project to the eu-central-1 region, I receive the error "Failed to create CloudFormation change set: No updates are to be performed."

Deploying the same project to the us-east-1 region works successfully.

Reproduction Steps

Template file for EU region:

{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Transform": "AWS::Serverless-2016-10-31",
    "Description": "An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda.",
    "Parameters": {
        "ShouldCreateBucket": {
            "Type": "String",
            "AllowedValues": [
                "true",
                "false"
            ],
            "Description": "If true then the S3 bucket that will be proxied will be created with the CloudFormation stack."
        },
        "BucketName": {
            "Type": "String",
            "Description": "Name of S3 bucket that will be proxied. If left blank a name will be generated.",
            "MinLength": "0"
        },
        "TenantName": {
            "Type": "String",
            "Description": "What customer environment are we referencing in the appsettings.config",
            "MinLength": "1"
        },
        "ConfigBucket": {
            "MinLength": "0",
            "Type": "String",
            "Description": "Name of S3 bucket that is used for storing the configuration file."
        },
        "DomainName": {
            "Type": "String",
            "Default": "pe-test.eu.api.darwin.aero"
        },
        "CertificateArn": {
            "Type": "String",
            "Default": "arn:aws:acm:eu-central-1:520587846687:certificate/c104ba21-e3bb-4c8d-9d15-3a1239ba759a"
        }
    },
    "Conditions": {
        "CreateS3Bucket": {
            "Fn::Equals": [
                {
                    "Ref": "ShouldCreateBucket"
                },
                "true"
            ]
        },
        "BucketNameGenerated": {
            "Fn::Equals": [
                {
                    "Ref": "BucketName"
                },
                ""
            ]
        }
    },
    "Resources": {
        "AspNetCoreFunction": {
            "Type": "AWS::Serverless::Function",
            "Properties": {
                "Handler": "Darwin.API::Darwin.API.LambdaEntryPoint::FunctionHandlerAsync",
                "Runtime": "dotnetcore3.1",
                "CodeUri": "s3://eu-client-config/Darwin.API/AspNetCoreFunction-CodeUri-Or-ImageUri-637441617131609389-637441617265218294.zip",
                "MemorySize": 256,
                "Timeout": 180,
                "Role": "arn:aws:iam::520587846687:role/LambdaRole",
                "Policies": [
                    "AWSLambdaFullAccess"
                ],
                "Environment": {
                    "Variables": {
                        "AppS3Bucket": {
                            "Fn::If": [
                                "CreateS3Bucket",
                                {
                                    "Ref": "Bucket"
                                },
                                {
                                    "Ref": "BucketName"
                                }
                            ]
                        },
                        "TENANT": {
                            "Ref": "TenantName"
                        },
                        "BUCKET": {
                            "Ref": "ConfigBucket"
                        },
                        "APIEnv": "True"
                    }
                },
                "Events": {
                    "PutResource": {
                        "Type": "Api",
                        "Properties": {
                            "Path": "/{proxy+}",
                            "Method": "ANY"
                        }
                    }
                }
            }
        },
        "Bucket": {
            "Type": "AWS::S3::Bucket",
            "Condition": "CreateS3Bucket",
            "Properties": {
                "BucketName": {
                    "Fn::If": [
                        "BucketNameGenerated",
                        {
                            "Ref": "AWS::NoValue"
                        },
                        {
                            "Ref": "BucketName"
                        }
                    ]
                }
            }
        },
        "CustomDomainName": {
            "Type": "AWS::ApiGateway::DomainName",
            "Properties": {
                "DomainName": {
                    "Ref": "DomainName"
                },
                "CertificateArn": {
                    "Ref": "CertificateArn"
                }
            }
        },
        "RestAPIBasePathMapping": {
            "Type": "AWS::ApiGateway::BasePathMapping",
            "Properties": {
                "RestApiId": {
                    "Fn::Sub": "${ServerlessRestApi}"
                },
                "DomainName": {
                    "Ref": "DomainName"
                },
                "Stage": "Prod"
            }
        }
    },
    "Outputs": {
        "ApiURL": {
            "Description": "API endpoint URL for Prod environment",
            "Value": {
                "Fn::Sub": "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/"
            }
        },
        "S3ProxyBucket": {
            "Value": {
                "Fn::If": [
                    "CreateS3Bucket",
                    {
                        "Ref": "Bucket"
                    },
                    {
                        "Ref": "BucketName"
                    }
                ]
            }
        }
    }
}

Template file for US region:
{
  "AWSTemplateFormatVersion" : "2010-09-09",
  "Transform" : "AWS::Serverless-2016-10-31",
  "Description" : "An AWS Serverless Application that uses the ASP.NET Core framework running in Amazon Lambda.",

  "Parameters" : {
    "ShouldCreateBucket" : {
      "Type" : "String",        
      "AllowedValues" : ["true", "false"],
      "Description" : "If true then the S3 bucket that will be proxied will be created with the CloudFormation stack."
    },  
    "BucketName" : {
        "Type" : "String",
        "Description" : "Name of S3 bucket that will be proxied. If left blank a name will be generated.",
        "MinLength" : "0"
    },
    "TenantName" : {
        "Type" : "String",
        "Description" : "What customer environment are we referencing in the appsettings.config",
        "MinLength" : "1"
    },
    "ConfigBucket": {
        "MinLength": "0",
        "Type": "String",
        "Description": "Name of S3 bucket that is used for storing the configuration file."
    },
    "DomainName": {
        "Type": "String",
        "Default": "dev.api.darwin.aero"
    },
    "CertificateArn": {
        "Type": "String",
        "Default": "arn:aws:acm:us-east-1:520587846687:certificate/b4b3fb44-73d1-492d-95fe-9835dc784f13"
    }
  },

  "Conditions" : {
    "CreateS3Bucket" : {"Fn::Equals" : [{"Ref" : "ShouldCreateBucket"}, "true"]},
    "BucketNameGenerated" : {"Fn::Equals" : [{"Ref" : "BucketName"}, ""]}
  },

  "Resources" : {

    "AspNetCoreFunction" : {
      "Type" : "AWS::Serverless::Function",
      "Properties": {
        "Handler": "Darwin.API::Darwin.API.LambdaEntryPoint::FunctionHandlerAsync",
        "VpcConfig": {
            "SecurityGroupIds": [
                "sg-6f39341a"
            ],
            "SubnetIds": [
                "subnet-04345b5c5f274e099",
                "subnet-064002e5aa1b18da2",
                "subnet-01fc3cec188f184f3"
            ]
        },
        "Runtime": "dotnetcore3.1",
        "CodeUri": "",
        "MemorySize": 256,
        "Timeout": 180,
        "Role": "arn:aws:iam::520587846687:role/LambdaRole",
        "Policies": [ "AWSLambdaFullAccess" ],
        "Environment" : {
          "Variables" : {
            "AppS3Bucket" : { "Fn::If" : ["CreateS3Bucket", {"Ref":"Bucket"}, { "Ref" : "BucketName" } ] },         
            "TENANT" : {  "Ref" : "TenantName" },
            "BUCKET": {
                "Ref": "ConfigBucket"
            },
            "APIEnv" : "True"
          }
        },
        "Events": {
          "PutResource": {
            "Type": "Api",
            "Properties": {
              "Path": "/{proxy+}",
              "Method": "ANY"
            }
          }
        }
      }
    },

    "Bucket" : {
        "Type" : "AWS::S3::Bucket",
        "Condition" : "CreateS3Bucket",
        "Properties" : {
            "BucketName" : { "Fn::If" : ["BucketNameGenerated", {"Ref" : "AWS::NoValue" }, { "Ref" : "BucketName" } ] }
        }
    },
    "CustomDomainName": {
        "Type": "AWS::ApiGateway::DomainName",
        "Properties": {
            "DomainName": {
                "Ref": "DomainName"
                }, 
            "CertificateArn": {
                "Ref": "CertificateArn"
                }
            }
        },
    "RestAPIBasePathMapping":{
        "Type" : "AWS::ApiGateway::BasePathMapping",
        "Properties" : {
            "RestApiId": {"Fn::Sub" : "${ServerlessRestApi}"},
            "DomainName" : {
                "Ref": "DomainName"
                },
                "Stage" : "Prod"
            }
        }
    },

  "Outputs" : {
    "ApiURL" : {
        "Description" : "API endpoint URL for Prod environment",
        "Value" : {"Fn::Sub" : "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/"}
    },
    "S3ProxyBucket" : {
        "Value" : { "Fn::If" : ["CreateS3Bucket", {"Ref":"Bucket"}, { "Ref" : "BucketName" } ] }
    }
  }
}

Logs

EU Log:

Processing CloudFormation resource AspNetCoreFunction
Uploading to S3. (Bucket: eu-client-config Key: Darwin.API/pe-test-pe.serverless-637449226218657189.template)
... Progress: 100%
Found existing stack: True
Template Parameters Applied:
        ShouldCreateBucket: true
        BucketName:
        CertificateArn: arn:aws:acm:us-east-1:520587846687:certificate/04e624e3-b24c-4fad-a7cf-0955d5d034a9
        ConfigBucket: eu-client-config
        DomainName: pe-test.api.darwin.aero
        TenantName: pe.aws
CloudFormation change set created
... Waiting for change set to be reviewed
Failed to create CloudFormation change set: No updates are to be performed.

US Log:

Processing CloudFormation resource AspNetCoreFunction
Initiate packaging of . for resource AspNetCoreFunction
Executing publish command
Deleted previous publish folder
... invoking 'dotnet publish', working folder 'C:\Users\source\repos\darwin\Darwin.API\.\bin\Release\netcoreapp3.1\publish'
... dotnet publish --output "C:\Users\source\repos\darwin\Darwin.API\.\bin\Release\netcoreapp3.1\publish" --configuration "Release" --framework "netcoreapp3.1" /p:GenerateRuntimeConfigurationFiles=true --runtime linux-x64 --self-contained false
... publish: Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET
... publish: Copyright (C) Microsoft Corporation. All rights reserved.
... publish:   Determining projects to restore...
*****
... zipping: Amazon.Lambda.APIGatewayEvents.dll
... zipping: Amazon.Lambda.ApplicationLoadBalancerEvents.dll
... zipping: Amazon.Lambda.AspNetCoreServer.dll
... zipping: Amazon.Lambda.Core.dll
... zipping: Amazon.Lambda.Logging.AspNetCore.dll
... zipping: Amazon.Lambda.Serialization.SystemTextJson.dll
... zipping: amqmdnetstd.dll
... zipping: appsettings.Development.json
... zipping: appsettings.json
... zipping: AuthorizeNet.NetStandard.dll
... zipping: AutoMapper.dll
... zipping: aws-lambda-tools-defaults.json
... zipping: AWSSDK.Athena.dll
... zipping: AWSSDK.CloudWatchLogs.dll
... zipping: AWSSDK.CognitoIdentityProvider.dll
... zipping: AWSSDK.Core.dll
... zipping: AWSSDK.DynamoDBv2.dll
... zipping: AWSSDK.ElasticBeanstalk.dll
... zipping: AWSSDK.Extensions.NETCore.Setup.dll
... zipping: AWSSDK.Lambda.dll
... zipping: AWSSDK.Pinpoint.dll
... zipping: AWSSDK.PinpointEmail.dll
... zipping: AWSSDK.S3.dll
... zipping: AWSSDK.SimpleNotificationService.dll
... zipping: AWSSDK.SQS.dll
... zipping: CreditCardValidator.dll
... zipping: CsvHelper.dll
... zipping: Darwin.AirlineChoice.dll
... zipping: Darwin.AirlineChoice.pdb
... zipping: Darwin.API
... zipping: Darwin.API.Adapter.Bravo.dll
... zipping: Darwin.API.Adapter.Bravo.pdb
... zipping: Darwin.API.Adapter.Darwin.dll
... zipping: Darwin.API.Adapter.Darwin.pdb
... zipping: Darwin.API.Adapter.dll
... zipping: Darwin.API.Adapter.pdb
... zipping: Darwin.API.deps.json
... zipping: Darwin.API.dll
... zipping: Darwin.API.Entities.dll
... zipping: Darwin.API.Entities.pdb
... zipping: Darwin.API.pdb
... zipping: Darwin.API.runtimeconfig.json
... zipping: Darwin.Auth0.dll
... zipping: Darwin.Auth0.pdb
... zipping: Darwin.AWS.Athena.dll
... zipping: Darwin.AWS.Athena.pdb
... zipping: Darwin.AWS.ElasticBeanstalk.dll
... zipping: Darwin.AWS.ElasticBeanstalk.pdb
... zipping: Darwin.Business.dll
... zipping: Darwin.Business.pdb
... zipping: Darwin.CreditCard.Adapter.dll
... zipping: Darwin.CreditCard.Adapter.pdb
... zipping: Darwin.CreditCard.AuthNet.dll
... zipping: Darwin.CreditCard.AuthNet.pdb
... zipping: Darwin.CreditCard.CyberSource.dll
... zipping: Darwin.CreditCard.CyberSource.pdb
... zipping: Darwin.Data.Access.dll
... zipping: Darwin.Data.Access.pdb
... zipping: Darwin.Data.Adapter.dll
... zipping: Darwin.Data.Adapter.pdb
... zipping: Darwin.Dynamo.dll
... zipping: Darwin.Dynamo.pdb
... zipping: Darwin.EDI.dll
... zipping: Darwin.EDI.pdb
... zipping: Darwin.Identity.Cognito.dll
... zipping: Darwin.Identity.Cognito.pdb
... zipping: Darwin.Lambda.Adapter.dll
... zipping: Darwin.Lambda.Adapter.pdb
... zipping: Darwin.Messaging.Adapter.dll
... zipping: Darwin.Messaging.Adapter.pdb
... zipping: Darwin.Queue.dll
... zipping: Darwin.Queue.pdb
... zipping: Darwin.S3.dll
... zipping: Darwin.S3.pdb
... zipping: Darwin.Service.dll
... zipping: Darwin.Service.pdb
... zipping: Darwin.Tools.dll
... zipping: Darwin.Tools.pdb
... zipping: dotnet-aspnet-codegenerator-design.dll
... zipping: Handlebars.dll
... zipping: libman.json
... zipping: Mandrill.dll
... zipping: Microsoft.AspNetCore.Authentication.JwtBearer.dll
... zipping: Microsoft.AspNetCore.Authentication.OpenIdConnect.dll
... zipping: Microsoft.AspNetCore.JsonPatch.dll
... zipping: Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
... zipping: Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer.dll
... zipping: Microsoft.AspNetCore.Mvc.Versioning.dll
... zipping: Microsoft.AspNetCore.Razor.Language.dll
... zipping: Microsoft.Bcl.AsyncInterfaces.dll
... zipping: Microsoft.Bcl.HashCode.dll
... zipping: Microsoft.CodeAnalysis.CSharp.dll
... zipping: Microsoft.CodeAnalysis.CSharp.Workspaces.dll
... zipping: Microsoft.CodeAnalysis.dll
... zipping: Microsoft.CodeAnalysis.Razor.dll
... zipping: Microsoft.CodeAnalysis.Workspaces.dll
... zipping: Microsoft.DotNet.InternalAbstractions.dll
... zipping: Microsoft.EntityFrameworkCore.Abstractions.dll
... zipping: Microsoft.EntityFrameworkCore.dll
... zipping: Microsoft.EntityFrameworkCore.Relational.dll
... zipping: Microsoft.Extensions.Caching.Abstractions.dll
... zipping: Microsoft.Extensions.Caching.Memory.dll
... zipping: Microsoft.Extensions.Configuration.Abstractions.dll
... zipping: Microsoft.Extensions.Configuration.Binder.dll
... zipping: Microsoft.Extensions.Configuration.dll
... zipping: Microsoft.Extensions.DependencyInjection.Abstractions.dll
... zipping: Microsoft.Extensions.DependencyInjection.dll
... zipping: Microsoft.Extensions.DependencyModel.dll
... zipping: Microsoft.Extensions.Logging.Abstractions.dll
... zipping: Microsoft.Extensions.Logging.dll
... zipping: Microsoft.Extensions.Options.dll
... zipping: Microsoft.Extensions.PlatformAbstractions.dll
... zipping: Microsoft.Extensions.Primitives.dll
... zipping: Microsoft.IdentityModel.JsonWebTokens.dll
... zipping: Microsoft.IdentityModel.Logging.dll
... zipping: Microsoft.IdentityModel.Protocols.dll
... zipping: Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
... zipping: Microsoft.IdentityModel.Tokens.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.Contracts.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.Core.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.Templating.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll
... zipping: Microsoft.VisualStudio.Web.CodeGenerators.Mvc.dll
... zipping: MySqlConnector.dll
... zipping: Namotion.Reflection.dll
... zipping: Newtonsoft.Json.Bson.dll
... zipping: Newtonsoft.Json.dll
... zipping: NJsonSchema.dll
... zipping: NSwag.Annotations.dll
... zipping: NSwag.AspNetCore.dll
... zipping: NSwag.Core.dll
... zipping: NSwag.Generation.AspNetCore.dll
... zipping: NSwag.Generation.dll
... zipping: NuGet.Frameworks.dll
... zipping: Pomelo.EntityFrameworkCore.MySql.dll
... zipping: Pomelo.JsonObject.dll
... zipping: SendGrid.dll
... zipping: StarkbankEcdsa.dll
... zipping: System.Collections.Immutable.dll
... zipping: System.ComponentModel.Annotations.dll
... zipping: System.Composition.AttributedModel.dll
... zipping: System.Composition.Convention.dll
... zipping: System.Composition.Hosting.dll
... zipping: System.Composition.Runtime.dll
... zipping: System.Composition.TypedParts.dll
... zipping: System.Diagnostics.DiagnosticSource.dll
... zipping: System.IdentityModel.Tokens.Jwt.dll
... zipping: TimeZoneConverter.dll
... zipping: web.config
... zipping: cs/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: cs/Microsoft.CodeAnalysis.resources.dll
... zipping: cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: de/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: de/Microsoft.CodeAnalysis.resources.dll
... zipping: de/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: es/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: es/Microsoft.CodeAnalysis.resources.dll
... zipping: es/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: fr/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: fr/Microsoft.CodeAnalysis.resources.dll
... zipping: fr/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: it/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: it/Microsoft.CodeAnalysis.resources.dll
... zipping: it/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: ja/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: ja/Microsoft.CodeAnalysis.resources.dll
... zipping: ja/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: ko/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: ko/Microsoft.CodeAnalysis.resources.dll
... zipping: ko/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: pl/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: pl/Microsoft.CodeAnalysis.resources.dll
... zipping: pl/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: pt-BR/Microsoft.CodeAnalysis.resources.dll
... zipping: pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: ru/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: ru/Microsoft.CodeAnalysis.resources.dll
... zipping: ru/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: tr/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: tr/Microsoft.CodeAnalysis.resources.dll
... zipping: tr/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: zh-Hans/Microsoft.CodeAnalysis.resources.dll
... zipping: zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll
... zipping: zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
... zipping: zh-Hant/Microsoft.CodeAnalysis.resources.dll
... zipping: zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll
... zipping: Model/Pnr/Receipt.cs
Created publish archive (C:\Users\AppData\Local\Temp\AspNetCoreFunction-CodeUri-637449173395330339.zip).
Lambda project successfully packaged: C:\Users\AppData\Local\Temp\AspNetCoreFunction-CodeUri-637449173395330339.zip
Uploading to S3. (Bucket: darwin.dev Key: Darwin.API/AspNetCoreFunction-CodeUri-637449173395330339-637449173874253551.zip)
... Progress: 10%
... Progress: 20%
... Progress: 30%
... Progress: 40%
... Progress: 50%
... Progress: 60%
... Progress: 70%
... Progress: 80%
... Progress: 90%
... Progress: 100%
Uploading to S3. (Bucket: darwin.dev Key: Darwin.API/darwin-dev-serverless-637449173958004669.template)
... Progress: 100%
Found existing stack: True
Template Parameters Applied:
        ShouldCreateBucket: true
        BucketName:
        TenantName: dev.aws
        ConfigBucket: darwin.dev
        DomainName: dev.api.darwin.aero
        CertificateArn: arn:aws:acm:us-east-1:520587846687:certificate/b4b3fb44-73d1-492d-95fe-9835dc784f13
CloudFormation change set created
... Waiting for change set to be reviewed
Initiated CloudFormation stack update on darwin-dev

Timestamp            Logical Resource Id                      Status
-------------------- ---------------------------------------- ----------------------------------------
12/30/2020 9:30 AM   darwin-dev                               UPDATE_IN_PROGRESS
12/30/2020 9:30 AM   AspNetCoreFunction                       UPDATE_IN_PROGRESS
12/30/2020 9:30 AM   AspNetCoreFunction                       UPDATE_COMPLETE
12/30/2020 9:30 AM   darwin-dev                               UPDATE_COMPLETE_CLEANUP_IN_PROGRESS
12/30/2020 9:30 AM   darwin-dev                               UPDATE_COMPLETE
Stack finished updating with status: UPDATE_COMPLETE

Environment

Resolution


This is a :bug: bug-report

ashishdhingra commented 3 years ago

Hi @darwin-cjessen,

Good morning.

Thanks for posting the issue. I will try to reproduce me at my end. If possible, please share your sample code solution (with sensitive information removed) so that issue if possible recreated using the same configuration or other settings.

Thanks, Ashish

darwin-cjessen commented 3 years ago

I believe the issue was related to pointing to different serverless-templates based on the region I was deploying to. I modified the serverless-template to use conditional statements to set the properties as needed based on the region. This fixed the issue with not being able to deploy to eu-central-1.

github-actions[bot] commented 3 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.